Class VirtualRequest
- Namespace
- DynamicData
- Assembly
- DynamicData.dll
A request object for virtualisation.
public class VirtualRequest : IEquatable<IVirtualRequest>, IVirtualRequest
- Inheritance
-
VirtualRequest
- Implements
Constructors
VirtualRequest()
Initializes a new instance of the VirtualRequest class.
public VirtualRequest()
VirtualRequest(int, int)
Initializes a new instance of the VirtualRequest class.
public VirtualRequest(int startIndex, int size)
Parameters
Fields
Default
The default request value.
public static readonly VirtualRequest Default
Field Value
Properties
Size
Gets the maximum number of items to return.
public int Size { get; }
Property Value
StartIndex
Gets the first index in the virualised list.
public int StartIndex { get; }
Property Value
StartIndexSizeComparer
Gets the start index size comparer.
public static IEqualityComparer<IVirtualRequest?> StartIndexSizeComparer { get; }
Property Value
- IEqualityComparer<IVirtualRequest>
The start index size comparer.
Methods
Equals(IVirtualRequest?)
public bool Equals(IVirtualRequest? other)
Parameters
other
IVirtualRequest
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
obj
object
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()