FactoryUtils MembersNFX Class Library

[This is preliminary documentation and is subject to change.]

The FactoryUtils type exposes the following members.
Methods

  NameDescription
Public methodStatic memberMake T 
Creates an instance of appropriate configurable object as specified in supplied config node. This function does not configure the instance
Public methodStatic memberMakeAndConfigure(IConfigSectionNode, Type,  Object )
Creates and configures an instance of appropriate configurable object as specified in supplied config node. Applies configured behaviours
Public methodStatic memberMakeAndConfigure T (IConfigSectionNode, Type,  Object )
Creates and configures an instance of appropriate configurable object as specified in supplied config node. Applies configured behaviours
Public methodStatic memberMakeUsingCtor 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
Back to Top
Fields

  NameDescription
Public fieldStatic memberCONFIG_TYPE_ATTR
Back to Top
See Also