[This is preliminary documentation and is subject to change.]
The FactoryUtils type exposes the following members.Methods
Name | Description | |
---|---|---|
![]() ![]() | Make T |
Creates an instance of appropriate configurable object as specified in supplied config node.
This function does not configure the instance
|
![]() ![]() | MakeAndConfigure(IConfigSectionNode, Type, Object ) |
Creates and configures an instance of appropriate configurable object as specified in supplied config node.
Applies configured behaviours
|
![]() ![]() | MakeAndConfigure T (IConfigSectionNode, Type, Object ) |
Creates and configures an instance of appropriate configurable object as specified in supplied config node.
Applies configured behaviours
|
![]() ![]() | MakeUsingCtor T |
Invokes a constructor for type feeding it the specified args:
node{type="NS.Type, Assembly" arg0=1 arg1=true....}
If the typePattern is passed, then the '*' in pattern is replaced with 'type' attr content.
This is needed for security, as this method allows to inject any type with any ctor params when typePattern is null
|
Fields
Name | Description | |
---|---|---|
![]() ![]() | CONFIG_TYPE_ATTR |
See Also