BlockProxyAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |