Class PageNumber
- Namespace
- JsonApiDotNetCore.Configuration
- Assembly
- JsonApiDotNetCore.dll
[PublicAPI]
public sealed class PageNumber : IEquatable<PageNumber>- Inheritance
- 
      
      PageNumber
- Implements
- Inherited Members
Constructors
PageNumber(int)
public PageNumber(int oneBasedValue)Parameters
- oneBasedValueint
Fields
ValueOne
public static readonly PageNumber ValueOneField Value
Properties
OneBasedValue
public int OneBasedValue { get; }Property Value
Methods
Equals(PageNumber?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(PageNumber? other)Parameters
- otherPageNumber
- An 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
- otherobject
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.