Class Temperature
- Namespace
- xFunc.Maths.Expressions.Units.TemperatureUnits
- Assembly
- xFunc.Maths.dll
Represents an temperature number.
public class Temperature : Unit<TemperatureValue>, IExpression, IEquatable<Unit<TemperatureValue>>
- Inheritance
-
Temperature
- Implements
- Inherited Members
- Extension Methods
Constructors
Temperature(TemperatureValue)
Initializes a new instance of the Temperature class.
public Temperature(TemperatureValue value)
Parameters
value
TemperatureValueA temperature number.
Methods
AnalyzeInternal<TResult>(IAnalyzer<TResult>)
Analyzes the current expression.
protected override TResult AnalyzeInternal<TResult>(IAnalyzer<TResult> analyzer)
Parameters
analyzer
IAnalyzer<TResult>The analyzer.
Returns
- TResult
The analysis result.
Type Parameters
TResult
The type of the result.
AnalyzeInternal<TResult, TContext>(IAnalyzer<TResult, TContext>, TContext)
Analyzes the current expression.
protected override TResult AnalyzeInternal<TResult, TContext>(IAnalyzer<TResult, TContext> analyzer, TContext context)
Parameters
analyzer
IAnalyzer<TResult, TContext>The analyzer.
context
TContextThe context.
Returns
- TResult
The analysis result.
Type Parameters
TResult
The type of the result.
TContext
The type of additional parameter for analyzer.