Skip to content
ChartForgeX

API Reference

Class

ChartTimeSessionDomain

Namespace ChartForgeX.Core
Assembly ChartForgeX
Modifiers sealed

An immutable, explicitly ordered set of included time intervals shared by every series on one X axis.

Inheritance

  • Object
  • ChartTimeSessionDomain

Remarks

Elapsed time inside each session retains its duration. Closed gaps collapse to one position. A closing instant and the next opening instant share that position; inverse projection selects the next opening. The final closing instant retains its own identity. Values outside the first/last session extrapolate for native axis padding.

Usage

Explore 3 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 2

Accepted by parameters 1

Constructors

public ChartTimeSessionDomain(IEnumerable<ChartTimeSession> sessions) #

Captures included intervals in source order without sorting or merging them.

Parameters

sessions System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartTimeSession> requiredposition: 0
A nonempty sequence of increasing intervals; overlaps and reversed source order are rejected.

Exceptions

  • ArgumentNullException โ€“ The sequence is null.
  • ArgumentException โ€“ The sequence is empty, overlapping or unordered.
  • ArgumentOutOfRangeException โ€“ An interval is invalid.

Properties

public IReadOnlyList<ChartTimeSession> Sessions { get; } #

Gets the captured intervals in their authored order.