Stashbox by Peter Csajtai

<PackageReference Include="Stashbox" Version="5.12.1" />

 NamedCacheEntry

public struct NamedCacheEntry
Details about a named delegate cache entry.
using System; using System.Runtime.CompilerServices; namespace Stashbox.Resolution { [System.Runtime.CompilerServices.NullableContext(1)] [System.Runtime.CompilerServices.Nullable(0)] public readonly struct NamedCacheEntry { public readonly object Name; public readonly Func<IResolutionScope, IRequestContext, object> CachedDelegate; public NamedCacheEntry(object name, Func<IResolutionScope, IRequestContext, object> cachedDelegate) { this = default(NamedCacheEntry); Name = name; CachedDelegate = cachedDelegate; } } }