public IdFunctionObject (IIdFunctionCall idcall, object tag, int id, int arity) { if (arity < 0) throw new ArgumentException (); this.idcall = idcall; this.tag = tag; this.m_MethodId = id; this.arity = arity; if (arity < 0) throw new ArgumentException (); }
public IdFunctionObject(IIdFunctionCall idcall, object tag, int id, string name, int arity, IScriptable scope) : base(scope, null) { if (arity < 0) throw new ArgumentException (); if (name == null) throw new ArgumentException (); this.idcall = idcall; this.tag = tag; this.m_MethodId = id; this.arity = arity; this.functionName = name; }
public IdFunctionObject(IIdFunctionCall idcall, object tag, int id, int arity) { if (arity < 0) { throw new ArgumentException(); } this.idcall = idcall; this.tag = tag; this.m_MethodId = id; this.arity = arity; if (arity < 0) { throw new ArgumentException(); } }
public IdFunctionObject(IIdFunctionCall idcall, object tag, int id, string name, int arity, IScriptable scope) : base(scope, null) { if (arity < 0) { throw new ArgumentException(); } if (name == null) { throw new ArgumentException(); } this.idcall = idcall; this.tag = tag; this.m_MethodId = id; this.arity = arity; this.functionName = name; }