Modifier

Partager via


IRefAction<T> Interface

Definition

A contract for actions being executed on items of a specific type, with side effect.

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

Type Parameters

T

The type of items to process.

Remarks

If the Invoke(T) 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