แก้ไข

แชร์ผ่าน


StringExtensions.SpanAction<T,TArg> Delegate

Definition

public: generic <typename T, typename TArg>
delegate void StringExtensions::SpanAction(Span<T> span, TArg arg);
public delegate void StringExtensions.SpanAction<T,in TArg>(Span<T> span, TArg arg);
type StringExtensions.SpanAction<'T, 'Arg> = delegate of Span<'T> * 'Arg -> unit
Public Delegate Sub StringExtensions.SpanAction(Of T, In TArg)(span As Span(Of T), arg As TArg)

Type Parameters

T
TArg
This type parameter is contravariant. That is, you can use either the type you specified or any type that is less derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.

Parameters

span
Span<T>
arg
TArg

Applies to