C# Class Microsoft.Scripting.ScopeVariableIgnoreCase

Boxes the value for storage in a scope. Languages or consumers of the scope can save this value and use it to get/set the current value in the scope for commonly accessed values. ScopeVariablesIgnoreCase are case insensitive and may access different casings depending on how other gets/sets occur in the scope.
Inheritance: IScopeVariable, IWeakReferencable
Show file Open project: jschementi/iron Class Usage Examples

Public Methods

Method Description
DeleteValue ( ) : bool

Removes the current value from the scope.

SetValue ( object value ) : void

Sets the current value in the scope.

TryGetValue ( Object &value ) : bool

Atempts to get the value. If a value is assigned it returns true otherwise it returns false.

Private Methods

Method Description
AddItems ( object>.List list ) : void
AddNames ( List list ) : void
GetCaseSensitiveStorage ( string name ) : ScopeVariable
GetStorageSlow ( string name ) : ScopeVariable
ScopeVariableIgnoreCase ( string casing ) : Microsoft.Scripting.Ast

Method Details

DeleteValue() public method

Removes the current value from the scope.
public DeleteValue ( ) : bool
return bool

SetValue() public method

Sets the current value in the scope.
public SetValue ( object value ) : void
value object
return void

TryGetValue() public method

Atempts to get the value. If a value is assigned it returns true otherwise it returns false.
public TryGetValue ( Object &value ) : bool
value System.Object
return bool