Метод | Описание | |
---|---|---|
DefaultTypedFactoryComponentSelector ( bool getMethodsResolveByName = true, bool fallbackToResolveByTypeIfNameNotFound = false ) : System | ||
SelectComponent ( |
Метод | Описание | |
---|---|---|
BuildFactoryComponent ( |
Builds TypedFactoryComponentResolver for given call. By default if componentType is a collection returns factory calling IKernel.ResolveAll(System.Type) on collection's item type, otherwise standard TypedFactoryComponentResolver.
|
|
DefaultTypedFactoryComponentSelector ( ) : System | ||
GetArguments ( |
Selects arguments to be passed to resolution pipeline. By default passes all given arguments keyed by names of their corresponding method parameters.
|
|
GetComponentName ( |
Selects name of the component to resolve. If method Name is GetFoo returns "Foo", otherwise
|
|
GetComponentType ( |
Selects type of the component to resolve. Uses method return type.
|
protected BuildFactoryComponent ( |
||
method | ||
componentName | string | |
componentType | ||
additionalArguments | IDictionary | |
Результат | Func |
protected DefaultTypedFactoryComponentSelector ( ) : System | ||
Результат | System |
public DefaultTypedFactoryComponentSelector ( bool getMethodsResolveByName = true, bool fallbackToResolveByTypeIfNameNotFound = false ) : System | ||
getMethodsResolveByName | bool | If set to |
fallbackToResolveByTypeIfNameNotFound | bool | If set to |
Результат | System |
protected GetArguments ( |
||
method | ||
arguments | object | |
Результат | IDictionary |
protected GetComponentName ( |
||
method | ||
arguments | object | |
Результат | string |
protected GetComponentType ( |
||
method | ||
arguments | object | |
Результат |
public SelectComponent ( |
||
method | ||
type | ||
arguments | object | |
Результат | Func |