Table of Contents

Class VirtualContext<TObject>

Namespace
DynamicData
Assembly
DynamicData.dll

Parameters associated with the virtualize operation.

public record VirtualContext<TObject> : IEquatable<VirtualContext<TObject>>

Type Parameters

TObject

The type of object.

Inheritance
VirtualContext<TObject>
Implements

Constructors

VirtualContext(IVirtualResponse, IComparer<TObject>, SortAndVirtualizeOptions)

Parameters associated with the virtualize operation.

public VirtualContext(IVirtualResponse Response, IComparer<TObject> Comparer, SortAndVirtualizeOptions Options)

Parameters

Response IVirtualResponse

Response parameters.

Comparer IComparer<TObject>

The comparer used to order the items.

Options SortAndVirtualizeOptions

The options used to perform virtualization.

VirtualContext(VirtualContext<TObject>)

protected VirtualContext(VirtualContext<TObject> original)

Parameters

original VirtualContext<TObject>

Properties

Comparer

The comparer used to order the items.

public IComparer<TObject> Comparer { get; init; }

Property Value

IComparer<TObject>

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

Options

The options used to perform virtualization.

public SortAndVirtualizeOptions Options { get; init; }

Property Value

SortAndVirtualizeOptions

Response

Response parameters.

public IVirtualResponse Response { get; init; }

Property Value

IVirtualResponse

Methods

Deconstruct(out IVirtualResponse, out IComparer<TObject>, out SortAndVirtualizeOptions)

public void Deconstruct(out IVirtualResponse Response, out IComparer<TObject> Comparer, out SortAndVirtualizeOptions Options)

Parameters

Response IVirtualResponse
Comparer IComparer<TObject>
Options SortAndVirtualizeOptions

Equals(VirtualContext<TObject>?)

public virtual bool Equals(VirtualContext<TObject>? other)

Parameters

other VirtualContext<TObject>

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(VirtualContext<TObject>?, VirtualContext<TObject>?)

public static bool operator ==(VirtualContext<TObject>? left, VirtualContext<TObject>? right)

Parameters

left VirtualContext<TObject>
right VirtualContext<TObject>

Returns

bool

operator !=(VirtualContext<TObject>?, VirtualContext<TObject>?)

public static bool operator !=(VirtualContext<TObject>? left, VirtualContext<TObject>? right)

Parameters

left VirtualContext<TObject>
right VirtualContext<TObject>

Returns

bool