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
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
PublishingOption
Gets the publishing option to use when processing the item.
public required PublishingOption PublishingOption { get; init; }
Property Value
Methods
Equals(BehaviorSubjectCreationOptions?)
public bool Equals(BehaviorSubjectCreationOptions? other)
Parameters
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 ==(BehaviorSubjectCreationOptions?, BehaviorSubjectCreationOptions?)
public static bool operator ==(BehaviorSubjectCreationOptions? left, BehaviorSubjectCreationOptions? right)
Parameters
Returns
operator !=(BehaviorSubjectCreationOptions?, BehaviorSubjectCreationOptions?)
public static bool operator !=(BehaviorSubjectCreationOptions? left, BehaviorSubjectCreationOptions? right)