Skip to content

GrainAddress Methods

Represents an entry in a IGrainDirectory

Equals(GrainAddress?)

View source
public bool Equals(GrainAddress? other)
Indicates whether the current object is equal to another object of the same type.

Parameters

otherGrainAddress?
An object to compare with this object.

Returns

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

Equals(object?)

override
View source
public override bool Equals(object? obj)
Determines whether the specified object is equal to the current object.

Parameters

objobject?
The object to compare with the current object.

Returns

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

GetHashCode

override
View source
public override int GetHashCode()
Serves as the default hash function.

Returns

A hash code for the current object.

ToString

override
View source
public override string ToString()
Returns a string that represents the current object.

Returns

A string that represents the current object.