Unit struct
Namespace: Vitreous
Assembly: Vitreous.dll
Represents the absence of a meaningful value.
Used as the TResult type parameter for void commands so they participate in the same
[IPipelineBehavior<TMessage, TResult>](/Vitreous/api/vitreous/abstractions/ipipelinebehavior-2/) pipeline as commands that
return a value. Behaviors written against IPipelineBehavior<TMessage, TResult>
automatically apply to void commands when registered as open generics — no separate
ICommandPipelineBehavior implementation is needed.
public readonly struct UnitInherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Fields
Section titled “Fields”The single value of this type.
public static readonly Unit ValueField Value
Section titled “Field Value”Methods
Section titled “Methods”ToString()
Section titled “ ToString()”Returns the fully qualified type name of this instance.
public override string ToString()Returns
Section titled “Returns”The fully qualified type name.