示例#1
0
 /// <summary>
 /// Creates a function that is bound to a context.Note: `R.bind` does not provide the additional argument-binding capabilities of[Function.prototype.bind](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind).
 /// <para />
 /// sig: (* -> *) -> {*} -> (* -> *)
 /// </summary>
 /// <param name="fn">The function to bind to context</param>
 /// <param name="thisObj">The context to bind `fn` to</param>
 /// <returns>A function that will execute in the context of `thisObj`.</returns>
 /// <see cref="R.Partial"/>
 public static dynamic Bind(RamdaPlaceholder fn = null, RamdaPlaceholder thisObject = null)
 {
     return(Currying.Bind(fn, thisObject));
 }
示例#2
0
 /// <summary>
 /// Creates a function that is bound to a context.Note: `R.bind` does not provide the additional argument-binding capabilities of[Function.prototype.bind](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind).
 /// <para />
 /// sig: (* -> *) -> {*} -> (* -> *)
 /// </summary>
 /// <param name="fn">The function to bind to context</param>
 /// <param name="thisObj">The context to bind `fn` to</param>
 /// <returns>A function that will execute in the context of `thisObj`.</returns>
 /// <see cref="R.Partial"/>
 public static dynamic Bind(dynamic fn, RamdaPlaceholder thisObject = null)
 {
     return(Currying.Bind(Delegate(fn), thisObject));
 }
示例#3
0
 /// <summary>
 /// Creates a function that is bound to a context.Note: `R.bind` does not provide the additional argument-binding capabilities of[Function.prototype.bind](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind).
 /// <para />
 /// sig: (* -> *) -> {*} -> (* -> *)
 /// </summary>
 /// <param name="fn">The function to bind to context</param>
 /// <param name="thisObj">The context to bind `fn` to</param>
 /// <returns>A function that will execute in the context of `thisObj`.</returns>
 /// <see cref="R.Partial"/>
 public static dynamic Bind <TTarget>(dynamic fn, TTarget thisObject)
 {
     return(Currying.Bind(Delegate(fn), thisObject));
 }
示例#4
0
 /// <summary>
 /// Creates a function that is bound to a context.Note: `R.bind` does not provide the additional argument-binding capabilities of[Function.prototype.bind](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind).
 /// <para />
 /// sig: (* -> *) -> {*} -> (* -> *)
 /// </summary>
 /// <param name="fn">The function to bind to context</param>
 /// <param name="thisObj">The context to bind `fn` to</param>
 /// <returns>A function that will execute in the context of `thisObj`.</returns>
 /// <see cref="R.Partial"/>
 public static dynamic Bind <TTarget>(RamdaPlaceholder fn, TTarget thisObject)
 {
     return(Currying.Bind(fn, thisObject));
 }