Edytuj

Udostępnij za pośrednictwem


HashCodeExtensions.Add<T>(HashCode, ReadOnlySpan<T>) Method

Definition

Adds a sequence of T values to the hash code.

public static void Add<T> (this ref HashCode hashCode, ReadOnlySpan<T> span) where T : struct;
static member Add : HashCode * ReadOnlySpan<'T (requires 'T : struct)> -> unit (requires 'T : struct)
<Extension()>
Public Sub Add(Of T As Structure) (ByRef hashCode As HashCode, span As ReadOnlySpan(Of T))

Type Parameters

T

The type of elements in the input ReadOnlySpan<T> instance.

Parameters

hashCode
HashCode

The input HashCode instance.

span
ReadOnlySpan<T>

The input ReadOnlySpan<T> instance.

Applies to