public MultipleValueActivator(ITypeResolutionPolicy innerResolver, Type typeToResolve) { this.innerResolver = innerResolver; this.typeToResolve = typeToResolve; typedListCreator = ActivationCompiler.Compile(typeof(List <>).MakeGenericType(typeToResolve), Array.Empty <Type>()); }
public void AddTypeResolutionPolicyBefore <T>(ITypeResolutionPolicy policy) => TypeResolver.AddResolutionPolicyBefore <T>(policy);
public void AddTypeResolutionPolicyAfter <T>(ITypeResolutionPolicy policy) => TypeResolver.AddResolutionPolicyAfter <T>(policy);
public EnumerateMultipleBindingsPolicy(ITypeResolutionPolicy innerPolicy) { this.innerPolicy = innerPolicy; }
public MemorizeResult(CachedResolutionPolicy cache, ITypeResolutionPolicy innerPolicy) { this.cache = cache; InnerPolicy = innerPolicy; }
public void SetBackupCache(ITypeResolutionPolicy policy) => backupCache = policy;