Class ActionExtensions
Provides extension methods for Action<T>
Namespace: NanoByte.Common.Threading
Assembly: NanoByte.Common.dll
Syntax
public static class ActionExtensions : Object
Methods
ToMarshalByRef<T>(Action<T>)
Wraps a delegate so that it is marshalled by reference when passed via .NET Remoting.
Declaration
public static Action<T> ToMarshalByRef<T>(this Action<T> action)
Parameters
Type | Name | Description |
---|---|---|
Action<T> | action |
Returns
Type | Description |
---|---|
Action<T> |
Type Parameters
Name | Description |
---|---|
T |