BaseSettingsElement Methods

<< Click to Display Table of Contents >>

Navigation:  Reference > BNCS Namespace > BaseSettingsElement Class >

BaseSettingsElement Methods

The BaseSettingsElement type exposes the following members.

 

Methods


Name

Description

Public method

GetSetting(String)

Retrieves the value of a setting based on the provided SettingId.

Public method

GetSetting(String, String)

Retrieves a setting value based on the provided SettingId. If the setting is not found, the defaultValue is returned.

Public method

GetSetting<T>(String)

Retrieves a setting value of type T based on the provided SettingId.

Public method

GetSetting<T>(String, T)

Retrieves a setting value of type T from the settings dictionary. If the setting does not exist, returns the default value provided.

Public method

SafeReadAttribute

Safely reads the value of the specified attribute from the XML document.

(Inherited from BaseElement.)

Public method

TryGetSetting(String, String)

Tries to get the value of a setting based on the provided SettingId.

Public method

TryGetSetting<T>(String, T)

Tries to get the setting value for the specified SettingId.

 

See Also


BaseSettingsElement Class

BNCS Namespace