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
Type | Name |
---|---|
Taskurai.LogTimeRange | other |
Equals(object)
Declaration
public override bool Equals(object obj)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.Object | obj |
GetHashCode()
Declaration
public override int GetHashCode()
Returns
System.Int32
Implements
System.IEquatable<Taskurai.LogTimeRange>