Пример #1
0
 public override TDst RunGenericMethod <TDst, TArg>(IGenericCallable <TDst, TArg> callable, TArg arg)
 {
     if (callable == null)
     {
         throw new ArgumentNullException("callable");
     }
     return(callable.Run <T>(this, arg));
 }
Пример #2
0
 /// <summary>
 /// Adds the given generic function to the symbol table.
 /// </summary>
 public void Add(IGenericCallable generic)
 {
     mGenerics.Add(generic);
 }
Пример #3
0
 /// <summary>
 /// Adds the given generic function to the symbol table.
 /// </summary>
 public void Add(IGenericCallable generic)
 {
     mGenerics.Add(generic);
 }
Пример #4
0
 public abstract TDst RunGenericMethod <TDst, TArg>(IGenericCallable <TDst, TArg> callable, TArg arg);