Upravit

Sdílet prostřednictvím


BlockLiteral.SetupBlock(Delegate, Delegate) Method

Definition

Sets up a block using a trampoline and a user delegate.

public void SetupBlock (Delegate trampoline, Delegate userDelegate);
member this.SetupBlock : Delegate * Delegate -> unit

Parameters

trampoline
Delegate

The trampoline must be a static delegate. Xamarin.iOS will automatically keep a reference to this delegate.

userDelegate
Delegate

The user code to invoke.

Applies to