public SetValue ( string name, object value ) : void | ||
name | string | |
value | object | |
return | void |
public void SetValue(string name, object value)
{
this.values[name] = value;
}
public void GetTypeStoredInContext() { Context context = new Context(); context.SetValue("int", typeof(int)); Type type = TypeUtilities.GetType(context, "int"); Assert.IsNotNull(type); Assert.AreEqual(type, typeof(int)); }