C# Class System.Web.Configuration.WebConfigurationHost

Inheritance: IInternalConfigHost
Exibir arquivo Open project: kumpera/mono Class Usage Examples

Public Methods

Method Description
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

Private Methods

Method Description
GetWebConfigFileName ( dir dir ) : System

Method Details

CreateConfigurationContext() public method

public CreateConfigurationContext ( string configPath, string locationSubPath ) : object
configPath string
locationSubPath string
return object

CreateDeprecatedConfigContext() public method

public CreateDeprecatedConfigContext ( string configPath ) : object
configPath string
return object

DecryptSection() public method

public DecryptSection ( string encryptedXml, ProtectedConfigurationProvider protectionProvider, ProtectedConfigurationSection protectedSection ) : string
encryptedXml string
protectionProvider System.Configuration.ProtectedConfigurationProvider
protectedSection System.Configuration.ProtectedConfigurationSection
return string

DeleteStream() public method

public DeleteStream ( string streamName ) : void
streamName string
return void

EncryptSection() public method

public EncryptSection ( string clearXml, ProtectedConfigurationProvider protectionProvider, ProtectedConfigurationSection protectedSection ) : string
clearXml string
protectionProvider System.Configuration.ProtectedConfigurationProvider
protectedSection System.Configuration.ProtectedConfigurationSection
return string

GetConfigPathFromLocationSubPath() public method

public GetConfigPathFromLocationSubPath ( string configPath, string locationSubPath ) : string
configPath string
locationSubPath string
return string

GetConfigType() public method

public GetConfigType ( string typeName, bool throwOnError ) : Type
typeName string
throwOnError bool
return System.Type

GetConfigTypeName() public method

public GetConfigTypeName ( Type t ) : string
t System.Type
return string

GetRestrictedPermissions() public method

public GetRestrictedPermissions ( IInternalConfigRecord configRecord, PermissionSet &permissionSet, bool &isHostReady ) : void
configRecord IInternalConfigRecord
permissionSet System.Security.PermissionSet
isHostReady bool
return void

GetStreamName() public method

public GetStreamName ( string configPath ) : string
configPath string
return string