Ejemplo n.º 1
0
 /// <summary>
 /// Maps each variable name to a matching property then calls the
 /// provided delegate with the parameters. This method IS case-sensitive
 /// </summary>
 public TReturn With <T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, TReturn>(WithResultAction <T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, TReturn> with)
 {
     return((TReturn)this._Invoke(with));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Appends a lambda as a function to this anonymous type that returns a value
 /// </summary>
 public void SetMethod <T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult>(string name, WithResultAction <T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult> action)
 {
     this.Set <WithResultAction <T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult> >(name, action);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Maps each variable name to a matching property then calls the
 /// provided delegate with the parameters. This method IS case-sensitive
 /// </summary>
 public TReturn With <T0, T1, T2, TReturn>(WithResultAction <T0, T1, T2, TReturn> with)
 {
     return((TReturn)this._Invoke(with));
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Appends a lambda as a function to this anonymous type that returns a value
 /// </summary>
 public void SetMethod <T0, T1, TResult>(string name, WithResultAction <T0, T1, TResult> action)
 {
     this.Set <WithResultAction <T0, T1, TResult> >(name, action);
 }