Свойство | Тип | Описание | |
---|---|---|---|
MissingArgHandler | object>.Func |
Свойство | Тип | Описание | |
---|---|---|---|
_context | List | ||
_dependencyList | List | ||
_log | log4net.ILog | ||
_purgeList | List |
||
_registry |
Метод | Описание | |
---|---|---|
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 ( |
Метод | Описание | |
---|---|---|
RemoveDependencies ( object val ) : void |
Метод | Описание | |
---|---|---|
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 | ||
Результат | System |
public Context ( |
||
registry | ||
missingArgHandler | object>.Func | |
Результат | System |
public FindPathToType ( |
||
t | ||
cmd | ||
Результат | Stack |
public GetSettings ( |
||
type | ||
Результат | List |
public Invoke ( string command, object>.Dictionary |
||
command | string | |
args | object>.Dictionary | |
Результат | object |
protected RemoveDependencies ( object val ) : void | ||
val | object | |
Результат | void |
public Set ( object value, object dependency ) : void | ||
value | object | |
dependency | object | |
Результат | void |
protected Dictionary |
||
Результат | List |