Table of Contents

Struct SortAndBindOptions

Namespace
DynamicData.Binding
Assembly
DynamicData.dll

Options for the sort and bind operator.

public struct SortAndBindOptions : IEquatable<SortAndBindOptions>
Implements
Extension Methods
WhenAnyMixin.WhenAny<TSender, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(TSender?, Expression<Func<TSender, T1>>, Expression<Func<TSender, T2>>, Expression<Func<TSender, T3>>, Expression<Func<TSender, T4>>, Expression<Func<TSender, T5>>, Expression<Func<TSender, T6>>, Expression<Func<TSender, T7>>, Expression<Func<TSender, T8>>, Expression<Func<TSender, T9>>, Expression<Func<TSender, T10>>, Expression<Func<TSender, T11>>, Expression<Func<TSender, T12>>, Func<IObservedChange<TSender, T1>, IObservedChange<TSender, T2>, IObservedChange<TSender, T3>, IObservedChange<TSender, T4>, IObservedChange<TSender, T5>, IObservedChange<TSender, T6>, IObservedChange<TSender, T7>, IObservedChange<TSender, T8>, IObservedChange<TSender, T9>, IObservedChange<TSender, T10>, IObservedChange<TSender, T11>, IObservedChange<TSender, T12>, TRet>)

Constructors

SortAndBindOptions()

Options for the sort and bind operator.

public SortAndBindOptions()

Properties

InitialCapacity

Set the initial capacity of the readonly observable collection.

public int InitialCapacity { readonly get; init; }

Property Value

int

ResetOnFirstTimeLoad

Reset on first time load.

This is opt-in only and is only required for consumers who need to maintain backwards compatibility will the former BindingOptions.ResetOnFirstTimeLoad.

public bool ResetOnFirstTimeLoad { readonly get; init; }

Property Value

bool

ResetThreshold

The reset threshold ie the number of changes before a reset is fired.

public int ResetThreshold { readonly get; init; }

Property Value

int

Scheduler

The default main thread scheduler. If left null, it is the responsibility of the consumer to ensure binding takes place on the main thread.

public IScheduler? Scheduler { readonly get; init; }

Property Value

IScheduler

UseBinarySearch

Use binary search when the result of the comparer is a pure function.

public bool UseBinarySearch { readonly get; init; }

Property Value

bool

UseReplaceForUpdates

When possible, should replace be used instead of remove and add.

public bool UseReplaceForUpdates { readonly get; init; }

Property Value

bool

Methods

Equals(SortAndBindOptions)

public readonly bool Equals(SortAndBindOptions other)

Parameters

other SortAndBindOptions

Returns

bool

Equals(object)

public override readonly bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override readonly int GetHashCode()

Returns

int

ToString()

public override readonly string ToString()

Returns

string

Operators

operator ==(SortAndBindOptions, SortAndBindOptions)

public static bool operator ==(SortAndBindOptions left, SortAndBindOptions right)

Parameters

left SortAndBindOptions
right SortAndBindOptions

Returns

bool

operator !=(SortAndBindOptions, SortAndBindOptions)

public static bool operator !=(SortAndBindOptions left, SortAndBindOptions right)

Parameters

left SortAndBindOptions
right SortAndBindOptions

Returns

bool