Ejemplo n.º 1
0
 /// <summary>
 /// Create a static call and save the results to a variable
 /// </summary>
 /// <param name="target"></param>
 /// <param name="type"></param>
 /// <param name="name"></param>
 /// <param name="parameters"></param>
 /// <returns></returns>
 public static void Let(this Queue <CallAction> queue, string target, Type type, string name, params object[] parameters)
 {
     queue.Enqueue(CallAction.Let(target, type, name, parameters));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Call an instance method as lambda expression and save value.
 /// </summary>
 /// <param name="targetVariable"></param>
 /// <param name="variable"></param>
 /// <param name="name"></param>
 /// <param name="parameters"></param>
 /// <returns></returns>
 public static void Let <T>(this Queue <CallAction> queue, string targetVariable, string variable, Expression <Action <T> > action)
 {
     queue.Enqueue(CallAction.Let <T>(targetVariable, variable, action));
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Create a static call
 /// </summary>
 /// <param name="type"></param>
 /// <param name="name"></param>
 /// <param name="parameters"></param>
 /// <returns></returns>
 public static void Call(this Queue <CallAction> queue, Type type, string name, params object[] parameters)
 {
     queue.Enqueue(CallAction.Call(type, name, parameters));
 }