C# Class System.Configuration.CustomizableFileSettingsProvider

Inheritance: SettingsProvider, IApplicationSettingsProvider
Afficher le fichier Open project: runefs/Marvin Class Usage Examples

Private Properties

Свойство Type Description
CheckFileName bool
CheckPath bool
CreateExeMap void
CreateUserConfigPath void
GetCompanyName string
GetEvidenceHash string
GetProductName string
GetProductVersion string
LoadProperties void
LoadPropertyValue void
PrevVersionPath string
SaveProperties void

Méthodes publiques

Méthode Description
GetPreviousVersion ( SettingsContext context, SettingsProperty property ) : SettingsPropertyValue
GetPropertyValues ( SettingsContext context, SettingsPropertyCollection collection ) : SettingsPropertyValueCollection
Initialize ( string name, System.Collections.Specialized.NameValueCollection config ) : void
Reset ( SettingsContext context ) : void
SetCompanyName ( string companyName ) : bool
SetProductName ( string productName ) : bool
SetPropertyValues ( SettingsContext context, SettingsPropertyValueCollection collection ) : void
SetUserLocalFileName ( string configFile ) : bool
SetUserLocalPath ( string configPath ) : bool
SetUserRoamingFileName ( string configFile ) : bool
SetUserRoamingPath ( string configPath ) : bool
SetVersion ( int major ) : bool
SetVersion ( int major, int minor ) : bool
SetVersion ( int major, int minor, int build ) : bool
SetVersion ( int major, int minor, int build, int revision ) : bool
SetVersion ( string forceVersion ) : bool
Upgrade ( SettingsContext context, SettingsPropertyCollection properties ) : void
setCreate ( ) : void

Private Methods

Méthode Description
CheckFileName ( string configFile ) : bool
CheckPath ( string configPath ) : bool
CreateExeMap ( ) : void
CreateUserConfigPath ( ) : void
GetCompanyName ( ) : string
GetEvidenceHash ( ) : string
GetProductName ( ) : string
GetProductVersion ( ) : string
LoadProperties ( ExeConfigurationFileMap exeMap, SettingsPropertyCollection collection, ConfigurationUserLevel level, string sectionGroupName, bool allowOverwrite, string groupName ) : void
LoadPropertyValue ( SettingsPropertyCollection collection, SettingElement element, bool allowOverwrite ) : void
PrevVersionPath ( string dirName, string currentVersion ) : string
SaveProperties ( ExeConfigurationFileMap exeMap, SettingsPropertyValueCollection collection, ConfigurationUserLevel level, SettingsContext context, bool checkUserLevel ) : void

Method Details

GetPreviousVersion() public méthode

public GetPreviousVersion ( SettingsContext context, SettingsProperty property ) : SettingsPropertyValue
context SettingsContext
property SettingsProperty
Résultat SettingsPropertyValue

GetPropertyValues() public méthode

public GetPropertyValues ( SettingsContext context, SettingsPropertyCollection collection ) : SettingsPropertyValueCollection
context SettingsContext
collection SettingsPropertyCollection
Résultat SettingsPropertyValueCollection

Initialize() public méthode

public Initialize ( string name, System.Collections.Specialized.NameValueCollection config ) : void
name string
config System.Collections.Specialized.NameValueCollection
Résultat void

Reset() public méthode

public Reset ( SettingsContext context ) : void
context SettingsContext
Résultat void

SetCompanyName() public static méthode

public static SetCompanyName ( string companyName ) : bool
companyName string
Résultat bool

SetProductName() public static méthode

public static SetProductName ( string productName ) : bool
productName string
Résultat bool

SetPropertyValues() public méthode

public SetPropertyValues ( SettingsContext context, SettingsPropertyValueCollection collection ) : void
context SettingsContext
collection SettingsPropertyValueCollection
Résultat void

SetUserLocalFileName() public static méthode

public static SetUserLocalFileName ( string configFile ) : bool
configFile string
Résultat bool

SetUserLocalPath() public static méthode

public static SetUserLocalPath ( string configPath ) : bool
configPath string
Résultat bool

SetUserRoamingFileName() public static méthode

public static SetUserRoamingFileName ( string configFile ) : bool
configFile string
Résultat bool

SetUserRoamingPath() public static méthode

public static SetUserRoamingPath ( string configPath ) : bool
configPath string
Résultat bool

SetVersion() public static méthode

public static SetVersion ( int major ) : bool
major int
Résultat bool

SetVersion() public static méthode

public static SetVersion ( int major, int minor ) : bool
major int
minor int
Résultat bool

SetVersion() public static méthode

public static SetVersion ( int major, int minor, int build ) : bool
major int
minor int
build int
Résultat bool

SetVersion() public static méthode

public static SetVersion ( int major, int minor, int build, int revision ) : bool
major int
minor int
build int
revision int
Résultat bool

SetVersion() public static méthode

public static SetVersion ( string forceVersion ) : bool
forceVersion string
Résultat bool

Upgrade() public méthode

public Upgrade ( SettingsContext context, SettingsPropertyCollection properties ) : void
context SettingsContext
properties SettingsPropertyCollection
Résultat void

setCreate() public static méthode

public static setCreate ( ) : void
Résultat void