Property | Type | Description | |
---|---|---|---|
MissingArgHandler | object>.Func |
Property | Type | Description | |
---|---|---|---|
_context | List | ||
_dependencyList | List | ||
_log | log4net.ILog | ||
_purgeList | List |
||
_registry |
Method | Description | |
---|---|---|
Context ( |
||
Context ( |
||
FindPathToType ( |
Determines the sequence of command invocations, property accesses, and constructor calls that are required to instantiate an object of the requested type, given the current state of the context.
|
|
GetSettings ( |
Returns the SettingAttributes for the specified type.
|
|
HasObject ( |
Returns true if the Context currently contains an instance of the requested type.
|
|
Invoke ( string command, object>.Dictionary |
Invoke an instance of the named command, using the supplied arguments dictionary to obtain parameter values. If necessary, this will execute Factory constructors, properties, and commands to obtain the necessary source object on which to invoke the command.
|
|
Remove ( |
Removes the first object that is an instance of type.
|
|
Set ( object value ) : void |
Sets an object in the context. Only a single object of a given type is permitted, so any existing object of this type is replaced.
|
|
Set ( object value, object dependency ) : void |
Sets an object in the context. Only a single object of a given type is permitted, so any existing object of this type is replaced.
|
|
Verify ( ) : void |
Verifies that all commands can be invoked successfully.
|
|
this ( |
Method | Description | |
---|---|---|
RemoveDependencies ( object val ) : void |
Method | Description | |
---|---|---|
ConvertSetting ( object val, ISetting setting ) : object | ||
Instantiate ( Factory step, object>.Dictionary |
||
InvokeCommand ( |
||
InvokeConstructor ( |
||
LogSettingNameValue ( StringBuilder sb, string name, ISetting setting, object val ) : void | ||
LogSettingValue ( StringBuilder sb, ISetting setting, object val ) : void | ||
PrepareCommandArguments ( |
||
PrepareSettingsCollectionArg ( |
||
PurgeSingleUseObjects ( ) : void |
public Context ( |
||
registry | ||
return | System |
public Context ( |
||
registry | ||
missingArgHandler | object>.Func | |
return | System |
public FindPathToType ( |
||
t | ||
cmd | ||
return | Stack |
public Invoke ( string command, object>.Dictionary |
||
command | string | |
args | object>.Dictionary | |
return | object |
protected RemoveDependencies ( object val ) : void | ||
val | object | |
return | void |
public Set ( object value, object dependency ) : void | ||
value | object | |
dependency | object | |
return | void |