GetValue() public method

public GetValue ( string name ) : object
name string
return object
Ejemplo n.º 1
0
 public void RaiseWhenGetUndefinedVariable()
 {
     IObject obj = new BaseObject(type);
     obj.GetValue("length");
 }
Ejemplo n.º 2
0
 public void SetAndGetInstanceVariable()
 {
     IObject obj = new BaseObject(type);
     obj.SetValue("name", "Adam");
     Assert.AreEqual("Adam", obj.GetValue("name"));
 }
Ejemplo n.º 3
0
 public void GetInstanceVariableAsNull()
 {
     IObject obj = new BaseObject(type);
     Assert.IsNull(obj.GetValue("name"));
 }