Skip to content

)}

TimeInterval.Equals(TimeInterval) method

Defined in

Type: TimeInterval Namespace: ReactiveUI.Primitives.Core Assembly: ReactiveUI.Primitives.Core.dll

Applies to

net10.0, net10.0, net10.0-desktop1.0, net10.0-desktop1.0, net10.0-browserwasm1.0, net10.0-browserwasm1.0, net9.0, net9.0, net9.0-desktop1.0, net9.0-desktop1.0, net9.0-browserwasm1.0, net9.0-browserwasm1.0, net8.0, net8.0, net8.0-ios17.5, net8.0-macos14.5, net8.0-macos14.5, net8.0-macos14.2, net8.0-macos14.2, net8.0-maccatalyst17.5, net8.0-maccatalyst17.5, net8.0-tvos17.2, net8.0-tvos17.2, net8.0-ios17.5, netstandard2.1, netstandard2.1, net481, net462, net462, net481

Overloads

  • 1. public bool Equals(TimeInterval<T> other)
  • 2. public override bool Equals(object? obj)

1. Overload

public bool Equals(TimeInterval<T> other)

View source

Summary: Determines whether the current TimeInterval value has the same Value and Interval as a specified TimeInterval value.

Parameters

NameTypeDescription
other[TimeInterval](#An object to compare to the current TimeInterval value.

Returns: bool -- true if both TimeInterval values have the same Value and Interval; otherwise, false.

2. Overload

public override bool Equals(object? obj)

View source

Summary: Determines whether the specified System.Object is equal to the current TimeInterval.

Parameters

NameTypeDescription
objobject?The System.Object to compare with the current TimeInterval.

Returns: bool -- true if the specified System.Object is equal to the current TimeInterval; otherwise, false.