C# Класс System.Web.Configuration.WebConfigurationHost

Наследование: IInternalConfigHost
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CreateConfigurationContext ( string configPath, string locationSubPath ) : object
CreateDeprecatedConfigContext ( string configPath ) : object
DecryptSection ( string encryptedXml, ProtectedConfigurationProvider protectionProvider, ProtectedConfigurationSection protectedSection ) : string
DeleteStream ( string streamName ) : void
EncryptSection ( string clearXml, ProtectedConfigurationProvider protectionProvider, ProtectedConfigurationSection protectedSection ) : string
GetConfigPathFromLocationSubPath ( string configPath, string locationSubPath ) : string
GetConfigType ( string typeName, bool throwOnError ) : Type
GetConfigTypeName ( Type t ) : string
GetRestrictedPermissions ( IInternalConfigRecord configRecord, PermissionSet &permissionSet, bool &isHostReady ) : void
GetStreamName ( string configPath ) : string

Приватные методы

Метод Описание
GetWebConfigFileName ( dir dir ) : System

Описание методов

CreateConfigurationContext() публичный Метод

public CreateConfigurationContext ( string configPath, string locationSubPath ) : object
configPath string
locationSubPath string
Результат object

CreateDeprecatedConfigContext() публичный Метод

public CreateDeprecatedConfigContext ( string configPath ) : object
configPath string
Результат object

DecryptSection() публичный Метод

public DecryptSection ( string encryptedXml, ProtectedConfigurationProvider protectionProvider, ProtectedConfigurationSection protectedSection ) : string
encryptedXml string
protectionProvider System.Configuration.ProtectedConfigurationProvider
protectedSection System.Configuration.ProtectedConfigurationSection
Результат string

DeleteStream() публичный Метод

public DeleteStream ( string streamName ) : void
streamName string
Результат void

EncryptSection() публичный Метод

public EncryptSection ( string clearXml, ProtectedConfigurationProvider protectionProvider, ProtectedConfigurationSection protectedSection ) : string
clearXml string
protectionProvider System.Configuration.ProtectedConfigurationProvider
protectedSection System.Configuration.ProtectedConfigurationSection
Результат string

GetConfigPathFromLocationSubPath() публичный Метод

public GetConfigPathFromLocationSubPath ( string configPath, string locationSubPath ) : string
configPath string
locationSubPath string
Результат string

GetConfigType() публичный Метод

public GetConfigType ( string typeName, bool throwOnError ) : Type
typeName string
throwOnError bool
Результат System.Type

GetConfigTypeName() публичный Метод

public GetConfigTypeName ( Type t ) : string
t System.Type
Результат string

GetRestrictedPermissions() публичный Метод

public GetRestrictedPermissions ( IInternalConfigRecord configRecord, PermissionSet &permissionSet, bool &isHostReady ) : void
configRecord IInternalConfigRecord
permissionSet System.Security.PermissionSet
isHostReady bool
Результат void

GetStreamName() публичный Метод

public GetStreamName ( string configPath ) : string
configPath string
Результат string