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>
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 SourceWrapUnary(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 SourceName
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
TopInput
Declaration
public GetNext TopInput { set; }
Property Value
| Type | Description |
|---|---|
| GetNext |
Methods
| Improve this Doc View SourceTop()
Declaration
public Value Top()
Returns
| Type | Description |
|---|---|
| Value |