Skip to content

TapeDurationLiteral ​

Namespace: Hex1b.Automation

Assembly: Hex1b.dll

Retains a duration without requiring runtime conversion.

csharp
public sealed record TapeDurationLiteral : IEquatable<TapeDurationLiteral>

Inheritance ​

Object → TapeDurationLiteral

Implements ​

Constructors ​

TapeDurationLiteral(string, string, TapeSourceSpan) ​

Retains a duration without requiring runtime conversion.

Parameters:

  • Value (String): The normalized value, including an explicit unit.
  • RawText (String): The source spelling, excluding a preceding at sign.
  • Span (TapeSourceSpan): The duration's source range.
csharp
public TapeDurationLiteral(string Value, string RawText, TapeSourceSpan Span)

Properties ​

RawText ​

The source spelling, excluding a preceding at sign.

Returns: String

csharp
public string RawText { get; init; }

Span ​

The duration's source range.

Returns: TapeSourceSpan

csharp
public TapeSourceSpan Span { get; init; }

Value ​

The normalized value, including an explicit unit.

Returns: String

csharp
public string Value { get; init; }

Released under the MIT License.