Stashbox by Peter Csajtai

<PackageReference Include="Stashbox" Version="5.12.0-preview-821" />

 DelegateCacheEntry

public struct DelegateCacheEntry
Details about Stashbox's internal delegate cache state.
using System; using System.Collections.Generic; using System.Runtime.CompilerServices; namespace Stashbox.Resolution { [System.Runtime.CompilerServices.NullableContext(1)] [System.Runtime.CompilerServices.Nullable(0)] public readonly struct DelegateCacheEntry { public readonly Type ServiceType; public readonly ResolutionBehavior ResolutionBehavior; [System.Runtime.CompilerServices.Nullable(new byte[] { 2, 1, 1, 1 })] public readonly Func<IResolutionScope, IRequestContext, object> CachedDelegate; [System.Runtime.CompilerServices.Nullable(2)] public readonly IEnumerable<NamedCacheEntry> NamedCacheEntries; public DelegateCacheEntry(Type serviceType, [System.Runtime.CompilerServices.Nullable(new byte[] { 2, 1, 1, 1 })] Func<IResolutionScope, IRequestContext, object> cachedDelegate, [System.Runtime.CompilerServices.Nullable(2)] IEnumerable<NamedCacheEntry> namedCacheEntries, ResolutionBehavior resolutionBehavior) { this = default(DelegateCacheEntry); ServiceType = serviceType; CachedDelegate = cachedDelegate; NamedCacheEntries = namedCacheEntries; ResolutionBehavior = resolutionBehavior; } } }