Table of Contents

Interface IGenericAction<TParam>

Namespace
Frent.Core
Assembly
Frent.dll

An generic action with known parameter

public interface IGenericAction<TParam>

Type Parameters

TParam

The first parameter, which is normally bound

Remarks

Since delegates cannot be unbound generics, we use an interface instead

Methods

Invoke<T>(TParam, ref T)

Runs the arbitrary generic method that this IGenericAction<TParam> represents

void Invoke<T>(TParam param, ref T type)

Parameters

param TParam

The first parameter

type T

The generic parameter

Type Parameters

T

The unbound generic parameter