Skip to main content

Struct LogTimeRange

Represents a time range over which logs can be queried.

Assembly: Taskurai.dll​
Declaration
public readonly struct LogTimeRange : IEquatable<LogTimeRange>

Implements:
System.IEquatable<Taskurai.LogTimeRange>

Properties​

Indefinite​

Represents an indefinite time range.

Declaration
public static LogTimeRange Indefinite { get; }

Duration​

Gets the duration of the time range.

Declaration
public TimeSpan Duration { get; }

Start​

Gets the start time of the time range, if specified.

Declaration
public DateTimeOffset? Start { get; }

End​

Gets the end time of the time range, if specified.

Declaration
public DateTimeOffset? End { get; }

Methods​

ToString()​

Declaration
public override string ToString()
Returns​

System.String

Equals(LogTimeRange)​

Declaration
public bool Equals(LogTimeRange other)
Returns​

System.Boolean

Parameters​
TypeName
Taskurai.LogTimeRangeother

Equals(object)​

Declaration
public override bool Equals(object obj)
Returns​

System.Boolean

Parameters​
TypeName
System.Objectobj

GetHashCode()​

Declaration
public override int GetHashCode()
Returns​

System.Int32

Implements​

  • System.IEquatable<Taskurai.LogTimeRange>