Szerkesztés

Megosztás a következőn keresztül:


BlockProxyAttribute Class

Definition

This attribute is used to notify the runtime which class is used to wrap Objective-C blocks into managed delegates.

[System.AttributeUsage(System.AttributeTargets.Parameter, AllowMultiple=false)]
public sealed class BlockProxyAttribute : Attribute
type BlockProxyAttribute = class
    inherit Attribute
Inheritance
BlockProxyAttribute
Attributes

Remarks

This type is used by the internals of Xamarin.iOS.

This attribute is applied on parameters and is used by the Xamarin.iOS runtime to locate the helper class that is used to turn an Objective-C block into a managed delegate that can later be invoked by managed code to trigger a native block execution.

Constructors

BlockProxyAttribute(Type)

Specifies the type that is used to proxy blocks into managed delegates.

Properties

Type

The type that is used to proxy an Objective-C block into this managed parameter.

Applies to