#Settings

##Properties

Datatype Property name Property description Default Value
Scope DefaultScope Gets the default Izenda.AdHoc.Scope that the settings will use if not otherwise specified. StaticMemory
ScopeCollection SettingScope Gets the collection of scoping levels that settings can use. {}

##Methods

###Equals(System.Object) Determines whether the specified System.Object is equal to the current System.Object.

Parameters:

Returns:

true if the specified System.Object is equal to the current System.Object; otherwise, false.


###GetHashCode() Serves as a hash function for a particular type.

Returns:

A hash code for the current System.Object.


###GetType() Gets the System.Type of the current instance.

Returns:

The System.Type instance that represents the exact runtime type of the current instance.


###GetValue(System.String) Gets the value of the setting with the specified name using the scope specified by the setting referenced.

Parameters:

Returns:

The System.Object representation of the setting value.


###GetValue(System.String,System.Object) Gets the value of the setting with the specified name using the scope specified by the setting referenced. If the setting cannot be found in the scope, the default value is inserted and returned.

Parameters:

  • System.String name - The System.String representation of the name of the setting.
  • System.Object defaultValue - The default value of the setting that will be used when the setting is not found in the appropriate scope.

Returns:

The System.Object value of the setting that was obtained.


###SetValue(System.String,System.Object) Sets the value of the setting with the specified name using the scope specified by the setting referenced.

Parameters:

Returns:

The value that the setting was set to.


###SetValueInternal(System.String,System.Object) Sets the value of the setting with the specified name using the scope specified by the setting referenced. This also sets the default value of the setting.

Parameters:

Returns:

The value that the setting was set to.


###ToString() Returns a System.String that represents the current System.Object.

Returns:

A System.String that represents the current System.Object.