Table of Contents

Struct SortAndVirtualizeOptions

Namespace
DynamicData
Assembly
DynamicData.dll

Options for the sort and virtualize operator.

public struct SortAndVirtualizeOptions : IEquatable<SortAndVirtualizeOptions>
Implements

Constructors

SortAndVirtualizeOptions()

Options for the sort and virtualize operator.

public SortAndVirtualizeOptions()

Properties

InitialCapacity

Set the initial capacity of internal sorted list.

public int InitialCapacity { readonly get; init; }

Property Value

int

ResetThreshold

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

public int ResetThreshold { readonly get; init; }

Property Value

int

UseBinarySearch

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

public bool UseBinarySearch { readonly get; init; }

Property Value

bool

Methods

Equals(SortAndVirtualizeOptions)

public readonly bool Equals(SortAndVirtualizeOptions other)

Parameters

other SortAndVirtualizeOptions

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

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

Parameters

left SortAndVirtualizeOptions
right SortAndVirtualizeOptions

Returns

bool

operator !=(SortAndVirtualizeOptions, SortAndVirtualizeOptions)

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

Parameters

left SortAndVirtualizeOptions
right SortAndVirtualizeOptions

Returns

bool