Empty Struct

Definition

A type representing the empty struct, similar to Unit in other libraries and languages.

[System.Runtime.Serialization.DataContract]
public struct Empty : IEquatable<Microsoft.StreamProcessing.Empty>
type Empty = struct
Public Structure Empty
Implements IEquatable(Of Empty)
Inheritance
Empty
Attributes
Implements

Properties

Default

The single Empty value.

Methods

DoNothing()

Useful method to do nothing

Equals(Empty)

Determines whether the argument Empty value is equal to the receiver. Because Empty has a single value, this always returns true.

Equals(Object)

Determines whether the specified System.Object is equal to the current Empty.

GetHashCode()

Returns the hash code for the Empty value.

ToString()

Returns a string representation of the Empty value.

Operators

Equality(Empty, Empty)

Determines whether the two specified Emtpy values are equal. Because Empty has a single value, this always returns true.

Inequality(Empty, Empty)

Determines whether the two specified Empty values are not equal. Because Empty has a single value, this always returns false.

Applies to