C# Class pGina.Shared.Settings.pGinaDynamicSettings

Inheritance: Abstractions.Settings.DynamicSettings
Datei anzeigen Open project: MutonUfoAI/pgina Class Usage Examples

Public Properties

Property Type Description
pGinaRoot string

Public Methods

Method Description
CleanSubSettings ( System.Guid pluginGuid, List toKeep ) : void

Remove all sub-keys that are NOT in the provided list.

DecryptSetting ( string subKey, string name ) : string

Get an encryted string containing a value of the pgina registry key.

GetSetting ( string subKey, string value, string encypted ) : string

Get a string containing a value of the pgina registry key.

GetSettings ( string subKey, string encypted ) : string>.Dictionary

Get a dictionary containing all values of the pgina registry key. The Dictionary key is the sub-key name, the value is a pGinaDynamicSettings object corresponding to the sub-key.

GetSubSettings ( System.Guid pluginGuid ) : dynamic>.Dictionary

Get a dictionary containing all sub-keys of the plugin's registry key. The Dictionary key is the sub-key name, the value is a pGinaDynamicSettings object corresponding to the sub-key.

pGinaDynamicSettings ( ) : System
pGinaDynamicSettings ( System.Guid pluginGuid ) : System
pGinaDynamicSettings ( System.Guid pluginGuid, string subKey ) : System

Method Details

CleanSubSettings() public static method

Remove all sub-keys that are NOT in the provided list.
public static CleanSubSettings ( System.Guid pluginGuid, List toKeep ) : void
pluginGuid System.Guid The plugin's Guid.
toKeep List The list of sub-keys to keep, all others are deleted.
return void

DecryptSetting() public static method

Get an encryted string containing a value of the pgina registry key.
public static DecryptSetting ( string subKey, string name ) : string
subKey string
name string
return string

GetSetting() public static method

Get a string containing a value of the pgina registry key.
public static GetSetting ( string subKey, string value, string encypted ) : string
subKey string
value string
encypted string
return string

GetSettings() public static method

Get a dictionary containing all values of the pgina registry key. The Dictionary key is the sub-key name, the value is a pGinaDynamicSettings object corresponding to the sub-key.
public static GetSettings ( string subKey, string encypted ) : string>.Dictionary
subKey string
encypted string
return string>.Dictionary

GetSubSettings() public static method

Get a dictionary containing all sub-keys of the plugin's registry key. The Dictionary key is the sub-key name, the value is a pGinaDynamicSettings object corresponding to the sub-key.
public static GetSubSettings ( System.Guid pluginGuid ) : dynamic>.Dictionary
pluginGuid System.Guid The plugin Guid.
return dynamic>.Dictionary

pGinaDynamicSettings() public method

public pGinaDynamicSettings ( ) : System
return System

pGinaDynamicSettings() public method

public pGinaDynamicSettings ( System.Guid pluginGuid ) : System
pluginGuid System.Guid
return System

pGinaDynamicSettings() public method

public pGinaDynamicSettings ( System.Guid pluginGuid, string subKey ) : System
pluginGuid System.Guid
subKey string
return System

Property Details

pGinaRoot public_oe static_oe property

public static string pGinaRoot
return string