Class Unit
Represents the unit Rust type. aka (). It is used when there is no other
meaningful value that could be returned.
Inherited Members
Namespace: Casper.Network.SDK.Types
Assembly: Casper.Network.SDK.dll
Syntax
public class Unit
Constructors
| Edit this page View SourceUnit()
Declaration
protected Unit()
Fields
| Edit this page View SourceDefault
Declaration
public static readonly Unit Default
Field Value
| Type | Description |
|---|---|
| Unit |
Methods
| Edit this page View SourceEquals(object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj | The object to compare with the current object. |
Returns
| Type | Description |
|---|---|
| bool | true if the specified object is equal to the current object; otherwise, false. |
Overrides
| Edit this page View SourceGetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | A hash code for the current object. |