Struct Unit
- Namespace
- AnyProtocol.Abstraction
- Assembly
- AnyProtocol.Abstraction.dll
Represents a successful operation that has no response payload.
public readonly struct Unit : IEquatable<Unit>
- Implements
- Inherited Members
Properties
Value
Gets the value represented by this member.
public static Unit Value { get; }
Property Value
- Unit
The value.
Methods
Equals(Unit)
public bool Equals(Unit other)
Parameters
otherUnit
Returns
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(Unit, Unit)
public static bool operator ==(Unit left, Unit right)
Parameters
Returns
operator !=(Unit, Unit)
public static bool operator !=(Unit left, Unit right)