MediaTimeRange Struct

A range of the media timeline, in seconds (a range of a TimeRanges object).

public readonly struct MediaTimeRange : IEquatable<MediaTimeRange>
Implements

Constructors

NameDescription
MediaTimeRange(double, double)A range of the media timeline, in seconds (a range of a TimeRanges object).

MediaTimeRange(double, double)

A range of the media timeline, in seconds (a range of a TimeRanges object).

public MediaTimeRange(double Start, double End)

Parameters

Start double
The start of the range, in seconds.
End double
The end of the range, in seconds.

Properties

NameDescription
EndThe end of the range, in seconds.
StartThe start of the range, in seconds.

The end of the range, in seconds.

public double End { get; init; }

Property value

double

The start of the range, in seconds.

public double Start { get; init; }

Property value

double

Methods

NameDescription
Deconstruct(double, double)
Equals(MediaTimeRange)
Equals(object)
GetHashCode()
ToString()

Deconstruct(double, double)

public void Deconstruct(out double Start, out double End)

Parameters

Start double
End double

No documentation is available.

Equals overloads

Equals(MediaTimeRange)

public bool Equals(MediaTimeRange other)
Parameters
other MediaTimeRange
Returns

bool

No documentation is available.

Equals(object)

public override bool Equals(object obj)
Parameters
obj object
Returns

bool

No documentation is available.

GetHashCode()

public override int GetHashCode()

Returns

int

No documentation is available.

ToString()

public override string ToString()

Returns

string

No documentation is available.

Operators

NameDescription
operator ==(MediaTimeRange, MediaTimeRange)
operator !=(MediaTimeRange, MediaTimeRange)

operator ==(MediaTimeRange, MediaTimeRange)

public static bool operator ==(MediaTimeRange left, MediaTimeRange right)

Parameters

left MediaTimeRange
right MediaTimeRange

Returns

bool

No documentation is available.

operator !=(MediaTimeRange, MediaTimeRange)

public static bool operator !=(MediaTimeRange left, MediaTimeRange right)

Parameters

left MediaTimeRange
right MediaTimeRange

Returns

bool

No documentation is available.