Table of Contents

Class ActionExtensions

Namespace
NanoByte.Common.Threading
Assembly
NanoByte.Common.dll

Provides extension methods for System.Action<T>

public static class ActionExtensions
Inheritance
object
ActionExtensions

Methods

ToMarshalByRef<T>(Action<T>)

Wraps a delegate so that it is marshalled by reference when passed via .NET Remoting.

public static Action<T> ToMarshalByRef<T>(this Action<T> action)

Parameters

action Action<T>

Returns

Action<T>

Type Parameters

T