Table of Contents

Class PageContext<TObject>

Namespace
DynamicData
Assembly
DynamicData.dll

Parameters associated with the page operation.

public record PageContext<TObject> : IEquatable<PageContext<TObject>>

Type Parameters

TObject

The type of object.

Inheritance
PageContext<TObject>
Implements

Constructors

PageContext(IPageResponse, IComparer<TObject>, SortAndPageOptions)

Parameters associated with the page operation.

public PageContext(IPageResponse Response, IComparer<TObject> Comparer, SortAndPageOptions Options)

Parameters

Response IPageResponse

Response parameters.

Comparer IComparer<TObject>

The comparer used to order the items.

Options SortAndPageOptions

The options used to perform virtualization.

PageContext(PageContext<TObject>)

protected PageContext(PageContext<TObject> original)

Parameters

original PageContext<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 SortAndPageOptions Options { get; init; }

Property Value

SortAndPageOptions

Response

Response parameters.

public IPageResponse Response { get; init; }

Property Value

IPageResponse

Methods

Deconstruct(out IPageResponse, out IComparer<TObject>, out SortAndPageOptions)

public void Deconstruct(out IPageResponse Response, out IComparer<TObject> Comparer, out SortAndPageOptions Options)

Parameters

Response IPageResponse
Comparer IComparer<TObject>
Options SortAndPageOptions

Equals(PageContext<TObject>?)

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

Parameters

other PageContext<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 ==(PageContext<TObject>?, PageContext<TObject>?)

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

Parameters

left PageContext<TObject>
right PageContext<TObject>

Returns

bool

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

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

Parameters

left PageContext<TObject>
right PageContext<TObject>

Returns

bool