C# Class System.Web.Configuration.WebConfigurationManager

Afficher le fichier Open project: vargaz/mono Class Usage Examples

Private Properties

Свойство Type Description
AddSectionToCache void
ConfigurationSaveHandler void
FindWebConfig string
FindWebConfig string
GetCurrentPath string
GetParentDir string
GetSection object
Init void
LookUpLocation bool
MapPath string
OpenMachineConfiguration System.Configuration.Configuration
OpenMachineConfiguration System.Configuration.Configuration
OpenMachineConfiguration System.Configuration.Configuration
OpenMachineConfiguration System.Configuration.Configuration
OpenWebConfiguration System.Configuration.Configuration
ReenableWatcherOnConfigLocation void
RemoveConfigurationFromCache void
SafeGetSection object
SafeGetSection object
SuppressAppReload bool
WebConfigurationManager System

Méthodes publiques

Méthode Description
GetSection ( string sectionName ) : object
GetSection ( string sectionName, string path ) : object
GetWebApplicationSection ( string sectionName ) : object
OpenMachineConfiguration ( ) : Configuration
OpenMappedMachineConfiguration ( ConfigurationFileMap fileMap ) : Configuration
OpenMappedMachineConfiguration ( ConfigurationFileMap fileMap, string locationSubPath ) : Configuration
OpenMappedWebConfiguration ( WebConfigurationFileMap fileMap, string path ) : Configuration
OpenMappedWebConfiguration ( WebConfigurationFileMap fileMap, string path, string site ) : Configuration
OpenMappedWebConfiguration ( WebConfigurationFileMap fileMap, string path, string site, string locationSubPath ) : Configuration
OpenWebConfiguration ( string path ) : Configuration
OpenWebConfiguration ( string path, string site ) : Configuration
OpenWebConfiguration ( string path, string site, string locationSubPath ) : Configuration
OpenWebConfiguration ( string path, string site, string locationSubPath, string server ) : Configuration
OpenWebConfiguration ( string path, string site, string locationSubPath, string server, IntPtr userToken ) : Configuration
OpenWebConfiguration ( string path, string site, string locationSubPath, string server, string userName, string password ) : Configuration

Private Methods

Méthode Description
AddSectionToCache ( int key, object section ) : void
ConfigurationSaveHandler ( Configuration sender, System.Configuration.ConfigurationSaveEventArgs args ) : void
FindWebConfig ( string path ) : string
FindWebConfig ( string path, bool &inAnotherApp ) : string
GetCurrentPath ( HttpContext ctx ) : string
GetParentDir ( string rootPath, string curPath ) : string
GetSection ( string sectionName, string path, HttpContext context ) : object
Init ( ) : void
LookUpLocation ( string relativePath, Configuration &defaultConfiguration ) : bool
MapPath ( HttpRequest req, string virtualPath ) : string
OpenMachineConfiguration ( string locationSubPath ) : Configuration
OpenMachineConfiguration ( string locationSubPath, string server ) : Configuration
OpenMachineConfiguration ( string locationSubPath, string server, IntPtr userToken ) : Configuration
OpenMachineConfiguration ( string locationSubPath, string server, string userName, string password ) : Configuration
OpenWebConfiguration ( string path, string site, string locationSubPath, string server, string userName, string password, bool fweb ) : Configuration
ReenableWatcherOnConfigLocation ( object state ) : void
RemoveConfigurationFromCache ( HttpContext ctx ) : void
SafeGetSection ( string sectionName, Type configSectionType ) : object
SafeGetSection ( string sectionName, string path, Type configSectionType ) : object
SuppressAppReload ( bool newValue ) : bool
WebConfigurationManager ( ) : System

Method Details

GetSection() public static méthode

public static GetSection ( string sectionName ) : object
sectionName string
Résultat object

GetSection() public static méthode

public static GetSection ( string sectionName, string path ) : object
sectionName string
path string
Résultat object

GetWebApplicationSection() public static méthode

public static GetWebApplicationSection ( string sectionName ) : object
sectionName string
Résultat object

OpenMachineConfiguration() public static méthode

public static OpenMachineConfiguration ( ) : Configuration
Résultat System.Configuration.Configuration

OpenMappedMachineConfiguration() public static méthode

public static OpenMappedMachineConfiguration ( ConfigurationFileMap fileMap ) : Configuration
fileMap ConfigurationFileMap
Résultat System.Configuration.Configuration

OpenMappedMachineConfiguration() public static méthode

public static OpenMappedMachineConfiguration ( ConfigurationFileMap fileMap, string locationSubPath ) : Configuration
fileMap ConfigurationFileMap
locationSubPath string
Résultat System.Configuration.Configuration

OpenMappedWebConfiguration() public static méthode

public static OpenMappedWebConfiguration ( WebConfigurationFileMap fileMap, string path ) : Configuration
fileMap WebConfigurationFileMap
path string
Résultat System.Configuration.Configuration

OpenMappedWebConfiguration() public static méthode

public static OpenMappedWebConfiguration ( WebConfigurationFileMap fileMap, string path, string site ) : Configuration
fileMap WebConfigurationFileMap
path string
site string
Résultat System.Configuration.Configuration

OpenMappedWebConfiguration() public static méthode

public static OpenMappedWebConfiguration ( WebConfigurationFileMap fileMap, string path, string site, string locationSubPath ) : Configuration
fileMap WebConfigurationFileMap
path string
site string
locationSubPath string
Résultat System.Configuration.Configuration

OpenWebConfiguration() public static méthode

public static OpenWebConfiguration ( string path ) : Configuration
path string
Résultat System.Configuration.Configuration

OpenWebConfiguration() public static méthode

public static OpenWebConfiguration ( string path, string site ) : Configuration
path string
site string
Résultat System.Configuration.Configuration

OpenWebConfiguration() public static méthode

public static OpenWebConfiguration ( string path, string site, string locationSubPath ) : Configuration
path string
site string
locationSubPath string
Résultat System.Configuration.Configuration

OpenWebConfiguration() public static méthode

public static OpenWebConfiguration ( string path, string site, string locationSubPath, string server ) : Configuration
path string
site string
locationSubPath string
server string
Résultat System.Configuration.Configuration

OpenWebConfiguration() public static méthode

public static OpenWebConfiguration ( string path, string site, string locationSubPath, string server, IntPtr userToken ) : Configuration
path string
site string
locationSubPath string
server string
userToken IntPtr
Résultat System.Configuration.Configuration

OpenWebConfiguration() public static méthode

public static OpenWebConfiguration ( string path, string site, string locationSubPath, string server, string userName, string password ) : Configuration
path string
site string
locationSubPath string
server string
userName string
password string
Résultat System.Configuration.Configuration