C# Class SobekCM.Core.UI_Configuration.TemplateElements.TemplateElementsConfig

显示文件 Open project: MarkVSullivan/SobekCM-Web-Application Class Usage Examples

Private Properties

Property Type Description
set_defaults void

Public Methods

Method Description
Add_Element ( string Type, string Subtype, string Class ) : TemplateElementConfig

Add a new metadata template element configuration to this class

Add_Element ( string Type, string Subtype, string Class, string Assembly ) : TemplateElementConfig

Add a new metadata template element configuration to this class

Add_Element ( TemplateElementConfig NewElement ) : void

Add a new metadata template element configuration to this class

Clear ( ) : void

Clears all the previously loaded information, such as the default values

Get_Element_Configuration ( string Type, string SubType ) : TemplateElementConfig

Get the configuration information for a possible template element

TemplateElementsConfig ( ) : System

Constructor for a new instance of the TemplateElementsConfig class

Private Methods

Method Description
set_defaults ( ) : void

Method Details

Add_Element() public method

Add a new metadata template element configuration to this class
public Add_Element ( string Type, string Subtype, string Class ) : TemplateElementConfig
Type string The 'type' value used in the template configuration files /// to select this metadata template element
Subtype string The 'subtype' value used in the template configuration files /// to select this metadata template element
Class string Fully qualified (including namespace) name of the class used /// for this template element
return TemplateElementConfig

Add_Element() public method

Add a new metadata template element configuration to this class
public Add_Element ( string Type, string Subtype, string Class, string Assembly ) : TemplateElementConfig
Type string The 'type' value used in the template configuration files /// to select this metadata template element
Subtype string The 'subtype' value used in the template configuration files /// to select this metadata template element
Class string Fully qualified (including namespace) name of the class used /// for this template element
Assembly string Name of the assembly within which this class resides, unless this /// is one of the default elements included in the core code
return TemplateElementConfig

Add_Element() public method

Add a new metadata template element configuration to this class
public Add_Element ( TemplateElementConfig NewElement ) : void
NewElement TemplateElementConfig
return void

Clear() public method

Clears all the previously loaded information, such as the default values
public Clear ( ) : void
return void

Get_Element_Configuration() public method

Get the configuration information for a possible template element
public Get_Element_Configuration ( string Type, string SubType ) : TemplateElementConfig
Type string Type for the element to retrieve
SubType string Subtype for the element to retrieve
return TemplateElementConfig

TemplateElementsConfig() public method

Constructor for a new instance of the TemplateElementsConfig class
public TemplateElementsConfig ( ) : System
return System