ReadOnlySpanPairTFirst, TSecond Structure

Represents a pair of ReadOnlySpanT instances.

Definition

Namespace: Ookii.Common
Assembly: Ookii.Common (in Ookii.Common.dll) Version: 1.0.0+7c2900b8a16cd8ae46bdd79d8f105034712c5fa3
C#
public readonly ref struct ReadOnlySpanPair<TFirst, TSecond>
Inheritance
Object    ValueType    ReadOnlySpanPairTFirst, TSecond

Type Parameters

TFirst
The type of the items in the first ReadOnlySpanT.
TSecond
The type of the items in the second ReadOnlySpanT.

Constructors

ReadOnlySpanPairTFirst, TSecond Initializes a new instance of the ReadOnlySpanPairTFirst, TSecond structure.

Properties

Item1 Gets the first value of the pair.
Item2 Gets the second value of the pair.

Methods

Deconstruct Deconstructs the pair into two ReadOnlySpanT instances.
GetTypeGets the Type of the current instance.
(Inherited from Object)
ToString Returns a string representation of the current ReadOnlySpanPairTFirst, TSecond.
(Overrides ValueTypeToString)

Operators

Equality(ReadOnlySpanPairTFirst, TSecond, ReadOnlySpanPairTFirst, TSecond) Compares two ReadOnlySpanPairTFirst, TSecond instances for equality.
Inequality(ReadOnlySpanPairTFirst, TSecond, ReadOnlySpanPairTFirst, TSecond) Compares two ReadOnlySpanPairTFirst, TSecond instances for inequality.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also