Class ConfigurationHandler
Summary description for ConfigurationHandler.
Inheritance
System.Object
ConfigurationHandler
Implements
System.Configuration.IConfigurationSectionHandler
System.Collections.IEnumerable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: EPiServer.BaseLibrary.dll
Version: 8.11.0
Syntax
public class ConfigurationHandler : IConfigurationSectionHandler, IEnumerable
Constructors
ConfigurationHandler()
Declaration
public ConfigurationHandler()
Fields
AddTag
Declaration
protected const string AddTag = "add"
Field Value
Type |
Description |
System.String |
|
AssignStaticTag
Declaration
protected const string AssignStaticTag = "assignStatic"
Field Value
Type |
Description |
System.String |
|
ChannelsSection
Declaration
protected const string ChannelsSection = "channels"
Field Value
Type |
Description |
System.String |
|
ClassFactoriesSection
Declaration
protected const string ClassFactoriesSection = "classFactories"
Field Value
Type |
Description |
System.String |
|
DefaultAttribute
Declaration
protected const string DefaultAttribute = "default"
Field Value
Type |
Description |
System.String |
|
DefaultSectionName
Declaration
public const string DefaultSectionName = "episerver.baseLibrary"
Field Value
Type |
Description |
System.String |
|
IdAttribute
Declaration
protected const string IdAttribute = "id"
Field Value
Type |
Description |
System.String |
|
MappedTypeAttribute
Declaration
protected const string MappedTypeAttribute = "mappedType"
Field Value
Type |
Description |
System.String |
|
MethodAttribute
Declaration
protected const string MethodAttribute = "method"
Field Value
Type |
Description |
System.String |
|
ObjectStoresSection
Declaration
protected const string ObjectStoresSection = "objectStores"
Field Value
Type |
Description |
System.String |
|
PropertyAttribute
Declaration
protected const string PropertyAttribute = "property"
Field Value
Type |
Description |
System.String |
|
ReceiveListenerTag
Declaration
protected const string ReceiveListenerTag = "receiveListener"
Field Value
Type |
Description |
System.String |
|
ReferenceSuffix
Declaration
protected const string ReferenceSuffix = "-ref"
Field Value
Type |
Description |
System.String |
|
RegisterTag
Declaration
protected const string RegisterTag = "register"
Field Value
Type |
Description |
System.String |
|
SchemasSection
Declaration
protected const string SchemasSection = "schemas"
Field Value
Type |
Description |
System.String |
|
SectionKeySeparator
Declaration
protected const char SectionKeySeparator = ':'
Field Value
Type |
Description |
System.Char |
|
SendListenerTag
Declaration
protected const string SendListenerTag = "sendListener"
Field Value
Type |
Description |
System.String |
|
TypeAttribute
Declaration
protected const string TypeAttribute = "type"
Field Value
Type |
Description |
System.String |
|
Properties
Section
Declaration
public virtual XmlNode Section { get; set; }
Property Value
Type |
Description |
System.Xml.XmlNode |
|
Methods
Create(Object, Object, XmlNode)
Declaration
public virtual object Create(object parent, object configContext, XmlNode section)
Parameters
Type |
Name |
Description |
System.Object |
parent |
|
System.Object |
configContext |
|
System.Xml.XmlNode |
section |
|
Returns
Type |
Description |
System.Object |
|
GetEnumerator()
Declaration
public IEnumerator GetEnumerator()
Returns
Type |
Description |
System.Collections.IEnumerator |
|
GetNodeText(String, XmlNode)
Declaration
public static string GetNodeText(string tagName, XmlNode node)
Parameters
Type |
Name |
Description |
System.String |
tagName |
|
System.Xml.XmlNode |
node |
|
Returns
Type |
Description |
System.String |
|
GetRequiredAttribute(String, XmlNode)
Declaration
public static string GetRequiredAttribute(string attributeName, XmlNode node)
Parameters
Type |
Name |
Description |
System.String |
attributeName |
|
System.Xml.XmlNode |
node |
|
Returns
Type |
Description |
System.String |
|
GetRequiredType(String, XmlNode)
Declaration
public static Type GetRequiredType(string attributeName, XmlNode node)
Parameters
Type |
Name |
Description |
System.String |
attributeName |
|
System.Xml.XmlNode |
node |
|
Returns
Type |
Description |
System.Type |
|
HandleAttributeReference(XmlAttribute, XmlNode)
Declaration
public static void HandleAttributeReference(XmlAttribute referenceAttribute, XmlNode node)
Parameters
Type |
Name |
Description |
System.Xml.XmlAttribute |
referenceAttribute |
|
System.Xml.XmlNode |
node |
|
Initialize()
Declaration
public static void Initialize()
Initialize(Configuration)
Initializes the specified config.
This function can be used when you will initialize base library with a specified config.
Declaration
public static void Initialize(Configuration config)
Parameters
Type |
Name |
Description |
System.Configuration.Configuration |
config |
The config.
|
Initialize(String)
Declaration
public static void Initialize(string sectionName)
Parameters
Type |
Name |
Description |
System.String |
sectionName |
|
InitializeBaseLibrary()
Declaration
public virtual void InitializeBaseLibrary()
InitializeChannels(XmlNode)
Declaration
protected static void InitializeChannels(XmlNode channelsNode)
Parameters
Type |
Name |
Description |
System.Xml.XmlNode |
channelsNode |
|
InitializeClassFactories(XmlNode)
Declaration
protected static void InitializeClassFactories(XmlNode classFactoryNode)
Parameters
Type |
Name |
Description |
System.Xml.XmlNode |
classFactoryNode |
|
InitializeObjectStores(XmlNode)
Declaration
protected static void InitializeObjectStores(XmlNode objectStoresNode)
Parameters
Type |
Name |
Description |
System.Xml.XmlNode |
objectStoresNode |
|
InitializeSchemas(XmlNode)
Declaration
protected static void InitializeSchemas(XmlNode schemasNode)
Parameters
Type |
Name |
Description |
System.Xml.XmlNode |
schemasNode |
|
ReplaceReferenceAttributes(XmlNode)
Declaration
public static void ReplaceReferenceAttributes(XmlNode node)
Parameters
Type |
Name |
Description |
System.Xml.XmlNode |
node |
|
Implements
System.Configuration.IConfigurationSectionHandler
System.Collections.IEnumerable
Extension Methods