Show / Hide Table of Contents

Class WrapUnary<TRealIn, TRealOut>

Wrap a C# function that takes one argument and returns one value as a Fluency function.

  • This is how Sqrt, Floor, Not, and ParseInt are implemented.
Inheritance
System.Object
WrapUnary<TRealIn, TRealOut>
Implements
ITopIn
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 WrapUnary<TRealIn, TRealOut> : ITopIn, ITopOut, IFunction
Type Parameters
Name Description
TRealIn
TRealOut

Constructors

| Improve this Doc View Source

WrapUnary(Func<TRealIn, TRealOut>, FluencyType, String)

Declaration
public WrapUnary(Func<TRealIn, TRealOut> function, FluencyType returnType, string name)
Parameters
Type Name Description
System.Func<TRealIn, TRealOut> function
FluencyType returnType
System.String name

Properties

| 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
ITopOut
IFunction

Extension Methods

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