C# Class Microsoft.Scripting.ScopeVariable

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. ScopeVariables are case sensitive and will only refer to a single value.
Inheritance: IScopeVariable, IWeakReferencable
Afficher le fichier Open project: jschementi/iron Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
ScopeVariable ( ) : Microsoft.Scripting.Ast

Method Details

DeleteValue() public méthode

Removes the current value from the scope.
public DeleteValue ( ) : bool
Résultat bool

SetValue() public méthode

Sets the current value in the scope.
public SetValue ( object value ) : void
value object
Résultat void

TryGetValue() public méthode

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
Résultat bool