Class Round<TInput, TOutput>
Inheritance
Round<TInput, TOutput>
Syntax
[UnitOrder(202)]
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
[DoNotSerialize]
public ValueInput input { get; }
Property Value
output
Declaration
[DoNotSerialize]
public ValueOutput output { get; }
Property Value
rounding
Declaration
[Inspectable]
[UnitHeaderInspectable]
[Serialize]
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
Extension Methods