Class Time
- Namespace
- xFunc.Maths.Expressions.Units.TimeUnits
- Assembly
- xFunc.Maths.dll
Represents a time number.
public class Time : Unit<TimeValue>, IExpression, IEquatable<Unit<TimeValue>>
- Inheritance
-
Time
- Implements
- Inherited Members
- Extension Methods
Constructors
Time(TimeValue)
Initializes a new instance of the Time class.
public Time(TimeValue value)
Parameters
value
TimeValueA time value.
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.