Instance Methods

<< Click to Display Table of Contents >>

Navigation:  Reference > BNCS Namespace > Instance Class >

Instance Methods

The Instance type exposes the following members.

 

Methods


Name

Description

Protected method

BuildSettings

(Inherited from BaseSettingsElement.)

Public method

GetChildInstance

Retrieves a child instance based on the provided InstanceId.

Public method

GetSetting(String)

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

(Inherited from BaseSettingsElement.)

Public method

GetSetting(String, String)

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

(Inherited from BaseSettingsElement.)

Public method

GetSetting<T>(String)

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

(Inherited from BaseSettingsElement.)

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.

(Inherited from BaseSettingsElement.)

Public method

SafeReadAttribute

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

(Inherited from BaseElement.)

Public method

ToString

Returns a string representation of the Instance object.

Public method

TryGetChildInstance

Tries to get the child instance with the specified InstanceId.

Public method

TryGetSetting(String, String)

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

(Inherited from BaseSettingsElement.)

Public method

TryGetSetting<T>(String, T)

Tries to get the setting value for the specified SettingId.

(Inherited from BaseSettingsElement.)

 

See Also


Instance Class

BNCS Namespace