public void SetArg(int i, string v) { switch (i) { case 0: Arg0.Set(v); break; case 1: Arg1.Set(v); break; case 2: Arg2.Set(v); break; case 3: Arg3.Set(v); break; default: Arguments[i - InlineArgsCount].Set(v); break; } //UpdateSignature(i); }
public void Set(DObject obj, DObject value) { if (_setter == Own_Data_Set) //This is the most common case, and we can make it faster this way { obj.Fields[Index].Set(value); } else { var tmp = new DValue(); tmp.Set(value); Set(obj, ref tmp); } }
public void Set(DObject obj, string value) { //if (IsDataDescriptor && !IsInherited) if (_setter == Own_Data_Set) //This is the most common case, and we can make it faster this way { obj.Fields[Index].Set(value); } else { var tmp = new DValue(); tmp.Set(value); Set(obj, ref tmp); } }
public DObject Set(DObject This, DObject v) { if (OnSetDObject == null) { var tmp = new DValue(); tmp.Set(v); return(Set(This, ref tmp)); } else { OnSetDObject(This, v); return(this); } }
public DObject Set(DObject This, bool v) { if (OnSetBoolean == null) { var tmp = new DValue(); tmp.Set(v); return(Set(This, ref tmp)); } else { OnSetBoolean(This, v); return(this); } }
public static DValue Create(DObject v) { var dv = new DValue(); dv.Set(v); return(dv); }
public static DValue Create(double v) { var dv = new DValue(); dv.Set(v); return(dv); }
public static DValue Create(string v) { var dv = new DValue(); dv.Set(v); return(dv); }