Skip to main content

Unit

Namespace: Bogoware.Monads

The Unit type is used to represent the absence of a specific value

public sealed class Unit : System.IEquatable`1[[Bogoware.Monads.Unit, Bogoware.Monads, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]]

Inheritance ObjectUnit
Implements IEquatable<Unit>
Attributes NullableContextAttribute, NullableAttribute

Fields

Instance

public static Unit Instance;

Methods

Equals(Object)

public bool Equals(object obj)

Parameters

obj Object

Returns

Boolean

Equals(Unit)

public bool Equals(Unit other)

Parameters

other Unit

Returns

Boolean

GetHashCode()

public int GetHashCode()

Returns

Int32

ToString()

public string ToString()

Returns

String