C# Class ThemeEditor.WPF.XmlSettingsProvider

Inheritance: System.Configuration.SettingsProvider
Exibir arquivo Open project: usagirei/3DS-Theme-Editor

Public Methods

Method Description
GetPropertyValues ( SettingsContext context, SettingsPropertyCollection collection ) : SettingsPropertyValueCollection
Initialize ( string name, NameValueCollection config ) : void
SetPropertyValues ( SettingsContext context, SettingsPropertyValueCollection collection ) : void
XmlDeserializeProperty ( string objectData, Type type ) : object
XmlSerializeProperty ( XmlWriter writer, SettingsPropertyValue value ) : void

Private Methods

Method Description
IsUserScope ( SettingsProperty property ) : bool

Method Details

GetPropertyValues() public method

public GetPropertyValues ( SettingsContext context, SettingsPropertyCollection collection ) : SettingsPropertyValueCollection
context System.Configuration.SettingsContext
collection System.Configuration.SettingsPropertyCollection
return System.Configuration.SettingsPropertyValueCollection

Initialize() public method

public Initialize ( string name, NameValueCollection config ) : void
name string
config System.Collections.Specialized.NameValueCollection
return void

SetPropertyValues() public method

public SetPropertyValues ( SettingsContext context, SettingsPropertyValueCollection collection ) : void
context System.Configuration.SettingsContext
collection System.Configuration.SettingsPropertyValueCollection
return void

XmlDeserializeProperty() public static method

public static XmlDeserializeProperty ( string objectData, Type type ) : object
objectData string
type System.Type
return object

XmlSerializeProperty() public static method

public static XmlSerializeProperty ( XmlWriter writer, SettingsPropertyValue value ) : void
writer System.Xml.XmlWriter
value System.Configuration.SettingsPropertyValue
return void