Class BizFormItemGenerator
- Namespace
- CMS.OnlineForms
- Assembly
- CMS.OnlineForms.dll
Generator of the specific BizForm items
public static class BizFormItemGenerator
- Inheritance
-
objectBizFormItemGenerator
Methods
NewInstance<ItemType>(string)
Creates new instance of the given type
public static ItemType NewInstance<ItemType>(string className) where ItemType : BizFormItem, new()
Parameters
classNamestringClass name
Returns
- ItemType
Type Parameters
ItemType
RegisterBizForm(string, BizFormItemFactory)
Registers the given BizForm item class
public static void RegisterBizForm(string className, BizFormItemFactory factory)
Parameters
classNamestringClass name to register
factoryBizFormItemFactoryFactory to use for new items
RegisterBizForm<ItemType>(string)
Registers the given BizForm item class
public static void RegisterBizForm<ItemType>(string className) where ItemType : BizFormItem, new()
Parameters
classNamestringClass name to register
Type Parameters
ItemType
RegisterDefaultFactory(BizFormItemFactory)
Registers the default factory for the BizForm items, which overlaps the default one
public static void RegisterDefaultFactory(BizFormItemFactory factory)
Parameters
factoryBizFormItemFactoryFactory to register