Stashbox by Peter Csajtai

<PackageReference Include="Stashbox" Version="3.1.0-preview-525" />

 IResolver

public interface IResolver
Represents a dependency resolver.
bool CanUseForResolution(IContainerContext containerContext, TypeInformation typeInfo, ResolutionContext resolutionContext)

Returns true, if the resolver can be used to activate the requested service, otherwise false.

Expression GetExpression(IContainerContext containerContext, IResolutionStrategy resolutionStrategy, TypeInformation typeInfo, ResolutionContext resolutionContext)

Produces an expression for creating an instance.