C# Class MySql.Data.VisualStudio.WebConfig.WebConfig

Datei anzeigen Open project: elevate/mysqlconnector-.net Class Usage Examples

Public Methods

Method Description
AddProvider ( string sectionName, string defaultName, string name ) : XmlElement
GetConnectionString ( string name ) : string
GetListItem ( string topNode, string nodeName, string itemName ) : XmlElement
GetProviderElement ( string type ) : XmlElement
GetProviderSection ( string type ) : XmlElement
GetSystemWebNode ( string name, bool createTopNode, bool createProvidersNode ) : XmlNode
RemoveProvider ( string sectionName, string defaultName, string name ) : void
Save ( ) : void
SaveConnectionString ( string defaultName, string name, string connectionString ) : void
SetDefaultProvider ( string sectionName, string providerName ) : void
WebConfig ( string filename ) : System

Private Methods

Method Description
GetDefaultRoleProvider ( ) : string
Initialize ( ) : void
RemoveConnectionString ( XmlNode parentNode, string name ) : void

Method Details

AddProvider() public method

public AddProvider ( string sectionName, string defaultName, string name ) : XmlElement
sectionName string
defaultName string
name string
return System.Xml.XmlElement

GetConnectionString() public method

public GetConnectionString ( string name ) : string
name string
return string

GetListItem() public method

public GetListItem ( string topNode, string nodeName, string itemName ) : XmlElement
topNode string
nodeName string
itemName string
return System.Xml.XmlElement

GetProviderElement() public method

public GetProviderElement ( string type ) : XmlElement
type string
return System.Xml.XmlElement

GetProviderSection() public method

public GetProviderSection ( string type ) : XmlElement
type string
return System.Xml.XmlElement

GetSystemWebNode() public method

public GetSystemWebNode ( string name, bool createTopNode, bool createProvidersNode ) : XmlNode
name string
createTopNode bool
createProvidersNode bool
return XmlNode

RemoveProvider() public method

public RemoveProvider ( string sectionName, string defaultName, string name ) : void
sectionName string
defaultName string
name string
return void

Save() public method

public Save ( ) : void
return void

SaveConnectionString() public method

public SaveConnectionString ( string defaultName, string name, string connectionString ) : void
defaultName string
name string
connectionString string
return void

SetDefaultProvider() public method

public SetDefaultProvider ( string sectionName, string providerName ) : void
sectionName string
providerName string
return void

WebConfig() public method

public WebConfig ( string filename ) : System
filename string
return System