Skip to content

Applies to

netstandard2.0

Overloads

  • 1. public HistoricalScheduler()
  • 2. public HistoricalScheduler(DateTimeOffset initialClock)
  • 3. public HistoricalScheduler(DateTimeOffset initialClock, IComparer<DateTimeOffset> comparer)

1. Overload

public HistoricalScheduler()

Summary: Creates a new historical scheduler with the minimum value of DateTimeOffset as the initial clock value.

2. Overload

public HistoricalScheduler(DateTimeOffset initialClock)

Summary: Creates a new historical scheduler with the specified initial clock value.

Parameters

NameTypeDescription
initialClockDateTimeOffsetInitial value for the clock.

3. Overload

public HistoricalScheduler(DateTimeOffset initialClock, IComparer<DateTimeOffset> comparer)

Summary: Creates a new historical scheduler with the specified initial clock value.

Parameters

NameTypeDescription
initialClockDateTimeOffsetInitial value for the clock.
comparerIComparerComparer to determine causality of events based on absolute time.

Exceptions

TypeCondition
System.ArgumentNullExceptioncomparer is null.