Class TakeUntilOptions
- Namespace
- ReactiveUI.Extensions.Async
- Assembly
- ReactiveUI.Extensions.dll
Provides configuration options for controlling the behavior of the TakeUntil operator.
public sealed record TakeUntilOptions : IEquatable<TakeUntilOptions>
- Inheritance
-
TakeUntilOptions
- Implements
- Extension Methods
Remarks
This type allows customization of how the source sequence responds to failures in the 'other' sequence when using TakeUntil. It is immutable and thread-safe.
Constructors
TakeUntilOptions()
public TakeUntilOptions()
Properties
Default
Gets the default configuration options for the TakeUntil operation.
public static TakeUntilOptions Default { get; }
Property Value
Remarks
Use this property to obtain a standard set of options when no customization is required. The returned instance is immutable and can be shared safely across multiple operations.
SourceFailsWhenOtherFails
Gets a value indicating whether the source operation fails when another related operation fails.
public bool SourceFailsWhenOtherFails { get; init; }
Property Value
Methods
Equals(TakeUntilOptions?)
public bool Equals(TakeUntilOptions? other)
Parameters
otherTakeUntilOptions
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(TakeUntilOptions?, TakeUntilOptions?)
public static bool operator ==(TakeUntilOptions? left, TakeUntilOptions? right)
Parameters
leftTakeUntilOptionsrightTakeUntilOptions
Returns
operator !=(TakeUntilOptions?, TakeUntilOptions?)
public static bool operator !=(TakeUntilOptions? left, TakeUntilOptions? right)
Parameters
leftTakeUntilOptionsrightTakeUntilOptions