Table of Contents

Class RequestUsage

Namespace
Glitch9.AIDevKit
public class RequestUsage : Usage, IEquatable<Usage>, IEquatable<RequestUsage>
Inheritance
object
RequestUsage
Implements
IEquatable<Usage>
IEquatable<RequestUsage>
Inherited Members

Constructors

RequestUsage()

public RequestUsage()

RequestUsage(int)

public RequestUsage(int numRequests)

Parameters

numRequests int

Fields

numRequests

public int numRequests

Field Value

int

Methods

Equals(RequestUsage)

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

public bool Equals(RequestUsage other)

Parameters

other RequestUsage

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 obj)

Parameters

obj object

The object to compare with the current 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.

GetInspectorValueName()

public override string GetInspectorValueName()

Returns

string

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

TryMerge(Usage)

public override bool TryMerge(Usage other)

Parameters

other Usage

Returns

bool