The Settings4Net type exposes the following members.

Constructors


Name Description

Settings4Net
Initializes a new instance of the Settings4Net class

Methods


Name Description

Add<(Of <<'(T>)>>)(String, T, String)
Adds new Settings item

Add<(Of <<'(T>)>>)(String, T, String, String, String)
Adds new Settings item

Add<(Of <<'(T>)>>)(String, T, String, String, String, Boolean)
Adds new Settings item

CalculateChecksumValue
Calculates the checksum/hash value of all Settings items

GeneratePropertyGridObject
Generates and returns PropertyGrid-readable object that could be used as PropertyGrid.SelectedObject

GetDefaultItemValue
Gets default value of a Settings Item

GetItemCategory
Gets Settings item category

GetItemDescription
Gets Settings item description

GetItemOrDefaultValue
Gets Settings item value if it exists, or Default one

GetItemTag
Gets Settings item tag

GetItemVisibility
Gets Settings item visibility

GetMaxItemValue
Gets maximum allowed value of a Settings Item

GetMetaData
Gets Settings item meta data object

GetMinItemValue
Gets minimum allowed value of a Settings Item

GetModificationDateTime
If setting file is keeping track of modification dates/times, returns the last DateTime of such event

GetReadonlyProperty
Gets readonly property of a Settings item

Open(String)
Opens and reads settings from specified file

Open(String, Boolean)
Opens and reads settings from specified file

Open(String, Boolean, Boolean)
Opens and reads settings from specified file

ResetToDefaultValue(String)
Resets Settings item value to default one

ResetToDefaultValue(String, Object)
Resets Settings item value to default or specified one

Save
Saves all Settings to specified file

SetDefaultItemValue
Sets default value of a Settings item

SetItemCategory
Sets Settings item category

SetItemDescription
Sets Settings item description

SetItemTag
Sets Settings item freely used tag

SetItemVisibility
Sets Settings item visibility

SetMaxItemValue
Sets maximum allowed value of a Settings item

SetMinItemValue
Sets minimum allowed value of a Settings item

SetReadonlyProperty
Sets readonly propery of Settings item, enabling/disabling its modifications

Fields


Name Description

Settings
Collection of Settings Items

Properties


Name Description

IsLoaded
Indicates if Settings were loaded from the file

PreventManualModifications
Gets or sets an option to perform checksums on settings file to prevent manual editing of the file

TrackModificationTimes
Gets or sets an option for tracking date/time of last settings item modification

WasModifiedManually
Indicates if Settings file was modified manually

Last edited Aug 1, 2011 at 10:32 PM by qisur, version 3

Comments

No comments yet.