Public Member Functions | |
Registration (LifetimeManager lifetimeManager, IUnityContainer container) | |
Creates a new Registration<TFrom,TTo> with the specified lifetime manager and container. More... | |
Registration (string name, LifetimeManager lifetimeManager, IUnityContainer container) | |
Creates a new Registration<TFrom,TTo> with the specified name, lifetime manager, and container. More... | |
void | Register (params InjectionMember[] addititionalInjectionMembers) |
Performs the actual registration. More... | |
Registration< TFrom, TTo > | Constructor () |
Specifies a new constructor injection. More... | |
Registration< TFrom, TTo > | Method (string name) |
Specifies a new method injection. More... | |
Registration< TFrom, TTo > | Property (string name) |
Specifies a new property injection. More... | |
Registration< TFrom, TTo > | Instance (object value) |
Specifies an instance as value for the previous injection. More... | |
Registration< TFrom, TTo > | Value (object value) |
Specifies a value for the previous injection. More... | |
Registration< TFrom, TTo > | Reference< T > (string referenceName=null) |
Specifies a reference for the previous injection. More... | |
Registration< TFrom, TTo > | References< T > (params Type[] types) |
Specifies a list of types to resolve and inject as an array. More... | |
Registration< TFrom, TTo > | References< T > (params string[] names) |
Specifies a list of names to resolve and inject as an array. More... | |
Registration< TFrom, TTo > | References< T > (params Reference[] references) |
Specifies a list of types and names to resolve and inject as an array. More... | |
Registration< TFrom, TTo > | LateBinding< T > (string lateBinding) |
Specifies a late binding expression to be resolved at injection. More... | |
Registration< TFrom, TTo > | Resource (string path) |
Specifies a single resource for the previous injection. More... | |
Registration< TFrom, TTo > | Resources (string path) |
Specifies a list of resources for the previous injection. More... | |
Detailed Description
- Template Parameters
-
TFrom TTo
Constructor & Destructor Documentation
Summer.Batch.Core.Unity.Registration< TFrom, TTo >.Registration | ( | LifetimeManager | lifetimeManager, |
IUnityContainer | container | ||
) |
Creates a new Registration<TFrom,TTo> with the specified lifetime manager and container.
- Parameters
-
lifetimeManager the lifetime manager of the registration container the container where to register
Summer.Batch.Core.Unity.Registration< TFrom, TTo >.Registration | ( | string | name, |
LifetimeManager | lifetimeManager, | ||
IUnityContainer | container | ||
) |
Creates a new Registration<TFrom,TTo> with the specified name, lifetime manager, and container.
- Parameters
-
name the name of the registration lifetimeManager the lifetime manager of the registration container the container where to register
Member Function Documentation
Registration<TFrom, TTo> Summer.Batch.Core.Unity.Registration< TFrom, TTo >.Constructor | ( | ) |
Specifies a new constructor injection.
- Returns
- the current instance
Registration<TFrom, TTo> Summer.Batch.Core.Unity.Registration< TFrom, TTo >.Instance | ( | object | value | ) |
Specifies an instance as value for the previous injection.
- Parameters
-
value the instance to inject
- Returns
- the current instance
Registration<TFrom, TTo> Summer.Batch.Core.Unity.Registration< TFrom, TTo >.LateBinding< T > | ( | string | lateBinding | ) |
Specifies a late binding expression to be resolved at injection.
- Template Parameters
-
T the type returned by the late binding expression
- Parameters
-
lateBinding the late binding expression
- Returns
- the current instance
Registration<TFrom, TTo> Summer.Batch.Core.Unity.Registration< TFrom, TTo >.Method | ( | string | name | ) |
Specifies a new method injection.
- Parameters
-
name the name of the injected method
- Returns
- the current instance
Registration<TFrom, TTo> Summer.Batch.Core.Unity.Registration< TFrom, TTo >.Property | ( | string | name | ) |
Specifies a new property injection.
- Parameters
-
name the name of the property
- Returns
- the current instance
Registration<TFrom, TTo> Summer.Batch.Core.Unity.Registration< TFrom, TTo >.Reference< T > | ( | string | referenceName = null | ) |
Specifies a reference for the previous injection.
- Template Parameters
-
T the requested type for the reference
- Parameters
-
referenceName the name of the reference
- Returns
- the current instance
Registration<TFrom, TTo> Summer.Batch.Core.Unity.Registration< TFrom, TTo >.References< T > | ( | params Type[] | types | ) |
Specifies a list of types to resolve and inject as an array.
- Template Parameters
-
T the type of the array to inject
- Parameters
-
types the types to resolve to create the array
- Returns
- the current instance
Registration<TFrom, TTo> Summer.Batch.Core.Unity.Registration< TFrom, TTo >.References< T > | ( | params string[] | names | ) |
Specifies a list of names to resolve and inject as an array.
- Template Parameters
-
T the type of the array to inject
- Parameters
-
names the names to resolve to create the array
- Returns
- the current instance
Registration<TFrom, TTo> Summer.Batch.Core.Unity.Registration< TFrom, TTo >.References< T > | ( | params Reference[] | references | ) |
Specifies a list of types and names to resolve and inject as an array.
- Template Parameters
-
T the type of the array to inject
- Parameters
-
references the types and their corresponding name to resolve to create the array
- Returns
- the current instance
void Summer.Batch.Core.Unity.Registration< TFrom, TTo >.Register | ( | params InjectionMember[] | addititionalInjectionMembers | ) |
Performs the actual registration.
- Parameters
-
addititionalInjectionMembers additional injection members that will be added to those previously specified
Registration<TFrom, TTo> Summer.Batch.Core.Unity.Registration< TFrom, TTo >.Resource | ( | string | path | ) |
Specifies a single resource for the previous injection.
- Parameters
-
path the path of the resource (can use the LateBindingConfigurationParser syntax)
- Returns
- the current instance
Registration<TFrom, TTo> Summer.Batch.Core.Unity.Registration< TFrom, TTo >.Resources | ( | string | path | ) |
Specifies a list of resources for the previous injection.
- Parameters
-
path the paths of the resources (can use the LateBindingConfigurationParser syntax)
- Returns
- the current instance
Registration<TFrom, TTo> Summer.Batch.Core.Unity.Registration< TFrom, TTo >.Value | ( | object | value | ) |
Specifies a value for the previous injection.
- Parameters
-
value the instance to inject
- Returns
- the current instance
The documentation for this class was generated from the following file:
- Summer.Batch.Core/Core/Unity/Registration.cs