Table of Contents

Delegate StringMaker.ForEachArrayAction<TArg>

Namespace
Switchboard
Assembly
Switchboard.StringMaker.dll

Encapsulates a method that receives a state object of type TArg, a read-only span of characters in the current array, and boolean indicating if it is the final array.

public delegate void StringMaker.ForEachArrayAction<in TArg>(TArg arg, ReadOnlySpan<char> charSpan, bool finalArray)

Parameters

arg TArg

A state object of type StringMaker.ForEachArrayAction<TArg>.

charSpan ReadOnlySpan<char>

A read-only span of characters in the current array.

finalArray bool

A boolean indicating if this is the final array.

Type Parameters

TArg

The type of the object that represents the state.