BlockLiteral.GetDelegateForBlock<T> Method

Definition

Returns a managed delegate of type T that can invoke the native block.

public T GetDelegateForBlock<T>() where T : MulticastDelegate;
member this.GetDelegateForBlock : unit -> 'T (requires 'T :> MulticastDelegate)

Type Parameters

T

The delegate type to create.

Returns

T

The delegate of type T for this block.

Remarks

This method supports the Xamarin.iOS runtime and is not intended for use by application developers.

Applies to