Table of Contents

Class BehaviorSubjectCreationOptions

Namespace
ReactiveUI.Extensions.Async.Subjects
Assembly
ReactiveUI.Extensions.dll

Represents configuration options for creating a behavior subject, including publishing behavior and statefulness.

public sealed record BehaviorSubjectCreationOptions : IEquatable<BehaviorSubjectCreationOptions>
Inheritance
BehaviorSubjectCreationOptions
Implements
Extension Methods

Constructors

BehaviorSubjectCreationOptions()

public BehaviorSubjectCreationOptions()

Properties

Default

Gets the default configuration options for creating a new BehaviorSubject instance.

public static BehaviorSubjectCreationOptions Default { get; }

Property Value

BehaviorSubjectCreationOptions

Remarks

Use this property to obtain a standard set of options when creating a BehaviorSubject, unless custom behavior is required.

IsStateless

Gets a value indicating whether the object is stateless.

public required bool IsStateless { get; init; }

Property Value

bool

PublishingOption

Gets the publishing option to use when processing the item.

public required PublishingOption PublishingOption { get; init; }

Property Value

PublishingOption

Methods

Equals(BehaviorSubjectCreationOptions?)

public bool Equals(BehaviorSubjectCreationOptions? other)

Parameters

other BehaviorSubjectCreationOptions

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 ==(BehaviorSubjectCreationOptions?, BehaviorSubjectCreationOptions?)

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

Parameters

left BehaviorSubjectCreationOptions
right BehaviorSubjectCreationOptions

Returns

bool

operator !=(BehaviorSubjectCreationOptions?, BehaviorSubjectCreationOptions?)

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

Parameters

left BehaviorSubjectCreationOptions
right BehaviorSubjectCreationOptions

Returns

bool