ComponentAsyncValueType Class

An asynchronous value type: a stream or a future of an optional element type.

public abstract class ComponentAsyncValueType : ComponentValueType
Inheritance
ComponentValueType ComponentAsyncValueType

Properties

NameDescription
ElementTypeGets the type of the elements, or null.

Gets the type of the elements, or null.

public ComponentValueType? ElementType { get; }

Property value

ComponentValueType?

Methods

NameDescription
Equals(ComponentValueType?)Indicates whether the current object is equal to another object of the same type.
GetHashCode()Serves as the default hash function.

Equals(ComponentValueType?)

ComponentTypes.cs

Indicates whether the current object is equal to another object of the same type.

public override bool Equals(ComponentValueType? other)

Parameters

other ComponentValueType?
An object to compare with this object.

Returns

bool true if the current object is equal to the other parameter; otherwise, false.

GetHashCode()

ComponentTypes.cs

Serves as the default hash function.

public override int GetHashCode()

Returns

int A hash code for the current object.