Table of Contents

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

TakeUntilOptions

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

bool

Methods

Equals(TakeUntilOptions?)

public bool Equals(TakeUntilOptions? other)

Parameters

other TakeUntilOptions

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(TakeUntilOptions?, TakeUntilOptions?)

public static bool operator ==(TakeUntilOptions? left, TakeUntilOptions? right)

Parameters

left TakeUntilOptions
right TakeUntilOptions

Returns

bool

operator !=(TakeUntilOptions?, TakeUntilOptions?)

public static bool operator !=(TakeUntilOptions? left, TakeUntilOptions? right)

Parameters

left TakeUntilOptions
right TakeUntilOptions

Returns

bool