示例#1
0
 /// <summary>
 /// Returns the result of calling its first argument with the remainingarguments. This is occasionally useful as a converging function for`R.converge`: the left branch can produce a function while the right branchproduces a value to be passed to that function as an argument.
 /// <para />
 /// sig: (*... -> a),*... -> a
 /// </summary>
 /// <param name="fn">The function to apply to the remaining arguments.</param>
 /// <param name="args">Any number of positional arguments.</param>
 /// <returns>*</returns>
 /// <see cref="R.Apply"/>
 public static dynamic Call(RamdaPlaceholder fn = null, RamdaPlaceholder args = null)
 {
     return(Currying.Call(fn, args));
 }
示例#2
0
 /// <summary>
 /// Returns the result of calling its first argument with the remainingarguments. This is occasionally useful as a converging function for`R.converge`: the left branch can produce a function while the right branchproduces a value to be passed to that function as an argument.
 /// <para />
 /// sig: (*... -> a),*... -> a
 /// </summary>
 /// <param name="fn">The function to apply to the remaining arguments.</param>
 /// <param name="args">Any number of positional arguments.</param>
 /// <returns>*</returns>
 /// <see cref="R.Apply"/>
 public static dynamic Call(dynamic fn, RamdaPlaceholder args = null)
 {
     return(Currying.Call(Delegate(fn), args));
 }
示例#3
0
 /// <summary>
 /// Returns the result of calling its first argument with the remainingarguments. This is occasionally useful as a converging function for`R.converge`: the left branch can produce a function while the right branchproduces a value to be passed to that function as an argument.
 /// <para />
 /// sig: (*... -> a),*... -> a
 /// </summary>
 /// <param name="fn">The function to apply to the remaining arguments.</param>
 /// <param name="args">Any number of positional arguments.</param>
 /// <returns>*</returns>
 /// <see cref="R.Apply"/>
 public static dynamic Call(dynamic fn, params object[] args)
 {
     return(Currying.Call(Delegate(fn), args));
 }
示例#4
0
 /// <summary>
 /// Returns the result of calling its first argument with the remainingarguments. This is occasionally useful as a converging function for`R.converge`: the left branch can produce a function while the right branchproduces a value to be passed to that function as an argument.
 /// <para />
 /// sig: (*... -> a),*... -> a
 /// </summary>
 /// <param name="fn">The function to apply to the remaining arguments.</param>
 /// <param name="args">Any number of positional arguments.</param>
 /// <returns>*</returns>
 /// <see cref="R.Apply"/>
 public static dynamic Call(RamdaPlaceholder fn, params object[] args)
 {
     return(Currying.Call(fn, args));
 }