Property | Type | Description | |
---|---|---|---|
_alternates | List |
||
_log | log4net.ILog |
Method | Description | |
---|---|---|
Add ( |
Registers the specified Command instance.
|
|
Add ( Factory factory ) : void |
Registers the specified Factory instance as an alternate mechanism for obtaining objects of the Factory return type. An alternate means will be tried when no other non-alternate path to create an object can be found from the current context state.
|
|
Commands ( ) : IEnumerable |
Returns each Command that is currently registered.
|
|
Contains ( |
Checks to see if a Factory for the specified type is available.
|
|
Contains ( string cmdName ) : bool |
Checks to see if a command with the given name is available.
|
|
GetAlternates ( |
Returns an IEnumerable of the alternate Factory objects registered for the specified type.
|
|
GetFactory ( |
Returns the Factory instance for objects of the specified Type.
|
|
GetSettings ( |
Returns a list of the settings an ISettingsCollection instance holds.
|
|
RegisterClass ( |
Registers commands and factories from the supplied class. Commands must be tagged with the attribute Command to be locatable.
|
|
RegisterNamespace ( |
Registers commands from the supplied assembly. Commands methods must be tagged with the attribute Command to be locatable.
|
|
RegisterNamespace ( string ns ) : void |
Registers commands (i.e. methods tagged with the Command attribute) in the current assembly.
|
|
Registry ( ) : System | ||
this ( string cmdName ) : |
public GetAlternates ( |
||
type | ||
return | IEnumerable |
public GetFactory ( |
||
type | ||
return | Factory |
public RegisterNamespace ( |
||
asm | ||
ns | string | |
return | void |
public RegisterNamespace ( string ns ) : void | ||
ns | string | |
return | void |