Table of Contents

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

int

Methods

Equals(PageSize?)

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

public bool Equals(PageSize? other)

Parameters

other PageSize

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.