C# Class WPCordovaClassLib.CordovaLib.ConfigHandler

Exibir arquivo Open project: ChristianWeyer/tUdUs Class Usage Examples

Protected Properties

Property Type Description
AllowAllDomains bool
AllowAllPlugins bool
AllowedDomains List
AllowedPlugins PluginConfig>.Dictionary
AllowedSchemes string[]
Preferences string>.Dictionary

Public Methods

Method Description
ConfigHandler ( ) : System
GetPreference ( string key ) : string
IsPluginAllowed ( string key ) : bool
LoadAppPackageConfig ( ) : void
URLIsAllowed ( string url ) : bool

Protected Methods

Method Description
AddWhiteListEntry ( string origin, bool allowSubdomains ) : void
SchemeIsAllowed ( string scheme ) : bool

Method Details

AddWhiteListEntry() protected method

protected AddWhiteListEntry ( string origin, bool allowSubdomains ) : void
origin string
allowSubdomains bool
return void

ConfigHandler() public method

public ConfigHandler ( ) : System
return System

GetPreference() public method

public GetPreference ( string key ) : string
key string
return string

IsPluginAllowed() public method

public IsPluginAllowed ( string key ) : bool
key string
return bool

LoadAppPackageConfig() public method

public LoadAppPackageConfig ( ) : void
return void

SchemeIsAllowed() protected method

protected SchemeIsAllowed ( string scheme ) : bool
scheme string
return bool

URLIsAllowed() public method

public URLIsAllowed ( string url ) : bool
url string
return bool

Property Details

AllowAllDomains protected_oe property

protected bool AllowAllDomains
return bool

AllowAllPlugins protected_oe property

protected bool AllowAllPlugins
return bool

AllowedDomains protected_oe property

protected List AllowedDomains
return List

AllowedPlugins protected_oe property

protected Dictionary AllowedPlugins
return PluginConfig>.Dictionary

AllowedSchemes protected_oe static_oe property

protected static string[] AllowedSchemes
return string[]

Preferences protected_oe property

protected Dictionary Preferences
return string>.Dictionary