Method | Description | |
---|---|---|
FactoryInterceptor ( IUnityContainer container, |
Initializes a new instance of the FactoryInterceptor class.
|
Method | Description | |
---|---|---|
GetResolverOverridesFor ( IInvocation invocation ) : IEnumerable |
Builds a list consisting of one ParameterOverride instance for each argument of the method in invocation.
|
|
ResolveArray ( IInvocation invocation ) : void |
Resolve an array of objects based on the context described in invocation.
|
|
ResolveObject ( IInvocation invocation ) : void |
Resolve an object based on the context described in invocation.
|
Method | Description | |
---|---|---|
IInterceptor ( IInvocation invocation ) : void |
public FactoryInterceptor ( IUnityContainer container, |
||
container | IUnityContainer | /// The Unity container. /// |
concreteType | /// The concrete class which will be constructed by the factory. /// | |
name | string | Name that will be used to request the type. |
return | System |
protected static GetResolverOverridesFor ( IInvocation invocation ) : IEnumerable |
||
invocation | IInvocation | /// The invocation details. /// |
return | IEnumerable |
protected ResolveArray ( IInvocation invocation ) : void | ||
invocation | IInvocation | The invocation context. |
return | void |
protected ResolveObject ( IInvocation invocation ) : void | ||
invocation | IInvocation | The invocation context. |
return | void |