CacheEntry
class CacheEntry
using Stashbox.Utils.Data.Immutable;
using System;
using System.Runtime.CompilerServices;
namespace Stashbox.Resolution
{
internal class CacheEntry
{
[System.Runtime.CompilerServices.Nullable(new byte[] {
2,
1,
1,
1
})]
public readonly Func<IResolutionScope, IRequestContext, object> ServiceFactory;
[System.Runtime.CompilerServices.Nullable(new byte[] {
2,
1,
1,
1,
1,
1
})]
public readonly ImmutableTree<object, Func<IResolutionScope, IRequestContext, object>> NamedFactories;
public CacheEntry([System.Runtime.CompilerServices.Nullable(new byte[] {
2,
1,
1,
1
})] Func<IResolutionScope, IRequestContext, object> serviceFactory, [System.Runtime.CompilerServices.Nullable(new byte[] {
2,
1,
1,
1,
1,
1
})] ImmutableTree<object, Func<IResolutionScope, IRequestContext, object>> namedFactories)
{
ServiceFactory = serviceFactory;
NamedFactories = namedFactories;
}
}
}