Default bootstrapper if one isn't found
More...
Default bootstrapper if one isn't found
Definition at line 38 of file DefaultBootstrapper.cs.
Utilities.IoC.Default.DefaultBootstrapper.DefaultBootstrapper |
( |
IEnumerable< Assembly > |
assemblies, |
|
|
IEnumerable< Type > |
types |
|
) |
| |
override void Utilities.IoC.Default.DefaultBootstrapper.Dispose |
( |
bool |
Managed | ) |
|
|
protected |
override void Utilities.IoC.Default.DefaultBootstrapper.Register< T > |
( |
T |
Object, |
|
|
string |
Name = "" |
|
) |
| |
Registers an object
- Template Parameters
-
- Parameters
-
Object | Object to return |
Name | Name to associate with it |
Definition at line 96 of file DefaultBootstrapper.cs.
override void Utilities.IoC.Default.DefaultBootstrapper.Register< T > |
( |
string |
Name = "" | ) |
|
Registers an object
- Template Parameters
-
- Parameters
-
Name | Name to associate with it |
Definition at line 106 of file DefaultBootstrapper.cs.
override void Utilities.IoC.Default.DefaultBootstrapper.Register< T > |
( |
Func< T > |
Function, |
|
|
string |
Name = "" |
|
) |
| |
Registers a function with a type
- Template Parameters
-
- Parameters
-
Function | Function used to create the type |
Name | Name to associate with the function |
Definition at line 137 of file DefaultBootstrapper.cs.
override void Utilities.IoC.Default.DefaultBootstrapper.Register< T1, T2 > |
( |
string |
Name = "" | ) |
|
Registers two types together
- Template Parameters
-
T1 | Interface/base class |
T2 | Implementation |
- Parameters
-
Name | Name to associate with it |
Definition at line 117 of file DefaultBootstrapper.cs.
override void Utilities.IoC.Default.DefaultBootstrapper.RegisterAll< T > |
( |
| ) |
|
Registers all objects of a certain type with the bootstrapper
- Template Parameters
-
Definition at line 149 of file DefaultBootstrapper.cs.
override object Utilities.IoC.Default.DefaultBootstrapper.Resolve |
( |
Type |
ObjectType, |
|
|
object |
DefaultObject = null |
|
) |
| |
Resolves an object based on the type specified
- Parameters
-
ObjectType | Object type |
DefaultObject | Default value if type is not registered or error occurs |
- Returns
- Object of the type specified
Definition at line 192 of file DefaultBootstrapper.cs.
override object Utilities.IoC.Default.DefaultBootstrapper.Resolve |
( |
Type |
ObjectType, |
|
|
string |
Name, |
|
|
object |
DefaultObject = null |
|
) |
| |
Resolves an object based on the type specified
- Parameters
-
Name | Name of the object to return |
ObjectType | Object type |
DefaultObject | Default value if type is not registered or error occurs |
- Returns
- Object of the type specified
Definition at line 204 of file DefaultBootstrapper.cs.
Resolves an object based on the type specified
- Template Parameters
-
T | Type of object to return |
- Parameters
-
DefaultObject | Default value if type is not registered or error occurs |
- Returns
- Object of the type specified
Definition at line 169 of file DefaultBootstrapper.cs.
Resolves an object based on the type specified
- Template Parameters
-
T | Type of object to return |
- Parameters
-
DefaultObject | Default value if type is not registered or error occurs |
Name | Name of the object to return |
- Returns
- Object of the type specified
Definition at line 181 of file DefaultBootstrapper.cs.
override IEnumerable<object> Utilities.IoC.Default.DefaultBootstrapper.ResolveAll |
( |
Type |
ObjectType | ) |
|
Resolves all objects of the type specified
- Parameters
-
ObjectType | Object type to return |
- Returns
- An IEnumerable containing all objects of the type specified
Definition at line 230 of file DefaultBootstrapper.cs.
Resolves all objects of the type specified
- Template Parameters
-
T | Type of objects to return |
- Returns
- An IEnumerable containing all objects of the type specified
Definition at line 220 of file DefaultBootstrapper.cs.
override string Utilities.IoC.Default.DefaultBootstrapper.ToString |
( |
| ) |
|
Converts the bootstrapper to a string
- Returns
- String version of the bootstrapper
Definition at line 244 of file DefaultBootstrapper.cs.
override IDictionary<Tuple<Type, string>, ITypeBuilder> Utilities.IoC.Default.DefaultBootstrapper.AppContainer |
|
getprotected |
override string Utilities.IoC.Default.DefaultBootstrapper.Name |
|
get |
The documentation for this class was generated from the following file: