Table of Contents

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

oneBasedValue int

Fields

ValueOne

public static readonly PageNumber ValueOne

Field Value

PageNumber

Properties

OneBasedValue

public int OneBasedValue { get; }

Property Value

int

Methods

Equals(PageNumber?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(PageNumber? other)

Parameters

other PageNumber

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? other)

Parameters

other object

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

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.