Stashbox by Peter Csajtai

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

 RequestContext

public static readonly RequestContext Empty

public static RequestContext Begin()

public static RequestContext FromOverrides(object[] overrides)

public TInstance ExcludeFromTracking<TInstance>(TInstance value)

public object GetDependencyOverrideOrDefault(Type dependencyType)

public TResult GetDependencyOverrideOrDefault<TResult>()

public object GetOrAddInstance(int key, Func<IResolutionScope, IRequestContext, object> factory, IResolutionScope scope)

public object[] GetOverrides()

public bool IsInstanceExcludedFromTracking(object instance)