Class PageSize
- Namespace
- JsonApiDotNetCore.Configuration
- Assembly
- JsonApiDotNetCore.dll
[PublicAPI]
public sealed class PageSize : IEquatable<PageSize>
- Inheritance
-
PageSize
- Implements
- Inherited Members
Constructors
PageSize(int)
public PageSize(int value)
Parameters
value
int
Properties
Value
public int Value { get; }
Property Value
Methods
Equals(PageSize?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(PageSize? other)
Parameters
other
PageSizeAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? other)
Parameters
other
object
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.