Workstation Members

<< Click to Display Table of Contents >>

Navigation:  Reference > BNCS Namespace > Workstation Class >

Workstation Members

The Workstation type exposes the following members.

 

Constructors


Name

Description

Public method

Workstation

Constructor for Workstation class that initializes a new instance of Workstation with the provided XElement objects.

 

Methods


Name

Description

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

Overrides the default ToString method to return a string representation of the Workstation class.

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.)

 

Properties


Name

Description

Public property

Id

Gets the Id attribute as a uint value.

Public property

Location

Gets the value of the "location" attribute from the XML element.

Public property

Name

Gets the value of the "name" attribute from the XML element.

Public property

Settings

Gets the settings dictionary.

(Inherited from BaseSettingsElement.)

Public property

User

Gets the value of the "user" attribute from the XML element.

 

See Also


Workstation Class

BNCS Namespace