HashCodeExtensions.Add<T>(HashCode, ReadOnlySpan<T>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a sequence of T
values to the hash code.
public static void Add<T> (this ref HashCode hashCode, ReadOnlySpan<T> span);
static member Add : HashCode * ReadOnlySpan<'T> -> unit
<Extension()>
Public Sub Add(Of T) (ByRef hashCode As HashCode, span As ReadOnlySpan(Of T))
Type Parameters
- T
The type of elements in the input ReadOnlySpan<T> instance.
Parameters
- span
- ReadOnlySpan<T>
The input ReadOnlySpan<T> instance.