Edit

Share via


IInAction<T> Interface

Definition

A contract for actions being executed on items of a specific type, with readonly access.

public interface IInAction<T>
type IInAction<'T> = interface
Public Interface IInAction(Of T)

Type Parameters

T

The type of items to process.

Remarks

If the Microsoft.Toolkit.HighPerformance.Helpers.IInAction`1.Invoke(`0@) method is small enough, it is highly recommended to mark it with AggressiveInlining.

Methods

Invoke(T)

Executes the action on a specified T item.

Applies to