DelegateProxyAttribute 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 managed delegates into Objective-C blocks.
[System.AttributeUsage(System.AttributeTargets.ReturnValue, AllowMultiple=false)]
public sealed class DelegateProxyAttribute : Attribute
type DelegateProxyAttribute = class
inherit Attribute
- Inheritance
-
DelegateProxyAttribute
- Attributes
Remarks
This type is used by the internals of Xamarin.iOS.
This attribute is applied on return types and is used by the Xamarin.iOS runtime to locate the helper class that is used to turn a managed delegate into an Objective-C block that can later be invoked by native code to trigger a managed execution.
Constructors
DelegateProxyAttribute(Type) |
Specifies the delegate type that is used to proxy managed delegates into Objective-C blocks. |
Properties
DelegateType |
The delegate type that is used to proxy managed delegates into Objective-C blocks. |