C# Class NSoft.NFramework.Configurations.NamedConfigurationElement

Represents a named System.Configuration.ConfigurationElement wher the name is the key to a collection.
This class is used in conjunction with a NSoft.NFramework.Configurations.NamedElementCollection{T}.
Inheritance: System.Configuration.ConfigurationElement
显示文件 Open project: debop/NFramework

Private Properties

Property Type Description

Public Methods

Method Description
DeserializeElement ( XmlReader reader ) : void

This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Updates the configuration properties of the receiver with the information in the current element in the reader.

NamedConfigurationElement ( ) : System.Configuration

Initialize a new instance of a NamedConfigurationElement class.

NamedConfigurationElement ( string name ) : System.Configuration

Intialize a new instance of a NamedConfigurationElement class with a name.

Method Details

DeserializeElement() public method

This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Updates the configuration properties of the receiver with the information in the current element in the reader.
public DeserializeElement ( XmlReader reader ) : void
reader System.Xml.XmlReader The reader over the configuration file.
return void

NamedConfigurationElement() public method

Initialize a new instance of a NamedConfigurationElement class.
public NamedConfigurationElement ( ) : System.Configuration
return System.Configuration

NamedConfigurationElement() public method

Intialize a new instance of a NamedConfigurationElement class with a name.
public NamedConfigurationElement ( string name ) : System.Configuration
name string The name of the element.
return System.Configuration