GetValue() public méthode

public GetValue ( string name ) : object
name string
Résultat object
Exemple #1
0
 public void RaiseWhenGetUndefinedVariable()
 {
     IObject obj = new BaseObject(type);
     obj.GetValue("length");
 }
Exemple #2
0
 public void SetAndGetInstanceVariable()
 {
     IObject obj = new BaseObject(type);
     obj.SetValue("name", "Adam");
     Assert.AreEqual("Adam", obj.GetValue("name"));
 }
Exemple #3
0
 public void GetInstanceVariableAsNull()
 {
     IObject obj = new BaseObject(type);
     Assert.IsNull(obj.GetValue("name"));
 }