Class Round<TInput, TOutput>
Inheritance
object
Round<TInput, TOutput>
Assembly: solution.dll
Syntax
[UnitOrderAttribute]
public abstract class Round<TInput, TOutput> : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable
Type Parameters
| Name |
Description |
| TInput |
|
| TOutput |
|
Properties
Declaration
[DoNotSerializeAttribute]
public ValueInput input { get; }
Property Value
output
Declaration
[DoNotSerializeAttribute]
public ValueOutput output { get; }
Property Value
rounding
Declaration
[InspectableAttribute]
[UnitHeaderInspectableAttribute]
[SerializeAttribute]
public Round<TInput, TOutput>.Rounding rounding { get; set; }
Property Value
Methods
AwayFromZero(TInput)
Declaration
protected abstract TOutput AwayFromZero(TInput input)
Parameters
| Type |
Name |
Description |
| TInput |
input |
|
Returns
Ceiling(TInput)
Declaration
protected abstract TOutput Ceiling(TInput input)
Parameters
| Type |
Name |
Description |
| TInput |
input |
|
Returns
Definition()
Declaration
protected override void Definition()
Overrides
Floor(TInput)
Declaration
protected abstract TOutput Floor(TInput input)
Parameters
| Type |
Name |
Description |
| TInput |
input |
|
Returns
Operation(Flow)
Declaration
public TOutput Operation(Flow flow)
Parameters
| Type |
Name |
Description |
| Flow |
flow |
|
Returns
Implements
IDisposable
Extension Methods