<PackageReference Include="castle.windsor" Version="2.5.2" />

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 key, 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 Insert<TKeyType>(this IDictionary arguments, TKeyType value)

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

public static IDictionary Insert(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 Insert(this IDictionary arguments, object[] typedArgumentsArray)

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