Factory Methods |
The Factory type exposes the following members.
| Name | Description | |
|---|---|---|
| <>__Create(String, Type) | ||
| <>__Create(Type, Type) | ||
| <>__Create(String, Object, Type) | ||
| <>__Create(Type, Object, Type) | ||
| <>__CreateT(Type) | ||
| <>__CreateT(Object, Type) | ||
| AddType(String, FactoryCreationPolicy, Type, FuncObject, Object) |
Adds a new Type to list of custom types.
| |
| AddType(Type, FactoryCreationPolicy, Type, FuncObject, Object) |
Adds a new Type to list of custom types.
| |
| AddTypes |
Adds a collection of IFactoryTypeInfo to the list fo custom types.
| |
| CreateFirst(String) |
Creates an instance of the specified type depending on the ComponentAttribute.
If multiple implementations are available, the Factory will prefer the implementation with the highest priority.
| |
| CreateFirst(Type) |
Creates an instance of the specified type depending on the ComponentAttribute.
If multiple implementations are available, the Factory will prefer the implementation with the highest priority.
| |
| CreateFirst(String, Object) |
Creates an instance of the specified type depending on the ComponentAttribute.
If multiple implementations are available, the Factory will prefer the implementation with the highest priority.
| |
| CreateFirst(Type, Object) |
Creates an instance of the specified type depending on the ComponentAttribute.
If multiple implementations are available, the Factory will prefer the implementation with the highest priority.
| |
| CreateFirstT |
Creates an instance of the specified type depending on the ComponentAttribute.
If multiple implementations are available, the Factory will prefer the implementation with the highest priority.
| |
| CreateFirstT(Object) |
Creates an instance of the specified type depending on the ComponentAttribute.
If multiple implementations are available, the Factory will prefer the implementation with the highest priority.
| |
| CreateMany(String) |
Creates instances of the specified type depending on the ComponentAttribute | |
| CreateMany(Type) |
Creates instances of the specified type depending on the ComponentAttribute | |
| CreateMany(String, Object) |
Creates instances of the specified type depending on the ComponentAttribute | |
| CreateMany(Type, Object) |
Creates instances of the specified type depending on the ComponentAttribute | |
| CreateManyT |
Creates instances of the specified type depending on the ComponentAttribute | |
| CreateManyT(Object) |
Creates instances of the specified type depending on the ComponentAttribute | |
| CreateManyOrdered(String) |
Creates instances of the specified type depending on the ComponentAttribute.
The returned values are ordered by the defined priority.
| |
| CreateManyOrdered(Type) |
Creates instances of the specified type depending on the ComponentAttribute
The returned values are ordered by the defined priority.
| |
| CreateManyOrdered(String, Object) |
Creates instances of the specified type depending on the ComponentAttribute.
The returned values are ordered by the defined priority.
| |
| CreateManyOrdered(Type, Object) |
Creates instances of the specified type depending on the ComponentAttribute
The returned values are ordered by the defined priority.
| |
| CreateManyOrderedT |
Creates instances of the specified type depending on the ComponentAttribute
The returned values are ordered by the defined priority.
| |
| CreateManyOrderedT(Object) |
Creates instances of the specified type depending on the ComponentAttribute
The returned values are ordered by the defined priority.
| |
| Destroy |
Performs application-defined tasks associated with freeing, releasing, or resetting
unmanaged resources.
Not threadsafe.
| |
| Destroy(String) |
Performs application-defined tasks associated with freeing, releasing, or resetting
unmanaged resources.
Not threadsafe.
| |
| Destroy(Type) |
Performs application-defined tasks associated with freeing, releasing, or resetting
unmanaged resources.
Not threadsafe.
| |
| DestroyT |
Performs application-defined tasks associated with freeing, releasing, or resetting
unmanaged resources.
Not threadsafe.
| |
| HasContract(String) |
Determines whether a contract exist
| |
| HasContract(Type) |
Determines whether a contract exist
| |
| HasContractT |
Determines whether a contract exist
| |
| RemoveType(String, Type) |
Removes a Type from the list of manually added types.
Not threadsafe.
| |
| RemoveType(Type, Type) |
Removes a Type from the list of manually added types.
Not threadsafe.
|