Show / Hide Table of Contents

Class WrapBinary<TRealTop, TRealBottom, TRealOut>

Wrap a C# function that takes two arguments and returns one value as a Fluency function that:

  • If no arguments given, read something from the top and the bottom and do the operation on them.
  • If one top argument given, read something from the bottom and do the operation with that and the argument.
  • If one bottom argument given, read something from the top and do the operation with that and the argument.
  • This is how Add, Mult, Equals, LessThan, GreaterThan, And, Or, AddDouble, DivDouble, and Concat are implemented.
Inheritance
System.Object
WrapBinary<TRealTop, TRealBottom, TRealOut>
Implements
ITopIn
IBottomIn
ITopOut
IFunction
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Fluency.Execution.Functions.BuiltIn
Assembly: Execution.dll
Syntax
public class WrapBinary<TRealTop, TRealBottom, TRealOut> : ITopIn, IBottomIn, ITopOut, IFunction
Type Parameters
Name Description
TRealTop
TRealBottom
TRealOut

Constructors

| Improve this Doc View Source

WrapBinary(Func<TRealTop, TRealBottom, TRealOut>, FluencyType, FluencyType, String, Value[], Value[])

Declaration
public WrapBinary(Func<TRealTop, TRealBottom, TRealOut> function, FluencyType argType, FluencyType returnType, string name, Value[] topArguments, Value[] bottomArguments = null)
Parameters
Type Name Description
System.Func<TRealTop, TRealBottom, TRealOut> function
FluencyType argType
FluencyType returnType
System.String name
Value[] topArguments
Value[] bottomArguments

Properties

| Improve this Doc View Source

BottomInput

Declaration
public GetNext BottomInput { set; }
Property Value
Type Description
GetNext
| Improve this Doc View Source

Name

Declaration
public string Name { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

TopInput

Declaration
public GetNext TopInput { set; }
Property Value
Type Description
GetNext

Methods

| Improve this Doc View Source

Top()

Declaration
public Value Top()
Returns
Type Description
Value

Implements

ITopIn
IBottomIn
ITopOut
IFunction

Extension Methods

ExecutionExtensions.Is<T>(IFunction, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX