TimingInfo Struct

Definition

Information about the timing of a test node.

public readonly struct TimingInfo : IEquatable<Microsoft.Testing.Platform.Extensions.Messages.TimingInfo>
type TimingInfo = struct
Public Structure TimingInfo
Implements IEquatable(Of TimingInfo)
Inheritance
TimingInfo
Implements

Constructors

Name Description
TimingInfo(DateTimeOffset, DateTimeOffset, TimeSpan)

Initializes a new instance of the TimingInfo struct.

Properties

Name Description
Duration

Gets the total test duration.

EndTime

Gets the test end time.

StartTime

Gets the test start time.

Methods

Name Description
Deconstruct(DateTimeOffset, DateTimeOffset, TimeSpan)
Equals(Object)

Indicates whether this instance and a specified object are equal.

Equals(TimingInfo)

Indicates whether the current object is equal to another object of the same type.

GetHashCode()

Returns the hash code for this instance.

ToString()

Returns the fully qualified type name of this instance.

Operators

Name Description
Equality(TimingInfo, TimingInfo)

Implementation of the equality operator.

Inequality(TimingInfo, TimingInfo)

Implementation of the non-equality operator.

Applies to