<PackageReference Include="Castle.Windsor" Version="3.1.0" />

ComponentDependencyRegistrationExtensions

public static IDictionary Insert(this IDictionary arguments, string key, object value)

Inserts a new named argument with given key. If an argument for this name already exists, it will be overwritten.

public static IDictionary Insert(this IDictionary arguments, Type dependencyType, object value)

Inserts a new typed argument with given type. If an argument for this type already exists, it will be overwritten.

public static IDictionary InsertAnonymous(this IDictionary arguments, object namedArgumentsAsAnonymousType)

Inserts a set of typed arguments. Property names of the anonymous type will be used as key.

public static IDictionary InsertTyped<TDependencyType>(this IDictionary arguments, TDependencyType value)

Inserts a new typed argument with given type. If an argument for this type already exists, it will be overwritten.

public static IDictionary InsertTypedCollection(this IDictionary arguments, object[] typedArgumentsArray)

Inserts a set of typed arguments. Actual type of the arguments will be used as key.