public void Ctor()
        {
            IEnumerable <object> items = Params.AsEnumerable <object>(1, "2");

            var contract = new ArgumentsContract(items);

            Assert.Same(items, contract.Value);
        }
示例#2
0
 public Function Resolve(string Name, params Expression[] Params)
 {
     return(Resolve(Name, Params.AsEnumerable()));
 }
示例#3
0
 public IEnumerable <Function> LookupFunction(string Name, params Expression[] Params)
 {
     return(LookupFunction(Name, Params.AsEnumerable()));
 }
 public static UnknownFunction New(string Name, params Variable[] Params)
 {
     return(New(Name, Params.AsEnumerable()));
 }
示例#5
0
 public static StmtFunction New(string Name, Statement Body, params Variable[] Params)
 {
     return(New(Name, Body, Params.AsEnumerable()));
 }
示例#6
0
 public static ExprFunction New(string Name, Expression Body, params Variable[] Params)
 {
     return(New(Name, Body, Params.AsEnumerable()));
 }