/// <summary> /// Creates Remute instance. /// Configuring which constructor to use (if there are multiple) and how to map property to parameter names (if names do not match). /// </summary> /// <param name="activationConfiguration">Immutable object creation configurations.</param> public Remute(ActivationConfiguration activationConfiguration) { ActivationConfiguration = activationConfiguration ?? throw new ArgumentNullException(nameof(activationConfiguration)); ActivationContextCache = new ConcurrentDictionary <ActivationContextCacheKey, ActivationContext>(); ResolveInstanceExpressionCache = new ConcurrentDictionary <InstanceExpressionCacheKey, Delegate>(); }
public Remute(ActivationConfiguration activationConfiguration) { ActivationConfiguration = activationConfiguration; ActivationContextCache = new Dictionary <Type, ActivationContext>(); }