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