Skip to content

Instantly share code, notes, and snippets.

@vs-mobiletools-engineering-service2
Created June 5, 2024 18:03
Show Gist options
  • Save vs-mobiletools-engineering-service2/d213e9aa8223b66ea8d2c97075154ea5 to your computer and use it in GitHub Desktop.
Save vs-mobiletools-engineering-service2/d213e9aa8223b66ea8d2c97075154ea5 to your computer and use it in GitHub Desktop.
generator-diff/generator.diff
This file has been truncated, but you can view the full file.
diff --git a/old/Constants.ios.generated.cs b/new/Constants.ios.generated.cs
index 0430054..275d796 100644
--- a/old/Constants.ios.generated.cs
+++ b/new/Constants.ios.generated.cs
@@ -134,6 +134,7 @@ namespace ObjCRuntime {
// iOS 13.0
public const string BackgroundTasksLibrary = "/System/Library/Frameworks/BackgroundTasks.framework/BackgroundTasks";
public const string CoreHapticsLibrary = "/System/Library/Frameworks/CoreHaptics.framework/CoreHaptics";
+ public const string CryptoTokenKitLibrary = "/System/Library/Frameworks/CryptoTokenKit.framework/CryptoTokenKit";
public const string LinkPresentationLibrary = "/System/Library/Frameworks/LinkPresentation.framework/LinkPresentation";
public const string MetricKitLibrary = "/System/Library/Frameworks/MetricKit.framework/MetricKit";
public const string PencilKitLibrary = "/System/Library/Frameworks/PencilKit.framework/PencilKit";
diff --git a/old/Constants.tvos.generated.cs b/new/Constants.tvos.generated.cs
index be0cc8f..61d87ce 100644
--- a/old/Constants.tvos.generated.cs
+++ b/new/Constants.tvos.generated.cs
@@ -78,6 +78,7 @@ namespace ObjCRuntime {
// TVOS 13.0
public const string AuthenticationServicesLibrary = "/System/Library/Frameworks/AuthenticationServices.framework/AuthenticationServices";
public const string BackgroundTasksLibrary = "/System/Library/Frameworks/BackgroundTasks.framework/BackgroundTasks";
+ public const string CryptoTokenKitLibrary = "/System/Library/Frameworks/CryptoTokenKit.framework/CryptoTokenKit";
public const string SoundAnalysisLibrary = "/System/Library/Frameworks/SoundAnalysis.framework/SoundAnalysis";
// TVOS 14.0
diff --git a/old/Constants.watchos.generated.cs b/new/Constants.watchos.generated.cs
index 7d8b99b..901bb49 100644
--- a/old/Constants.watchos.generated.cs
+++ b/new/Constants.watchos.generated.cs
@@ -64,6 +64,7 @@ namespace ObjCRuntime {
// WatchOS 8.0
public const string ChipLibrary = "/System/Library/Frameworks/CHIP.framework/CHIP";
public const string CoreMidiLibrary = "/System/Library/Frameworks/CoreMIDI.framework/CoreMIDI";
+ public const string CryptoTokenKitLibrary = "/System/Library/Frameworks/CryptoTokenKit.framework/CryptoTokenKit";
public const string NearbyInteractionLibrary = "/System/Library/Frameworks/NearbyInteraction.framework/NearbyInteraction";
public const string OSLogLibrary = "/System/Library/Frameworks/OSLog.framework/OSLog";
public const string ShazamKitLibrary = "/System/Library/Frameworks/ShazamKit.framework/ShazamKit";
diff --git a/old/dotnet/Constants.ios.generated.cs b/new/dotnet/Constants.ios.generated.cs
index c0cdc4f..925a0d7 100644
--- a/old/dotnet/Constants.ios.generated.cs
+++ b/new/dotnet/Constants.ios.generated.cs
@@ -133,6 +133,7 @@ namespace ObjCRuntime {
// iOS 13.0
public const string BackgroundTasksLibrary = "/System/Library/Frameworks/BackgroundTasks.framework/BackgroundTasks";
public const string CoreHapticsLibrary = "/System/Library/Frameworks/CoreHaptics.framework/CoreHaptics";
+ public const string CryptoTokenKitLibrary = "/System/Library/Frameworks/CryptoTokenKit.framework/CryptoTokenKit";
public const string LinkPresentationLibrary = "/System/Library/Frameworks/LinkPresentation.framework/LinkPresentation";
public const string MetricKitLibrary = "/System/Library/Frameworks/MetricKit.framework/MetricKit";
public const string PencilKitLibrary = "/System/Library/Frameworks/PencilKit.framework/PencilKit";
diff --git a/old/dotnet/Constants.maccatalyst.generated.cs b/new/dotnet/Constants.maccatalyst.generated.cs
index aaf774b..8ce71d2 100644
--- a/old/dotnet/Constants.maccatalyst.generated.cs
+++ b/new/dotnet/Constants.maccatalyst.generated.cs
@@ -40,6 +40,7 @@ namespace ObjCRuntime {
public const string CoreSpotlightLibrary = "/System/Library/Frameworks/CoreSpotlight.framework/CoreSpotlight";
public const string CoreTextLibrary = "/System/Library/Frameworks/CoreText.framework/CoreText";
public const string CoreVideoLibrary = "/System/Library/Frameworks/CoreVideo.framework/CoreVideo";
+ public const string CryptoTokenKitLibrary = "/System/Library/Frameworks/CryptoTokenKit.framework/CryptoTokenKit";
public const string DeviceCheckLibrary = "/System/Library/Frameworks/DeviceCheck.framework/DeviceCheck";
public const string EventKitLibrary = "/System/Library/Frameworks/EventKit.framework/EventKit";
public const string EventKitUILibrary = "/System/Library/Frameworks/EventKitUI.framework/EventKitUI";
diff --git a/old/dotnet/Constants.tvos.generated.cs b/new/dotnet/Constants.tvos.generated.cs
index 6ff6f00..d8726f7 100644
--- a/old/dotnet/Constants.tvos.generated.cs
+++ b/new/dotnet/Constants.tvos.generated.cs
@@ -78,6 +78,7 @@ namespace ObjCRuntime {
// TVOS 13.0
public const string AuthenticationServicesLibrary = "/System/Library/Frameworks/AuthenticationServices.framework/AuthenticationServices";
public const string BackgroundTasksLibrary = "/System/Library/Frameworks/BackgroundTasks.framework/BackgroundTasks";
+ public const string CryptoTokenKitLibrary = "/System/Library/Frameworks/CryptoTokenKit.framework/CryptoTokenKit";
public const string SoundAnalysisLibrary = "/System/Library/Frameworks/SoundAnalysis.framework/SoundAnalysis";
// TVOS 14.0
diff --git a/old/dotnet/IDE/obj/common/bgen/bgen.AssemblyInfo.cs b/new/dotnet/IDE/obj/common/bgen/bgen.AssemblyInfo.cs
index 0ade8a9..dbcf71a 100644
--- a/old/dotnet/IDE/obj/common/bgen/bgen.AssemblyInfo.cs
+++ b/new/dotnet/IDE/obj/common/bgen/bgen.AssemblyInfo.cs
@@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("bgen")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
-[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+56496f200cc430a0f7728f87e86c01843eb4a0a5")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+0e537376a44aeffc2a2d4c2297528b3653c0ce96")]
[assembly: System.Reflection.AssemblyProductAttribute("bgen")]
[assembly: System.Reflection.AssemblyTitleAttribute("bgen")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
diff --git a/old/dotnet/IDE/obj/common/bgen/bgen.sourcelink.json b/new/dotnet/IDE/obj/common/bgen/bgen.sourcelink.json
index 9eabed8..14b6831 100644
--- a/old/dotnet/IDE/obj/common/bgen/bgen.sourcelink.json
+++ b/new/dotnet/IDE/obj/common/bgen/bgen.sourcelink.json
@@ -1 +1 @@
-{"documents":{"/Users/builder/azdo/_work/3/a/change-detection/tmp/src/xamarin-macios/*":"https://raw.githubusercontent.com/xamarin/xamarin-macios/56496f200cc430a0f7728f87e86c01843eb4a0a5/*","/Users/builder/azdo/_work/3/a/change-detection/tmp/src/xamarin-macios/external/api-tools/*":"https://raw.githubusercontent.com/xamarin/api-tools/1fbbe003a141231439c08b23989d3dc910bd6182/*","/Users/builder/azdo/_work/3/a/change-detection/tmp/src/xamarin-macios/external/macios-binaries/*":"https://raw.githubusercontent.com/xamarin/macios-binaries/7813391e75d7373ee073ef2d5716e3c607c8636a/*","/Users/builder/azdo/_work/3/a/change-detection/tmp/src/xamarin-macios/external/MonoTouch.Dialog/*":"https://raw.githubusercontent.com/xamarin/MonoTouch.Dialog/77b3337dbbc9e3e2f1b06dab3d37d2822488b0b3/*","/Users/builder/azdo/_work/3/a/change-detection/tmp/src/xamarin-macios/external/opentk/*":"https://raw.githubusercontent.com/mono/opentk/396bc90c7ac2e7ce442840a5e8bd91e5e79b381e/*","/Users/builder/azdo/_work/3/a/change-detection/tmp/src/xamarin-macios/external/Touch.Unit/*":"https://raw.githubusercontent.com/xamarin/Touch.Unit/92a072683b69b2f61f235a7a249c2c7f261236d4/*","/Users/builder/azdo/_work/3/a/change-detection/tmp/src/xamarin-macios/external/Xamarin.MacDev/*":"https://raw.githubusercontent.com/xamarin/Xamarin.MacDev/4cb9dc263251f8c8eac41b95a857f37025974599/*"}}
\ No newline at end of file
+{"documents":{"/Users/builder/azdo/_work/3/s/xamarin-macios/*":"https://raw.githubusercontent.com/xamarin/xamarin-macios/0e537376a44aeffc2a2d4c2297528b3653c0ce96/*","/Users/builder/azdo/_work/3/s/xamarin-macios/external/api-tools/*":"https://raw.githubusercontent.com/xamarin/api-tools/1fbbe003a141231439c08b23989d3dc910bd6182/*","/Users/builder/azdo/_work/3/s/xamarin-macios/external/macios-binaries/*":"https://raw.githubusercontent.com/xamarin/macios-binaries/7813391e75d7373ee073ef2d5716e3c607c8636a/*","/Users/builder/azdo/_work/3/s/xamarin-macios/external/MonoTouch.Dialog/*":"https://raw.githubusercontent.com/xamarin/MonoTouch.Dialog/77b3337dbbc9e3e2f1b06dab3d37d2822488b0b3/*","/Users/builder/azdo/_work/3/s/xamarin-macios/external/opentk/*":"https://raw.githubusercontent.com/mono/opentk/396bc90c7ac2e7ce442840a5e8bd91e5e79b381e/*","/Users/builder/azdo/_work/3/s/xamarin-macios/external/Touch.Unit/*":"https://raw.githubusercontent.com/xamarin/Touch.Unit/92a072683b69b2f61f235a7a249c2c7f261236d4/*","/Users/builder/azdo/_work/3/s/xamarin-macios/external/Xamarin.MacDev/*":"https://raw.githubusercontent.com/xamarin/Xamarin.MacDev/4cb9dc263251f8c8eac41b95a857f37025974599/*"}}
\ No newline at end of file
diff --git a/old/dotnet/ios/SourceLink.json b/new/dotnet/ios/SourceLink.json
index d8d9785..e84d4f7 100644
--- a/old/dotnet/ios/SourceLink.json
+++ b/new/dotnet/ios/SourceLink.json
@@ -1,5 +1,5 @@
{
"documents": {
- "/Users/builder/azdo/_work/3/a/change-detection/tmp/src/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/56496f200cc430a0f7728f87e86c01843eb4a0a5/src*"
+ "/Users/builder/azdo/_work/3/s/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/0e537376a44aeffc2a2d4c2297528b3653c0ce96/src*"
}
}
diff --git a/old/dotnet/ios/doc/Microsoft.iOS.xml b/new/dotnet/ios/doc/Microsoft.iOS.xml
index 3b647ed..fe236cd 100644
--- a/old/dotnet/ios/doc/Microsoft.iOS.xml
+++ b/new/dotnet/ios/doc/Microsoft.iOS.xml
@@ -303040,6 +303040,2495 @@
</para>
</remarks>
</member>
+ <member name="P:CryptoTokenKit.TKBerTlvRecord.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKBerTlvRecord.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKBerTlvRecord" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKBerTlvRecord.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKBerTlvRecord.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKCompactTlvRecord.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKCompactTlvRecord.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKCompactTlvRecord" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKCompactTlvRecord.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKCompactTlvRecord.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="T:CryptoTokenKit.TKErrorCodeExtensions">
+ <summary>Extension methods for the <see cref="T:CryptoTokenKit.TKErrorCode" /> enumeration.</summary>
+ <remarks>
+ <para>The extension method for the <see cref="T:CryptoTokenKit.TKErrorCode" /> enumeration can be used to fetch the error domain associated with these error codes.</para>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKErrorCodeExtensions.GetDomain(CryptoTokenKit.TKErrorCode)">
+ <summary>Returns the error domain associated with the CryptoTokenKit.TKErrorCode value</summary>
+ <param name="self">The enumeration value</param>
+ <remarks>
+ <para>See the <see cref="T:Foundation.NSError" /> for information on how to use the error domains when reporting errors.</para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKSimpleTlvRecord.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSimpleTlvRecord.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKSimpleTlvRecord" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKSimpleTlvRecord.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSimpleTlvRecord.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCard.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCard.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKSmartCard" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCard.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCard.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardAtr.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardAtr.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardAtr.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardAtrInterfaceGroup.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardAtrInterfaceGroup.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKSmartCardAtrInterfaceGroup" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardAtrInterfaceGroup.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardAtrInterfaceGroup.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardPinFormat.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardPinFormat.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKSmartCardPinFormat" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardPinFormat.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardPinFormat.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardSlot.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardSlot.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKSmartCardSlot" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardSlot.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardSlot.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardSlotManager.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardSlotManager.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardSlotManager.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardToken.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardToken.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKSmartCardToken" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardToken.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardToken.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardTokenDriver.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardTokenDriver.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKSmartCardTokenDriver" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardTokenDriver.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardTokenDriver.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardTokenSession.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardTokenSession.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKSmartCardTokenSession" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardTokenSession.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardTokenSession.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardUserInteraction.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardUserInteraction.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKSmartCardUserInteraction" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardUserInteraction.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardUserInteraction.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="T:CryptoTokenKit.TKSmartCardUserInteractionDelegate_Extensions">
+ <summary>Extension methods to the <see cref="T:CryptoTokenKit.ITKSmartCardUserInteractionDelegate" /> interface to support all the methods from the TKSmartCardUserInteractionDelegate protocol.</summary>
+ <remarks>
+ <para>The extension methods for <see cref="T:CryptoTokenKit.ITKSmartCardUserInteractionDelegate" /> interface allow developers to treat instances of the interface as having all the optional methods of the original TKSmartCardUserInteractionDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.</para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardUserInteractionForPinOperation.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardUserInteractionForPinOperation.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKSmartCardUserInteractionForPinOperation" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardUserInteractionForPinOperation.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardUserInteractionForPinOperation.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardUserInteractionForSecurePinChange.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardUserInteractionForSecurePinChange.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKSmartCardUserInteractionForSecurePinChange" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardUserInteractionForSecurePinChange.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardUserInteractionForSecurePinChange.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardUserInteractionForSecurePinVerification.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardUserInteractionForSecurePinVerification.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKSmartCardUserInteractionForSecurePinVerification" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardUserInteractionForSecurePinVerification.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardUserInteractionForSecurePinVerification.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKTlvRecord.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTlvRecord.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTlvRecord.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKToken.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKToken.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKToken.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenAuthOperation.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenAuthOperation.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKTokenAuthOperation" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenAuthOperation.#ctor(Foundation.NSCoder)">
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ <param name="coder">The unarchiver object.</param>
+ <remarks>
+ <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="T:Foundation.NSCoding" /> protocol.</para>
+ <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="T:Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenAuthOperation.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenAuthOperation.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenConfiguration.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenConfiguration.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenConfiguration.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="T:CryptoTokenKit.TKTokenDelegate_Extensions">
+ <summary>Extension methods to the <see cref="T:CryptoTokenKit.ITKTokenDelegate" /> interface to support all the methods from the TKTokenDelegate protocol.</summary>
+ <remarks>
+ <para>The extension methods for <see cref="T:CryptoTokenKit.ITKTokenDelegate" /> interface allow developers to treat instances of the interface as having all the optional methods of the original TKTokenDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.</para>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenDelegate.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKTokenDelegate" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenDelegate.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenDelegate.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenDriver.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenDriver.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKTokenDriver" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenDriver.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenDriver.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenDriverConfiguration.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenDriverConfiguration.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenDriverConfiguration.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="T:CryptoTokenKit.TKTokenDriverDelegate_Extensions">
+ <summary>Extension methods to the <see cref="T:CryptoTokenKit.ITKTokenDriverDelegate" /> interface to support all the methods from the TKTokenDriverDelegate protocol.</summary>
+ <remarks>
+ <para>The extension methods for <see cref="T:CryptoTokenKit.ITKTokenDriverDelegate" /> interface allow developers to treat instances of the interface as having all the optional methods of the original TKTokenDriverDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.</para>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenDriverDelegate.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKTokenDriverDelegate" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenDriverDelegate.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenDriverDelegate.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenKeyAlgorithm.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeyAlgorithm.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeyAlgorithm.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenKeychainCertificate.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeychainCertificate.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKTokenKeychainCertificate" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeychainCertificate.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeychainCertificate.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenKeychainContents.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeychainContents.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeychainContents.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenKeychainItem.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeychainItem.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeychainItem.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenKeychainKey.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeychainKey.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKTokenKeychainKey" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeychainKey.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeychainKey.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenKeyExchangeParameters.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeyExchangeParameters.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKTokenKeyExchangeParameters" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeyExchangeParameters.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeyExchangeParameters.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenPasswordAuthOperation.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenPasswordAuthOperation.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKTokenPasswordAuthOperation" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenPasswordAuthOperation.#ctor(Foundation.NSCoder)">
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ <param name="coder">The unarchiver object.</param>
+ <remarks>
+ <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="T:Foundation.NSCoding" /> protocol.</para>
+ <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="T:Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenPasswordAuthOperation.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenPasswordAuthOperation.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenSession.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenSession.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenSession.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="T:CryptoTokenKit.TKTokenSessionDelegate_Extensions">
+ <summary>Extension methods to the <see cref="T:CryptoTokenKit.ITKTokenSessionDelegate" /> interface to support all the methods from the TKTokenSessionDelegate protocol.</summary>
+ <remarks>
+ <para>The extension methods for <see cref="T:CryptoTokenKit.ITKTokenSessionDelegate" /> interface allow developers to treat instances of the interface as having all the optional methods of the original TKTokenSessionDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.</para>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenSessionDelegate.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKTokenSessionDelegate" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenSessionDelegate.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenSessionDelegate.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenSmartCardPinAuthOperation.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenSmartCardPinAuthOperation.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKTokenSmartCardPinAuthOperation" /> with default values.</summary>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenSmartCardPinAuthOperation.#ctor(Foundation.NSCoder)">
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ <param name="coder">The unarchiver object.</param>
+ <remarks>
+ <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="T:Foundation.NSCoding" /> protocol.</para>
+ <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="T:Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenSmartCardPinAuthOperation.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenSmartCardPinAuthOperation.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenWatcher.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenWatcher.#ctor">
+ <summary>Creates a new <see cref="T:CryptoTokenKit.TKTokenWatcher" /> with default values.</summary>
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenwatcher/1641147-init</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenWatcher.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenWatcher.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenWatcherTokenInfo.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenWatcherTokenInfo.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenWatcherTokenInfo.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
<member name="P:DeviceCheck.DCAppAttestService.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
@@ -332492,6 +334981,492 @@
<member name="P:CoreLocationUI.CLLocationButton.Label">
<appledoc>https://developer.apple.com/documentation/corelocationui/cllocationbutton/3751992-label</appledoc>
</member>
+ <member name="T:CryptoTokenKit.TKBerTlvRecord">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tkbertlvrecord</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKBerTlvRecord.#ctor(System.UInt64,Foundation.NSData)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tkbertlvrecord/1791959-initwithtag</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKBerTlvRecord.#ctor(System.UInt64,CryptoTokenKit.TKTlvRecord[])">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tkbertlvrecord/1791980-initwithtag</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKBerTlvRecord.GetData(System.UInt64)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tkbertlvrecord/1791996-datafortag</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKCompactTlvRecord">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tkcompacttlvrecord</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKCompactTlvRecord.#ctor(System.Byte,Foundation.NSData)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tkcompacttlvrecord/1791994-initwithtag</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKSimpleTlvRecord">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksimpletlvrecord</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKSimpleTlvRecord.#ctor(System.Byte,Foundation.NSData)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksimpletlvrecord/1791974-initwithtag</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKSmartCard">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcard</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCard.BeginSession(System.Action{System.Boolean,Foundation.NSError})">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcard/1390168-beginsessionwithreply</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCard.CreateUserInteractionForSecurePinChange(CryptoTokenKit.TKSmartCardPinFormat,Foundation.NSData,System.IntPtr,System.IntPtr)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcard/1390312-userinteractionforsecurepinchang</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCard.CreateUserInteractionForSecurePinVerification(CryptoTokenKit.TKSmartCardPinFormat,Foundation.NSData,System.IntPtr)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcard/1390289-userinteractionforsecurepinverif</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCard.EndSession">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcard/1390271-endsession</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCard.ExecuteBlock(Foundation.NSError@,CryptoTokenKit.TKSmartCardExecuteCallback)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcard/1773461-insessionwitherror</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCard.Send(System.Byte,System.Byte,System.Byte,Foundation.NSData,Foundation.NSNumber,CryptoTokenKit.TKSmartCardSendCallback)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcard/1390283-sendins</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCard.Send(System.Byte,System.Byte,System.Byte,Foundation.NSData,Foundation.NSNumber,System.UInt16@,Foundation.NSError@)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcard/1778266-sendins</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCard.TransmitRequest(Foundation.NSData,System.Action{Foundation.NSData,Foundation.NSError})">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcard/1390161-transmitrequest</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCard.AllowedProtocols">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcard/1390253-allowedprotocols</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCard.Cla">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcard/1390158-cla</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCard.Context">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcard/1390243-context</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCard.CurrentProtocol">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcard/1390172-currentprotocol</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCard.Sensitive">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcard/1390216-sensitive</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCard.Slot">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcard/1390281-slot</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCard.UseCommandChaining">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcard/1773460-usecommandchaining</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCard.UseExtendedLength">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcard/1390239-useextendedlength</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCard.Valid">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcard/1390194-valid</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKSmartCardAtr">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardatr</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardAtr.#ctor(Foundation.NSData)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardatr/1403560-initwithbytes</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardAtr.#ctor(System.Func{System.Int32})">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardatr/1403516-initwithsource</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardAtr.GetInterfaceGroup(System.IntPtr)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardatr/1403537-interfacegroupatindex</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardAtr.GetInterfaceGroup(CryptoTokenKit.TKSmartCardProtocol)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardatr/1403483-interfacegroupforprotocol</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardAtr.Bytes">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardatr/1403518-bytes</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardAtr.HistoricalBytes">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardatr/1403513-historicalbytes</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardAtr.HistoricalRecords">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardatr/1791962-historicalrecords</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardAtr.Protocols">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardatr/1403472-protocols</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKSmartCardAtrInterfaceGroup">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardatrinterfacegroup</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardAtrInterfaceGroup.Protocol">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardatrinterfacegroup/1403429-protocol</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardAtrInterfaceGroup.TA">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardatrinterfacegroup/1403499-ta</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardAtrInterfaceGroup.TB">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardatrinterfacegroup/1403452-tb</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardAtrInterfaceGroup.TC">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardatrinterfacegroup/1403438-tc</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKSmartCardPinFormat">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardpinformat</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardPinFormat.Charset">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardpinformat/1390176-charset</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardPinFormat.Encoding">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardpinformat/1390241-encoding</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardPinFormat.MaxPinLength">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardpinformat/1390182-maxpinlength</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardPinFormat.MinPinLength">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardpinformat/1390188-minpinlength</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardPinFormat.PinBitOffset">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardpinformat/1390269-pinbitoffset</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardPinFormat.PinBlockByteLength">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardpinformat/1390198-pinblockbytelength</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardPinFormat.PinJustification">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardpinformat/1390190-pinjustification</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardPinFormat.PinLengthBitOffset">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardpinformat/1390291-pinlengthbitoffset</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardPinFormat.PinLengthBitSize">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardpinformat/1390314-pinlengthbitsize</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKSmartCardSlot">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardslot</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardSlot.MakeSmartCard">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardslot/1390225-makesmartcard</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardSlot.Atr">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardslot/1390285-atr</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardSlot.MaxInputLength">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardslot/1390302-maxinputlength</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardSlot.MaxOutputLength">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardslot/1390170-maxoutputlength</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardSlot.Name">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardslot/1390186-name</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardSlot.State">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardslot/1390293-state</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKSmartCardSlotManager">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardslotmanager</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardSlotManager.GetSlot(System.String,CryptoTokenKit.TKGetSlotCallback)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardslotmanager/1390265-getslotwithname</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardSlotManager.GetSlot(System.String)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardslotmanager/2876162-slotnamed</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardSlotManager.DefaultManager">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardslotmanager/1390245-defaultmanager</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardSlotManager.SlotNames">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardslotmanager/1390156-slotnames</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKSmartCardToken">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardtoken</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardToken.#ctor(CryptoTokenKit.TKSmartCard,Foundation.NSData,System.String,CryptoTokenKit.TKSmartCardTokenDriver)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardtoken/1778164-initwithsmartcard</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardToken.Aid">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardtoken/1773457-aid</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKSmartCardTokenDriver">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardtokendriver</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKSmartCardTokenSession">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardtokensession</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardTokenSession.SmartCard">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcardtokensession/1773453-smartcard</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKSmartCardUserInteraction">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcarduserinteraction</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardUserInteraction.Cancel">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcarduserinteraction/1390231-cancel</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKSmartCardUserInteraction.Run(System.Action{System.Boolean,Foundation.NSError})">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcarduserinteraction/1390212-runwithreply</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardUserInteraction.InitialTimeout">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcarduserinteraction/1390178-initialtimeout</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardUserInteraction.InteractionTimeout">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcarduserinteraction/1390206-interactiontimeout</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardUserInteraction.WeakDelegate">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcarduserinteraction/1390166-delegate</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKSmartCardUserInteractionForPinOperation">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcarduserinteractionforpinoperation</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardUserInteractionForPinOperation.Locale">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcarduserinteractionforpinoperation/1390202-locale</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardUserInteractionForPinOperation.PinCompletion">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcarduserinteractionforpinoperation/1390184-pincompletion</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardUserInteractionForPinOperation.PinMessageIndices">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcarduserinteractionforpinoperation/1390192-pinmessageindices</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardUserInteractionForPinOperation.ResultData">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcarduserinteractionforpinoperation/1390308-resultdata</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardUserInteractionForPinOperation.ResultSW">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcarduserinteractionforpinoperation/1390200-resultsw</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKSmartCardUserInteractionForSecurePinChange">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcarduserinteractionforsecurepinchange</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKSmartCardUserInteractionForSecurePinChange.PinConfirmation">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcarduserinteractionforsecurepinchange/1390310-pinconfirmation</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKSmartCardUserInteractionForSecurePinVerification">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tksmartcarduserinteractionforsecurepinverification</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKTlvRecord">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktlvrecord</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKTlvRecord.CreateRecord(Foundation.NSData)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktlvrecord/1773444-recordfromdata</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKTlvRecord.CreateSequenceOfRecords(Foundation.NSData)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktlvrecord/1773446-sequenceofrecordsfromdata</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTlvRecord.Data">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktlvrecord/1791946-data</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTlvRecord.Tag">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktlvrecord/1791953-tag</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTlvRecord.Value">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktlvrecord/1791968-value</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKToken">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktoken</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKToken.#ctor(CryptoTokenKit.TKTokenDriver,System.String)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktoken/1791958-initwithtokendriver</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKToken.Configuration">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktoken/3180433-configuration</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKToken.KeychainContents">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktoken/1773447-keychaincontents</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKToken.TokenDriver">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktoken/1773445-tokendriver</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKToken.WeakDelegate">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktoken/1791954-delegate</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKTokenAuthOperation">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenauthoperation</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenAuthOperation.Finish(Foundation.NSError@)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenauthoperation/1773440-finishwitherror</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKTokenConfiguration">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenconfiguration</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenConfiguration.GetCertificate(Foundation.NSObject,Foundation.NSError@)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenconfiguration/3180435-certificateforobjectid</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenConfiguration.GetKey(Foundation.NSObject,Foundation.NSError@)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenconfiguration/3180437-keyforobjectid</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenConfiguration.ConfigurationData">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenconfiguration/3191934-configurationdata</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenConfiguration.InstanceId">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenconfiguration/3142277-instanceid</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenConfiguration.KeychainItems">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenconfiguration/3180438-keychainitems</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKTokenDriver">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokendriver</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenDriver.WeakDelegate">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokendriver/1773437-delegate</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKTokenDriverConfiguration">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokendriverconfiguration</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenDriverConfiguration.AddTokenConfiguration(System.String)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokendriverconfiguration/3191935-addtokenconfigurationfortokenins</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenDriverConfiguration.RemoveTokenConfiguration(System.String)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokendriverconfiguration/3191937-removetokenconfigurationfortoken</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenDriverConfiguration.ClassId">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokendriverconfiguration/3180441-classid</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenDriverConfiguration.DriverConfigurations">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokendriverconfiguration/3191936-driverconfigurations</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenDriverConfiguration.TokenConfigurations">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokendriverconfiguration/3180444-tokenconfigurations</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKTokenKeyAlgorithm">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeyalgorithm</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeyAlgorithm.IsAlgorithm(Security.SecKeyAlgorithm)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeyalgorithm/1773432-isalgorithm</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeyAlgorithm.SupportsAlgorithm(Security.SecKeyAlgorithm)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeyalgorithm/1773433-supportsalgorithm</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKTokenKeychainCertificate">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeychaincertificate</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeychainCertificate.#ctor(Security.SecKeyAlgorithm,Foundation.NSObject)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeychaincertificate/1641929-initwithcertificate</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenKeychainCertificate.Data">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeychaincertificate/1773426-data</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKTokenKeychainContents">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeychaincontents</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeychainContents.Fill(CryptoTokenKit.TKTokenKeychainItem[])">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeychaincontents/1773427-fillwithitems</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeychainContents.GetCertificate(Foundation.NSObject,Foundation.NSError@)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeychaincontents/1773431-certificateforobjectid</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeychainContents.GetKey(Foundation.NSObject,Foundation.NSError@)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeychaincontents/1773429-keyforobjectid</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenKeychainContents.Items">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeychaincontents/1773428-items</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKTokenKeychainItem">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeychainitem</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeychainItem.#ctor(Foundation.NSObject)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeychainitem/1773423-initwithobjectid</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenKeychainItem.Constraints">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeychainitem/1773425-constraints</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenKeychainItem.Label">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeychainitem/1641926-label</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenKeychainItem.ObjectId">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeychainitem/1641927-objectid</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKTokenKeychainKey">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeychainkey</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenKeychainKey.#ctor(System.IntPtr,Foundation.NSObject)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeychainkey/1641930-initwithcertificate</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenKeychainKey.ApplicationTag">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeychainkey/1641921-applicationtag</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenKeychainKey.CanDecrypt">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeychainkey/1641923-candecrypt</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenKeychainKey.CanPerformKeyExchange">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeychainkey/1641924-canperformkeyexchange</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenKeychainKey.CanSign">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeychainkey/1641925-cansign</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenKeychainKey.KeySizeInBits">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeychainkey/1641934-keysizeinbits</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenKeychainKey.KeyType">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeychainkey/1641935-keytype</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenKeychainKey.PublicKeyData">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeychainkey/1773421-publickeydata</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenKeychainKey.PublicKeyHash">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeychainkey/1791971-publickeyhash</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKTokenKeyExchangeParameters">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeyexchangeparameters</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenKeyExchangeParameters.RequestedSize">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeyexchangeparameters/1642158-requestedsize</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenKeyExchangeParameters.SharedInfo">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenkeyexchangeparameters/1642150-sharedinfo</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKTokenPasswordAuthOperation">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenpasswordauthoperation</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenPasswordAuthOperation.Password">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenpasswordauthoperation/1642168-password</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKTokenSession">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokensession</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenSession.#ctor(CryptoTokenKit.TKToken)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokensession/1791976-initwithtoken</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenSession.Token">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokensession/1791949-token</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenSession.WeakDelegate">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokensession/1773413-delegate</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKTokenSmartCardPinAuthOperation">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokensmartcardpinauthoperation</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenSmartCardPinAuthOperation.ApduTemplate">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokensmartcardpinauthoperation/1642174-apdutemplate</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenSmartCardPinAuthOperation.Pin">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokensmartcardpinauthoperation/1642146-pin</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenSmartCardPinAuthOperation.PinByteOffset">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokensmartcardpinauthoperation/1642178-pinbyteoffset</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenSmartCardPinAuthOperation.PinFormat">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokensmartcardpinauthoperation/1642153-pinformat</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenSmartCardPinAuthOperation.SmartCard">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokensmartcardpinauthoperation/1642172-smartcard</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKTokenWatcher">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenwatcher</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenWatcher.#ctor(System.Action{Foundation.NSString})">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenwatcher/1641143-initwithinsertionhandler</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenWatcher.AddRemovalHandler(System.Action{Foundation.NSString},System.String)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenwatcher/1641144-addremovalhandler</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenWatcher.GetTokenInfo(System.String)">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenwatcher/3750394-tokeninfofortokenid</appledoc>
+ </member>
+ <member name="M:CryptoTokenKit.TKTokenWatcher.SetInsertionHandler(System.Action{Foundation.NSString})">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenwatcher/2869603-setinsertionhandler</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenWatcher.TokenIds">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenwatcher/1641142-tokenids</appledoc>
+ </member>
+ <member name="T:CryptoTokenKit.TKTokenWatcherTokenInfo">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenwatchertokeninfo</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenWatcherTokenInfo.DriverName">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenwatchertokeninfo/3750396-drivername</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenWatcherTokenInfo.SlotName">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenwatchertokeninfo/3750397-slotname</appledoc>
+ </member>
+ <member name="P:CryptoTokenKit.TKTokenWatcherTokenInfo.TokenId">
+ <appledoc>https://developer.apple.com/documentation/cryptotokenkit/tktokenwatchertokeninfo/3750398-tokenid</appledoc>
+ </member>
<member name="T:DeviceCheck.DCAppAttestService">
<appledoc>https://developer.apple.com/documentation/devicecheck/dcappattestservice</appledoc>
</member>
diff --git a/old/dotnet/ios/generated-sources/ARKit/ARReferenceObject.g.cs b/new/dotnet/ios/generated-sources/ARKit/ARReferenceObject.g.cs
index 6c440f1..f67fe08 100644
--- a/old/dotnet/ios/generated-sources/ARKit/ARReferenceObject.g.cs
+++ b/new/dotnet/ios/generated-sources/ARKit/ARReferenceObject.g.cs
@@ -151,7 +151,7 @@ namespace ARKit {
[Export ("initWithArchiveURL:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public ARReferenceObject (NSUrl archiveUrl, out NSError? error)
+ public unsafe ARReferenceObject (NSUrl archiveUrl, out NSError? error)
: base (NSObjectFlag.Empty)
{
var archiveUrl__handle__ = archiveUrl!.GetNonNullHandle (nameof (archiveUrl));
@@ -190,7 +190,7 @@ namespace ARKit {
}
[Export ("exportObjectToURL:previewImage:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool Export (NSUrl url, global::UIKit.UIImage? previewImage, out NSError? error)
+ public unsafe virtual bool Export (NSUrl url, global::UIKit.UIImage? previewImage, out NSError? error)
{
var url__handle__ = url!.GetNonNullHandle (nameof (url));
var previewImage__handle__ = previewImage.GetHandle ();
@@ -219,7 +219,7 @@ namespace ARKit {
}
[Export ("referenceObjectByMergingObject:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual ARReferenceObject? Merge (ARReferenceObject @object, out NSError? error)
+ public unsafe virtual ARReferenceObject? Merge (ARReferenceObject @object, out NSError? error)
{
var @object__handle__ = @object!.GetNonNullHandle (nameof (@object));
NativeHandle errorValue = IntPtr.Zero;
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAsset.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAsset.g.cs
index cc1a8f2..9688917 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAsset.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAsset.g.cs
@@ -604,7 +604,7 @@ namespace AVFoundation {
}
[Export ("statusOfValueForKey:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual AVKeyValueStatus StatusOfValue (string key, out NSError error)
+ public unsafe virtual AVKeyValueStatus StatusOfValue (string key, out NSError error)
{
if (key is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (key));
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAssetImageGenerator.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAssetImageGenerator.g.cs
index 86e1bf4..ba76465 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAssetImageGenerator.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAssetImageGenerator.g.cs
@@ -164,7 +164,7 @@ namespace AVFoundation {
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("maccatalyst")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual CGImage? CopyCGImageAtTime (global::CoreMedia.CMTime requestedTime, out global::CoreMedia.CMTime actualTime, out NSError outError)
+ public unsafe virtual CGImage? CopyCGImageAtTime (global::CoreMedia.CMTime requestedTime, out global::CoreMedia.CMTime actualTime, out NSError outError)
{
NativeHandle outErrorValue = IntPtr.Zero;
actualTime = default (global::CoreMedia.CMTime);
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAssetReader.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAssetReader.g.cs
index 9b1ef62..7ee6f8e 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAssetReader.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAssetReader.g.cs
@@ -133,7 +133,7 @@ namespace AVFoundation {
[Export ("initWithAsset:error:")]
[DesignatedInitializer]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public AVAssetReader (AVAsset asset, out NSError error)
+ public unsafe AVAssetReader (AVAsset asset, out NSError error)
: base (NSObjectFlag.Empty)
{
var asset__handle__ = asset!.GetNonNullHandle (nameof (asset));
@@ -181,7 +181,7 @@ namespace AVFoundation {
}
[Export ("assetReaderWithAsset:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static AVAssetReader? FromAsset (AVAsset asset, out NSError error)
+ public unsafe static AVAssetReader? FromAsset (AVAsset asset, out NSError error)
{
var asset__handle__ = asset!.GetNonNullHandle (nameof (asset));
NativeHandle errorValue = IntPtr.Zero;
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAssetResourceLoadingRequest.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAssetResourceLoadingRequest.g.cs
index 9fb5162..05fd0ae 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAssetResourceLoadingRequest.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAssetResourceLoadingRequest.g.cs
@@ -182,7 +182,7 @@ namespace AVFoundation {
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual NSData? GetPersistentContentKey (NSData keyVendorResponse, NSDictionary<NSString, NSObject>? options, out NSError error)
+ public unsafe virtual NSData? GetPersistentContentKey (NSData keyVendorResponse, NSDictionary<NSString, NSObject>? options, out NSError error)
{
var keyVendorResponse__handle__ = keyVendorResponse!.GetNonNullHandle (nameof (keyVendorResponse));
var options__handle__ = options.GetHandle ();
@@ -206,7 +206,7 @@ namespace AVFoundation {
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("maccatalyst")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual NSData? GetStreamingContentKey (NSData appIdentifier, NSData contentIdentifier, NSDictionary? options, out NSError error)
+ public unsafe virtual NSData? GetStreamingContentKey (NSData appIdentifier, NSData contentIdentifier, NSDictionary? options, out NSError error)
{
var appIdentifier__handle__ = appIdentifier!.GetNonNullHandle (nameof (appIdentifier));
var contentIdentifier__handle__ = contentIdentifier!.GetNonNullHandle (nameof (contentIdentifier));
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAssetWriter.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAssetWriter.g.cs
index ced7e16..9f32e21 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAssetWriter.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAssetWriter.g.cs
@@ -133,7 +133,7 @@ namespace AVFoundation {
[Export ("initWithURL:fileType:error:")]
[DesignatedInitializer]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public AVAssetWriter (NSUrl outputUrl, string outputFileType, out NSError error)
+ public unsafe AVAssetWriter (NSUrl outputUrl, string outputFileType, out NSError error)
: base (NSObjectFlag.Empty)
{
var outputUrl__handle__ = outputUrl!.GetNonNullHandle (nameof (outputUrl));
@@ -344,7 +344,7 @@ namespace AVFoundation {
}
[Export ("assetWriterWithURL:fileType:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static AVAssetWriter? FromUrl (NSUrl outputUrl, string outputFileType, out NSError error)
+ public unsafe static AVAssetWriter? FromUrl (NSUrl outputUrl, string outputFileType, out NSError error)
{
var outputUrl__handle__ = outputUrl!.GetNonNullHandle (nameof (outputUrl));
if (outputFileType is null)
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAsynchronousKeyValueLoading.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAsynchronousKeyValueLoading.g.cs
index dbdef4e..8de7dbc 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAsynchronousKeyValueLoading.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAsynchronousKeyValueLoading.g.cs
@@ -61,7 +61,7 @@ namespace AVFoundation {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export ("statusOfValueForKey:error:")]
[Preserve (Conditional = true)]
- AVKeyValueStatus GetStatusOfValue (string forKey, out NSError error);
+ unsafe AVKeyValueStatus GetStatusOfValue (string forKey, out NSError error);
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export ("loadValuesAsynchronouslyForKeys:completionHandler:")]
[Preserve (Conditional = true)]
@@ -75,7 +75,7 @@ namespace AVFoundation {
}
[Export ("statusOfValueForKey:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public AVKeyValueStatus GetStatusOfValue (string forKey, out NSError error)
+ public unsafe AVKeyValueStatus GetStatusOfValue (string forKey, out NSError error)
{
if (forKey is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (forKey));
@@ -191,7 +191,7 @@ namespace AVFoundation {
[Export ("statusOfValueForKey:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual AVKeyValueStatus GetStatusOfValue (string forKey, out NSError error)
+ public unsafe virtual AVKeyValueStatus GetStatusOfValue (string forKey, out NSError error)
{
throw new You_Should_Not_Call_base_In_This_Method ();
}
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioConverter.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioConverter.g.cs
index 10760ff..9c56fb2 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioConverter.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioConverter.g.cs
@@ -145,7 +145,7 @@ namespace AVFoundation {
}
[Export ("convertToBuffer:fromBuffer:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool ConvertToBuffer (AVAudioPcmBuffer outputBuffer, AVAudioPcmBuffer inputBuffer, out NSError? outError)
+ public unsafe virtual bool ConvertToBuffer (AVAudioPcmBuffer outputBuffer, AVAudioPcmBuffer inputBuffer, out NSError? outError)
{
var outputBuffer__handle__ = outputBuffer!.GetNonNullHandle (nameof (outputBuffer));
var inputBuffer__handle__ = inputBuffer!.GetNonNullHandle (nameof (inputBuffer));
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioEngine.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioEngine.g.cs
index 0e35e98..13c4a85 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioEngine.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioEngine.g.cs
@@ -385,7 +385,7 @@ namespace AVFoundation {
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool EnableManualRenderingMode (AVAudioEngineManualRenderingMode mode, AVAudioFormat pcmFormat, uint maximumFrameCount, out NSError outError)
+ public unsafe virtual bool EnableManualRenderingMode (AVAudioEngineManualRenderingMode mode, AVAudioFormat pcmFormat, uint maximumFrameCount, out NSError outError)
{
var pcmFormat__handle__ = pcmFormat!.GetNonNullHandle (nameof (pcmFormat));
NativeHandle outErrorValue = IntPtr.Zero;
@@ -454,7 +454,7 @@ namespace AVFoundation {
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual AVAudioEngineManualRenderingStatus RenderOffline (uint numberOfFrames, AVAudioPcmBuffer buffer, out NSError? outError)
+ public unsafe virtual AVAudioEngineManualRenderingStatus RenderOffline (uint numberOfFrames, AVAudioPcmBuffer buffer, out NSError? outError)
{
var buffer__handle__ = buffer!.GetNonNullHandle (nameof (buffer));
NativeHandle outErrorValue = IntPtr.Zero;
@@ -479,7 +479,7 @@ namespace AVFoundation {
}
[Export ("startAndReturnError:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool StartAndReturnError (out NSError outError)
+ public unsafe virtual bool StartAndReturnError (out NSError outError)
{
NativeHandle outErrorValue = IntPtr.Zero;
byte ret;
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioFile.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioFile.g.cs
index 191fc98..a49ef7b 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioFile.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioFile.g.cs
@@ -145,7 +145,7 @@ namespace AVFoundation {
[Export ("initForReading:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public AVAudioFile (NSUrl fileUrl, out NSError outError)
+ public unsafe AVAudioFile (NSUrl fileUrl, out NSError outError)
: base (NSObjectFlag.Empty)
{
var fileUrl__handle__ = fileUrl!.GetNonNullHandle (nameof (fileUrl));
@@ -159,7 +159,7 @@ namespace AVFoundation {
}
[Export ("initForReading:commonFormat:interleaved:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public AVAudioFile (NSUrl fileUrl, AVAudioCommonFormat format, bool interleaved, out NSError outError)
+ public unsafe AVAudioFile (NSUrl fileUrl, AVAudioCommonFormat format, bool interleaved, out NSError outError)
: base (NSObjectFlag.Empty)
{
var fileUrl__handle__ = fileUrl!.GetNonNullHandle (nameof (fileUrl));
@@ -173,7 +173,7 @@ namespace AVFoundation {
}
[Export ("initForWriting:settings:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- internal AVAudioFile (NSUrl fileUrl, NSDictionary settings, out NSError outError)
+ internal unsafe AVAudioFile (NSUrl fileUrl, NSDictionary settings, out NSError outError)
: base (NSObjectFlag.Empty)
{
var fileUrl__handle__ = fileUrl!.GetNonNullHandle (nameof (fileUrl));
@@ -187,13 +187,13 @@ namespace AVFoundation {
outError = Runtime.GetNSObject<NSError> (outErrorValue)!;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public AVAudioFile (NSUrl fileUrl, AudioSettings settings, out NSError outError)
+ public unsafe AVAudioFile (NSUrl fileUrl, AudioSettings settings, out NSError outError)
: this (fileUrl, settings.GetDictionary ()!, out outError)
{
}
[Export ("initForWriting:settings:commonFormat:interleaved:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- internal AVAudioFile (NSUrl fileUrl, NSDictionary settings, AVAudioCommonFormat format, bool interleaved, out NSError outError)
+ internal unsafe AVAudioFile (NSUrl fileUrl, NSDictionary settings, AVAudioCommonFormat format, bool interleaved, out NSError outError)
: base (NSObjectFlag.Empty)
{
var fileUrl__handle__ = fileUrl!.GetNonNullHandle (nameof (fileUrl));
@@ -207,13 +207,13 @@ namespace AVFoundation {
outError = Runtime.GetNSObject<NSError> (outErrorValue)!;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public AVAudioFile (NSUrl fileUrl, AudioSettings settings, AVAudioCommonFormat format, bool interleaved, out NSError outError)
+ public unsafe AVAudioFile (NSUrl fileUrl, AudioSettings settings, AVAudioCommonFormat format, bool interleaved, out NSError outError)
: this (fileUrl, settings.GetDictionary ()!, format, interleaved, out outError)
{
}
[Export ("readIntoBuffer:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool ReadIntoBuffer (AVAudioPcmBuffer buffer, out NSError outError)
+ public unsafe virtual bool ReadIntoBuffer (AVAudioPcmBuffer buffer, out NSError outError)
{
var buffer__handle__ = buffer!.GetNonNullHandle (nameof (buffer));
NativeHandle outErrorValue = IntPtr.Zero;
@@ -228,7 +228,7 @@ namespace AVFoundation {
}
[Export ("readIntoBuffer:frameCount:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool ReadIntoBuffer (AVAudioPcmBuffer buffer, uint frames, out NSError outError)
+ public unsafe virtual bool ReadIntoBuffer (AVAudioPcmBuffer buffer, uint frames, out NSError outError)
{
var buffer__handle__ = buffer!.GetNonNullHandle (nameof (buffer));
NativeHandle outErrorValue = IntPtr.Zero;
@@ -243,7 +243,7 @@ namespace AVFoundation {
}
[Export ("writeFromBuffer:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool WriteFromBuffer (AVAudioPcmBuffer buffer, out NSError outError)
+ public unsafe virtual bool WriteFromBuffer (AVAudioPcmBuffer buffer, out NSError outError)
{
var buffer__handle__ = buffer!.GetNonNullHandle (nameof (buffer));
NativeHandle outErrorValue = IntPtr.Zero;
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioFormat.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioFormat.g.cs
index bac4e17..2577d8e 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioFormat.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioFormat.g.cs
@@ -165,7 +165,7 @@ namespace AVFoundation {
[Export ("initWithStreamDescription:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public AVAudioFormat (ref global::AudioToolbox.AudioStreamBasicDescription description)
+ public unsafe AVAudioFormat (ref global::AudioToolbox.AudioStreamBasicDescription description)
: base (NSObjectFlag.Empty)
{
if (IsDirectBinding) {
@@ -176,7 +176,7 @@ namespace AVFoundation {
}
[Export ("initWithStreamDescription:channelLayout:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public AVAudioFormat (ref global::AudioToolbox.AudioStreamBasicDescription description, AVAudioChannelLayout? layout)
+ public unsafe AVAudioFormat (ref global::AudioToolbox.AudioStreamBasicDescription description, AVAudioChannelLayout? layout)
: base (NSObjectFlag.Empty)
{
var layout__handle__ = layout.GetHandle ();
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioIONode.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioIONode.g.cs
index c3a93b2..10375aa 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioIONode.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioIONode.g.cs
@@ -136,7 +136,7 @@ namespace AVFoundation {
[SupportedOSPlatform ("maccatalyst")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool SetVoiceProcessingEnabled (bool enabled, out NSError outError)
+ public unsafe virtual bool SetVoiceProcessingEnabled (bool enabled, out NSError outError)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioMixInputParameters.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioMixInputParameters.g.cs
index 246f8f1..cb432ba 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioMixInputParameters.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioMixInputParameters.g.cs
@@ -165,7 +165,7 @@ namespace AVFoundation {
}
[Export ("getVolumeRampForTime:startVolume:endVolume:timeRange:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool GetVolumeRamp (global::CoreMedia.CMTime forTime, ref float startVolume, ref float endVolume, ref global::CoreMedia.CMTimeRange timeRange)
+ public unsafe virtual bool GetVolumeRamp (global::CoreMedia.CMTime forTime, ref float startVolume, ref float endVolume, ref global::CoreMedia.CMTimeRange timeRange)
{
byte ret;
if (IsDirectBinding) {
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioPlayer.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioPlayer.g.cs
index 7304d86..df4811c 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioPlayer.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioPlayer.g.cs
@@ -136,7 +136,7 @@ namespace AVFoundation {
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public AVAudioPlayer (NSData data, string? fileTypeHint, out NSError outError)
+ public unsafe AVAudioPlayer (NSData data, string? fileTypeHint, out NSError outError)
: base (NSObjectFlag.Empty)
{
var data__handle__ = data!.GetNonNullHandle (nameof (data));
@@ -156,7 +156,7 @@ namespace AVFoundation {
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public AVAudioPlayer (NSUrl url, string? fileTypeHint, out NSError outError)
+ public unsafe AVAudioPlayer (NSUrl url, string? fileTypeHint, out NSError outError)
: base (NSObjectFlag.Empty)
{
var url__handle__ = url!.GetNonNullHandle (nameof (url));
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioRecorder.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioRecorder.g.cs
index a7e0194..a1523f7 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioRecorder.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioRecorder.g.cs
@@ -167,7 +167,7 @@ namespace AVFoundation {
}
[Export ("initWithURL:settings:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- internal virtual nint InitWithUrl (NSUrl url, NSDictionary settings, out NSError error)
+ internal unsafe virtual nint InitWithUrl (NSUrl url, NSDictionary settings, out NSError error)
{
var url__handle__ = url!.GetNonNullHandle (nameof (url));
var settings__handle__ = settings!.GetNonNullHandle (nameof (settings));
@@ -187,7 +187,7 @@ namespace AVFoundation {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- internal virtual nint InitWithUrl (NSUrl url, AVAudioFormat format, out NSError outError)
+ internal unsafe virtual nint InitWithUrl (NSUrl url, AVAudioFormat format, out NSError outError)
{
var url__handle__ = url!.GetNonNullHandle (nameof (url));
var format__handle__ = format!.GetNonNullHandle (nameof (format));
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioSequencer.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioSequencer.g.cs
index a5eba46..eb88749 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioSequencer.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioSequencer.g.cs
@@ -167,7 +167,7 @@ namespace AVFoundation {
}
[Export ("beatsForHostTime:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual double GetBeats (ulong inHostTime, out NSError outError)
+ public unsafe virtual double GetBeats (ulong inHostTime, out NSError outError)
{
NativeHandle outErrorValue = IntPtr.Zero;
double ret;
@@ -181,7 +181,7 @@ namespace AVFoundation {
}
[Export ("dataWithSMPTEResolution:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual NSData GetData (nint smpteResolution, out NSError outError)
+ public unsafe virtual NSData GetData (nint smpteResolution, out NSError outError)
{
NativeHandle outErrorValue = IntPtr.Zero;
NSData? ret;
@@ -195,7 +195,7 @@ namespace AVFoundation {
}
[Export ("hostTimeForBeats:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual ulong GetHostTime (double inBeats, out NSError outError)
+ public unsafe virtual ulong GetHostTime (double inBeats, out NSError outError)
{
NativeHandle outErrorValue = IntPtr.Zero;
ulong ret;
@@ -219,7 +219,7 @@ namespace AVFoundation {
}
[Export ("loadFromURL:options:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool Load (NSUrl fileUrl, AVMusicSequenceLoadOptions options, out NSError outError)
+ public unsafe virtual bool Load (NSUrl fileUrl, AVMusicSequenceLoadOptions options, out NSError outError)
{
var fileUrl__handle__ = fileUrl!.GetNonNullHandle (nameof (fileUrl));
NativeHandle outErrorValue = IntPtr.Zero;
@@ -234,7 +234,7 @@ namespace AVFoundation {
}
[Export ("loadFromData:options:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool Load (NSData data, AVMusicSequenceLoadOptions options, out NSError outError)
+ public unsafe virtual bool Load (NSData data, AVMusicSequenceLoadOptions options, out NSError outError)
{
var data__handle__ = data!.GetNonNullHandle (nameof (data));
NativeHandle outErrorValue = IntPtr.Zero;
@@ -259,7 +259,7 @@ namespace AVFoundation {
}
[Export ("startAndReturnError:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool Start (out NSError outError)
+ public unsafe virtual bool Start (out NSError outError)
{
NativeHandle outErrorValue = IntPtr.Zero;
byte ret;
@@ -283,7 +283,7 @@ namespace AVFoundation {
}
[Export ("writeToURL:SMPTEResolution:replaceExisting:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool Write (NSUrl fileUrl, nint resolution, bool replace, out NSError outError)
+ public unsafe virtual bool Write (NSUrl fileUrl, nint resolution, bool replace, out NSError outError)
{
var fileUrl__handle__ = fileUrl!.GetNonNullHandle (nameof (fileUrl));
NativeHandle outErrorValue = IntPtr.Zero;
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioSession.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioSession.g.cs
index f309ba2..49973a7 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioSession.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioSession.g.cs
@@ -164,7 +164,7 @@ namespace AVFoundation {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool OverrideOutputAudioPort (AVAudioSessionPortOverride portOverride, out NSError outError)
+ public unsafe virtual bool OverrideOutputAudioPort (AVAudioSessionPortOverride portOverride, out NSError outError)
{
NativeHandle outErrorValue = IntPtr.Zero;
byte ret;
@@ -200,7 +200,7 @@ namespace AVFoundation {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool SetActive (bool beActive, out NSError outError)
+ public unsafe virtual bool SetActive (bool beActive, out NSError outError)
{
NativeHandle outErrorValue = IntPtr.Zero;
byte ret;
@@ -227,7 +227,7 @@ namespace AVFoundation {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool SetActive (bool active, AVAudioSessionSetActiveOptions options, out NSError outError)
+ public unsafe virtual bool SetActive (bool active, AVAudioSessionSetActiveOptions options, out NSError outError)
{
NativeHandle outErrorValue = IntPtr.Zero;
byte ret;
@@ -254,7 +254,7 @@ namespace AVFoundation {
[SupportedOSPlatform ("maccatalyst")]
[SupportedOSPlatform ("ios")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool SetAggregatedIOPreference (AVAudioSessionIOType ioType, out NSError error)
+ public unsafe virtual bool SetAggregatedIOPreference (AVAudioSessionIOType ioType, out NSError error)
{
NativeHandle errorValue = IntPtr.Zero;
byte ret;
@@ -272,7 +272,7 @@ namespace AVFoundation {
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool SetAllowHapticsAndSystemSoundsDuringRecording (bool inValue, out NSError? outError)
+ public unsafe virtual bool SetAllowHapticsAndSystemSoundsDuringRecording (bool inValue, out NSError? outError)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -294,7 +294,7 @@ namespace AVFoundation {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool SetCategory (NSString theCategory, out NSError outError)
+ public unsafe virtual bool SetCategory (NSString theCategory, out NSError outError)
{
var theCategory__handle__ = theCategory!.GetNonNullHandle (nameof (theCategory));
NativeHandle outErrorValue = IntPtr.Zero;
@@ -331,7 +331,7 @@ namespace AVFoundation {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool SetCategory (string category, AVAudioSessionCategoryOptions options, out NSError outError)
+ public unsafe virtual bool SetCategory (string category, AVAudioSessionCategoryOptions options, out NSError outError)
{
if (category is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (category));
@@ -361,7 +361,7 @@ namespace AVFoundation {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public bool SetCategory (AVAudioSessionCategory category, AVAudioSessionCategoryOptions options, out NSError outError)
+ public unsafe bool SetCategory (AVAudioSessionCategory category, AVAudioSessionCategoryOptions options, out NSError outError)
{
return SetCategory (category.GetConstant ()!, options, out outError);
}
@@ -371,7 +371,7 @@ namespace AVFoundation {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool SetCategory (string category, string mode, AVAudioSessionCategoryOptions options, out NSError outError)
+ public unsafe virtual bool SetCategory (string category, string mode, AVAudioSessionCategoryOptions options, out NSError outError)
{
if (category is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (category));
@@ -396,7 +396,7 @@ namespace AVFoundation {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public bool SetCategory (AVAudioSessionCategory category, string mode, AVAudioSessionCategoryOptions options, out NSError outError)
+ public unsafe bool SetCategory (AVAudioSessionCategory category, string mode, AVAudioSessionCategoryOptions options, out NSError outError)
{
return SetCategory (category.GetConstant ()!, mode, options, out outError);
}
@@ -414,7 +414,7 @@ namespace AVFoundation {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public bool SetCategory (AVAudioSessionCategory category, AVAudioSessionMode mode, AVAudioSessionCategoryOptions options, out NSError outError)
+ public unsafe bool SetCategory (AVAudioSessionCategory category, AVAudioSessionMode mode, AVAudioSessionCategoryOptions options, out NSError outError)
{
return SetCategory (category.GetConstant ()!, mode.GetConstant ()!, options, out outError);
}
@@ -433,7 +433,7 @@ namespace AVFoundation {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool SetCategory (string category, string mode, AVAudioSessionRouteSharingPolicy policy, AVAudioSessionCategoryOptions options, out NSError? outError)
+ public unsafe virtual bool SetCategory (string category, string mode, AVAudioSessionRouteSharingPolicy policy, AVAudioSessionCategoryOptions options, out NSError? outError)
{
if (category is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (category));
@@ -458,7 +458,7 @@ namespace AVFoundation {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public bool SetCategory (AVAudioSessionCategory category, string mode, AVAudioSessionRouteSharingPolicy policy, AVAudioSessionCategoryOptions options, out NSError? outError)
+ public unsafe bool SetCategory (AVAudioSessionCategory category, string mode, AVAudioSessionRouteSharingPolicy policy, AVAudioSessionCategoryOptions options, out NSError? outError)
{
return SetCategory (category.GetConstant ()!, mode, policy, options, out outError);
}
@@ -467,7 +467,7 @@ namespace AVFoundation {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public bool SetCategory (AVAudioSessionCategory category, AVAudioSessionMode mode, AVAudioSessionRouteSharingPolicy policy, AVAudioSessionCategoryOptions options, out NSError? outError)
+ public unsafe bool SetCategory (AVAudioSessionCategory category, AVAudioSessionMode mode, AVAudioSessionRouteSharingPolicy policy, AVAudioSessionCategoryOptions options, out NSError? outError)
{
return SetCategory (category.GetConstant ()!, mode.GetConstant ()!, policy, options, out outError);
}
@@ -477,7 +477,7 @@ namespace AVFoundation {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool SetInputDataSource (AVAudioSessionDataSourceDescription? dataSource, out NSError outError)
+ public unsafe virtual bool SetInputDataSource (AVAudioSessionDataSourceDescription? dataSource, out NSError outError)
{
var dataSource__handle__ = dataSource.GetHandle ();
NativeHandle outErrorValue = IntPtr.Zero;
@@ -498,7 +498,7 @@ namespace AVFoundation {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool SetInputGain (float gain, out NSError outError)
+ public unsafe virtual bool SetInputGain (float gain, out NSError outError)
{
NativeHandle outErrorValue = IntPtr.Zero;
byte ret;
@@ -516,7 +516,7 @@ namespace AVFoundation {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool SetMode (NSString mode, out NSError error)
+ public unsafe virtual bool SetMode (NSString mode, out NSError error)
{
var mode__handle__ = mode!.GetNonNullHandle (nameof (mode));
NativeHandle errorValue = IntPtr.Zero;
@@ -534,7 +534,7 @@ namespace AVFoundation {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public bool SetMode (AVAudioSessionMode mode, out NSError error)
+ public unsafe bool SetMode (AVAudioSessionMode mode, out NSError error)
{
return SetMode (mode.GetConstant ()!, out error);
}
@@ -544,7 +544,7 @@ namespace AVFoundation {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool SetOutputDataSource (AVAudioSessionDataSourceDescription? dataSource, out NSError outError)
+ public unsafe virtual bool SetOutputDataSource (AVAudioSessionDataSourceDescription? dataSource, out NSError outError)
{
var dataSource__handle__ = dataSource.GetHandle ();
NativeHandle outErrorValue = IntPtr.Zero;
@@ -567,7 +567,7 @@ namespace AVFoundation {
[ObsoletedOSPlatform ("maccatalyst13.1", "Use 'SetPreferredSampleRate' instead.")]
[SupportedOSPlatform ("ios")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool SetPreferredHardwareSampleRate (double sampleRate, out NSError outError)
+ public unsafe virtual bool SetPreferredHardwareSampleRate (double sampleRate, out NSError outError)
{
NativeHandle outErrorValue = IntPtr.Zero;
byte ret;
@@ -585,7 +585,7 @@ namespace AVFoundation {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool SetPreferredIOBufferDuration (double duration, out NSError outError)
+ public unsafe virtual bool SetPreferredIOBufferDuration (double duration, out NSError outError)
{
NativeHandle outErrorValue = IntPtr.Zero;
byte ret;
@@ -603,7 +603,7 @@ namespace AVFoundation {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool SetPreferredInput (AVAudioSessionPortDescription? inPort, out NSError outError)
+ public unsafe virtual bool SetPreferredInput (AVAudioSessionPortDescription? inPort, out NSError outError)
{
var inPort__handle__ = inPort.GetHandle ();
NativeHandle outErrorValue = IntPtr.Zero;
@@ -622,7 +622,7 @@ namespace AVFoundation {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool SetPreferredInputNumberOfChannels (nint count, out NSError outError)
+ public unsafe virtual bool SetPreferredInputNumberOfChannels (nint count, out NSError outError)
{
NativeHandle outErrorValue = IntPtr.Zero;
byte ret;
@@ -640,7 +640,7 @@ namespace AVFoundation {
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool SetPreferredInputOrientation (AVAudioStereoOrientation orientation, out NSError? outError)
+ public unsafe virtual bool SetPreferredInputOrientation (AVAudioStereoOrientation orientation, out NSError? outError)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -662,7 +662,7 @@ namespace AVFoundation {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool SetPreferredOutputNumberOfChannels (nint count, out NSError outError)
+ public unsafe virtual bool SetPreferredOutputNumberOfChannels (nint count, out NSError outError)
{
NativeHandle outErrorValue = IntPtr.Zero;
byte ret;
@@ -680,7 +680,7 @@ namespace AVFoundation {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool SetPreferredSampleRate (double sampleRate, out NSError error)
+ public unsafe virtual bool SetPreferredSampleRate (double sampleRate, out NSError error)
{
NativeHandle errorValue = IntPtr.Zero;
byte ret;
@@ -698,7 +698,7 @@ namespace AVFoundation {
[SupportedOSPlatform ("ios14.5")]
[SupportedOSPlatform ("maccatalyst")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool SetPrefersNoInterruptionsFromSystemAlerts (bool inValue, out NSError? outError)
+ public unsafe virtual bool SetPrefersNoInterruptionsFromSystemAlerts (bool inValue, out NSError? outError)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -720,7 +720,7 @@ namespace AVFoundation {
[SupportedOSPlatform ("ios15.0")]
[SupportedOSPlatform ("maccatalyst")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool SetSupportsMultichannelContent (bool inValue, out NSError? outError)
+ public unsafe virtual bool SetSupportsMultichannelContent (bool inValue, out NSError? outError)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioSessionDataSourceDescription.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioSessionDataSourceDescription.g.cs
index 9ee9abc..187b941 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioSessionDataSourceDescription.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioSessionDataSourceDescription.g.cs
@@ -149,7 +149,7 @@ namespace AVFoundation {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- internal virtual bool SetPreferredPolarPattern_ (NSString? pattern, out NSError outError)
+ internal unsafe virtual bool SetPreferredPolarPattern_ (NSString? pattern, out NSError outError)
{
var pattern__handle__ = pattern.GetHandle ();
NativeHandle outErrorValue = IntPtr.Zero;
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioSessionPortDescription.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioSessionPortDescription.g.cs
index 2dfb834..0dc88fb 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioSessionPortDescription.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioSessionPortDescription.g.cs
@@ -149,7 +149,7 @@ namespace AVFoundation {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool SetPreferredDataSource (AVAudioSessionDataSourceDescription? dataSource, out NSError outError)
+ public unsafe virtual bool SetPreferredDataSource (AVAudioSessionDataSourceDescription? dataSource, out NSError outError)
{
var dataSource__handle__ = dataSource.GetHandle ();
NativeHandle outErrorValue = IntPtr.Zero;
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioTime.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioTime.g.cs
index 72ecf22..55ddc53 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioTime.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioTime.g.cs
@@ -145,7 +145,7 @@ namespace AVFoundation {
[Export ("initWithAudioTimeStamp:sampleRate:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public AVAudioTime (ref global::AudioToolbox.AudioTimeStamp timestamp, double sampleRate)
+ public unsafe AVAudioTime (ref global::AudioToolbox.AudioTimeStamp timestamp, double sampleRate)
: base (NSObjectFlag.Empty)
{
if (IsDirectBinding) {
@@ -200,7 +200,7 @@ namespace AVFoundation {
}
[Export ("timeWithAudioTimeStamp:sampleRate:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static AVAudioTime FromAudioTimeStamp (ref global::AudioToolbox.AudioTimeStamp timestamp, double sampleRate)
+ public unsafe static AVAudioTime FromAudioTimeStamp (ref global::AudioToolbox.AudioTimeStamp timestamp, double sampleRate)
{
return Runtime.GetNSObject<AVAudioTime> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_ref_AudioTimeStamp_Double (class_ptr, Selector.GetHandle ("timeWithAudioTimeStamp:sampleRate:"), (global::AudioToolbox.AudioTimeStamp*) global::System.Runtime.CompilerServices.Unsafe.AsPointer<global::AudioToolbox.AudioTimeStamp> (ref timestamp), sampleRate))!;
}
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioUnit.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioUnit.g.cs
index 601e360..feeace8 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioUnit.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioUnit.g.cs
@@ -162,7 +162,7 @@ namespace AVFoundation {
}
[Export ("loadAudioUnitPresetAtURL:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool LoadAudioUnitPreset (NSUrl url, out NSError error)
+ public unsafe virtual bool LoadAudioUnitPreset (NSUrl url, out NSError error)
{
var url__handle__ = url!.GetNonNullHandle (nameof (url));
NativeHandle errorValue = IntPtr.Zero;
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioUnitSampler.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioUnitSampler.g.cs
index a6287a4..f6c156c 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioUnitSampler.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioUnitSampler.g.cs
@@ -145,7 +145,7 @@ namespace AVFoundation {
[Export ("loadAudioFilesAtURLs:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool LoadAudioFiles (NSUrl[] audioFiles, out NSError outError)
+ public unsafe virtual bool LoadAudioFiles (NSUrl[] audioFiles, out NSError outError)
{
if (audioFiles is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (audioFiles));
@@ -163,7 +163,7 @@ namespace AVFoundation {
}
[Export ("loadInstrumentAtURL:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool LoadInstrument (NSUrl instrumentUrl, out NSError outError)
+ public unsafe virtual bool LoadInstrument (NSUrl instrumentUrl, out NSError outError)
{
var instrumentUrl__handle__ = instrumentUrl!.GetNonNullHandle (nameof (instrumentUrl));
NativeHandle outErrorValue = IntPtr.Zero;
@@ -178,7 +178,7 @@ namespace AVFoundation {
}
[Export ("loadSoundBankInstrumentAtURL:program:bankMSB:bankLSB:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool LoadSoundBank (NSUrl bankUrl, byte program, byte bankMSB, byte bankLSB, out NSError outError)
+ public unsafe virtual bool LoadSoundBank (NSUrl bankUrl, byte program, byte bankMSB, byte bankLSB, out NSError outError)
{
var bankUrl__handle__ = bankUrl!.GetNonNullHandle (nameof (bankUrl));
NativeHandle outErrorValue = IntPtr.Zero;
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVCaptureDevice.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVCaptureDevice.g.cs
index c1e5888..46ce9e5 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVCaptureDevice.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVCaptureDevice.g.cs
@@ -534,7 +534,7 @@ namespace AVFoundation {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool LockForConfiguration (out NSError error)
+ public unsafe virtual bool LockForConfiguration (out NSError error)
{
NativeHandle errorValue = IntPtr.Zero;
byte ret;
@@ -696,7 +696,7 @@ namespace AVFoundation {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool SetTorchModeLevel (float torchLevel, out NSError outError)
+ public unsafe virtual bool SetTorchModeLevel (float torchLevel, out NSError outError)
{
NativeHandle outErrorValue = IntPtr.Zero;
byte ret;
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVCaptureDeviceInput.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVCaptureDeviceInput.g.cs
index 2de07af..2589e4f 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVCaptureDeviceInput.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVCaptureDeviceInput.g.cs
@@ -132,7 +132,7 @@ namespace AVFoundation {
[Export ("initWithDevice:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public AVCaptureDeviceInput (AVCaptureDevice device, out NSError error)
+ public unsafe AVCaptureDeviceInput (AVCaptureDevice device, out NSError error)
: base (NSObjectFlag.Empty)
{
var device__handle__ = device!.GetNonNullHandle (nameof (device));
@@ -146,7 +146,7 @@ namespace AVFoundation {
}
[Export ("deviceInputWithDevice:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static AVCaptureDeviceInput? FromDevice (AVCaptureDevice device, out NSError error)
+ public unsafe static AVCaptureDeviceInput? FromDevice (AVCaptureDevice device, out NSError error)
{
var device__handle__ = device!.GetNonNullHandle (nameof (device));
NativeHandle errorValue = IntPtr.Zero;
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVCaptureMetadataInput.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVCaptureMetadataInput.g.cs
index e0f352f..2fe7e4a 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVCaptureMetadataInput.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVCaptureMetadataInput.g.cs
@@ -144,7 +144,7 @@ namespace AVFoundation {
}
[Export ("appendTimedMetadataGroup:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool AppendTimedMetadataGroup (AVTimedMetadataGroup metadata, out NSError outError)
+ public unsafe virtual bool AppendTimedMetadataGroup (AVTimedMetadataGroup metadata, out NSError outError)
{
var metadata__handle__ = metadata!.GetNonNullHandle (nameof (metadata));
NativeHandle outErrorValue = IntPtr.Zero;
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVCapturePhotoFileDataRepresentationCustomizer.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVCapturePhotoFileDataRepresentationCustomizer.g.cs
index 3146349..ec2bf6b 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVCapturePhotoFileDataRepresentationCustomizer.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVCapturePhotoFileDataRepresentationCustomizer.g.cs
@@ -75,7 +75,7 @@ namespace AVFoundation {
return Runtime.GetNSObject<NSDictionary<NSString, NSObject>> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("replacementMetadataForPhoto:"), photo__handle__))!;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static global::CoreVideo.CVPixelBuffer? GetReplacementEmbeddedThumbnail (this IAVCapturePhotoFileDataRepresentationCustomizer This, out NSDictionary<NSString, NSObject>? replacementEmbeddedThumbnailPhotoFormatOut, AVCapturePhoto photo)
+ public unsafe static global::CoreVideo.CVPixelBuffer? GetReplacementEmbeddedThumbnail (this IAVCapturePhotoFileDataRepresentationCustomizer This, out NSDictionary<NSString, NSObject>? replacementEmbeddedThumbnailPhotoFormatOut, AVCapturePhoto photo)
{
var photo__handle__ = photo!.GetNonNullHandle (nameof (photo));
NativeHandle replacementEmbeddedThumbnailPhotoFormatOutValue = IntPtr.Zero;
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVContentKeyRequest.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVContentKeyRequest.g.cs
index 5c46ce0..9a3da53 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVContentKeyRequest.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVContentKeyRequest.g.cs
@@ -219,7 +219,7 @@ namespace AVFoundation {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool RespondByRequestingPersistableContentKeyRequest (out NSError? error)
+ public unsafe virtual bool RespondByRequestingPersistableContentKeyRequest (out NSError? error)
{
NativeHandle errorValue = IntPtr.Zero;
byte ret;
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVDepthData.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVDepthData.g.cs
index 4020cb1..3acd142 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVDepthData.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVDepthData.g.cs
@@ -152,7 +152,7 @@ namespace AVFoundation {
}
[Export ("depthDataFromDictionaryRepresentation:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static AVDepthData? Create (NSDictionary imageSourceAuxDataInfoDictionary, out NSError? outError)
+ public unsafe static AVDepthData? Create (NSDictionary imageSourceAuxDataInfoDictionary, out NSError? outError)
{
var imageSourceAuxDataInfoDictionary__handle__ = imageSourceAuxDataInfoDictionary!.GetNonNullHandle (nameof (imageSourceAuxDataInfoDictionary));
NativeHandle outErrorValue = IntPtr.Zero;
@@ -163,7 +163,7 @@ namespace AVFoundation {
}
[Export ("dictionaryRepresentationForAuxiliaryDataType:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual NSDictionary? GetDictionaryRepresentation (out string? outAuxDataType)
+ public unsafe virtual NSDictionary? GetDictionaryRepresentation (out string? outAuxDataType)
{
NativeHandle outAuxDataTypeValue = IntPtr.Zero;
NSDictionary? ret;
@@ -177,7 +177,7 @@ namespace AVFoundation {
}
[Export ("depthDataByReplacingDepthDataMapWithPixelBuffer:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual AVDepthData? ReplaceDepthDataMap (global::CoreVideo.CVPixelBuffer pixelBuffer, out NSError? outError)
+ public unsafe virtual AVDepthData? ReplaceDepthDataMap (global::CoreVideo.CVPixelBuffer pixelBuffer, out NSError? outError)
{
var pixelBuffer__handle__ = pixelBuffer!.GetNonNullHandle (nameof (pixelBuffer));
NativeHandle outErrorValue = IntPtr.Zero;
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVMetadataItem.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVMetadataItem.g.cs
index 28445d5..56e65ff 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVMetadataItem.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVMetadataItem.g.cs
@@ -339,7 +339,7 @@ namespace AVFoundation {
}
[Export ("statusOfValueForKey:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual AVKeyValueStatus StatusOfValueForKeyerror (string key, out NSError error)
+ public unsafe virtual AVKeyValueStatus StatusOfValueForKeyerror (string key, out NSError error)
{
if (key is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (key));
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVMidiPlayer.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVMidiPlayer.g.cs
index efe6ba2..003dcb8 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVMidiPlayer.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVMidiPlayer.g.cs
@@ -145,7 +145,7 @@ namespace AVFoundation {
[Export ("initWithContentsOfURL:soundBankURL:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public AVMidiPlayer (NSUrl contentsUrl, NSUrl? soundBankUrl, out NSError outError)
+ public unsafe AVMidiPlayer (NSUrl contentsUrl, NSUrl? soundBankUrl, out NSError outError)
: base (NSObjectFlag.Empty)
{
var contentsUrl__handle__ = contentsUrl!.GetNonNullHandle (nameof (contentsUrl));
@@ -160,7 +160,7 @@ namespace AVFoundation {
}
[Export ("initWithData:soundBankURL:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public AVMidiPlayer (NSData data, NSUrl? sounddBankUrl, out NSError outError)
+ public unsafe AVMidiPlayer (NSData data, NSUrl? sounddBankUrl, out NSError outError)
: base (NSObjectFlag.Empty)
{
var data__handle__ = data!.GetNonNullHandle (nameof (data));
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVMovie_AVMovieMovieHeaderSupport.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVMovie_AVMovieMovieHeaderSupport.g.cs
index 506056c..42c882c 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVMovie_AVMovieMovieHeaderSupport.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVMovie_AVMovieMovieHeaderSupport.g.cs
@@ -68,7 +68,7 @@ namespace AVFoundation {
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static NSData? GetMovieHeader (this AVMovie This, string fileType, out NSError? outError)
+ public unsafe static NSData? GetMovieHeader (this AVMovie This, string fileType, out NSError? outError)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -110,7 +110,7 @@ namespace AVFoundation {
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static bool WriteMovieHeader (this AVMovie This, NSUrl URL, string fileType, AVMovieWritingOptions options, out NSError? outError)
+ public unsafe static bool WriteMovieHeader (this AVMovie This, NSUrl URL, string fileType, AVMovieWritingOptions options, out NSError? outError)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVMutableComposition.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVMutableComposition.g.cs
index afe2355..811a962 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVMutableComposition.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVMutableComposition.g.cs
@@ -218,7 +218,7 @@ namespace AVFoundation {
}
[Export ("insertTimeRange:ofAsset:atTime:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool Insert (global::CoreMedia.CMTimeRange insertTimeRange, AVAsset sourceAsset, global::CoreMedia.CMTime atTime, out NSError error)
+ public unsafe virtual bool Insert (global::CoreMedia.CMTimeRange insertTimeRange, AVAsset sourceAsset, global::CoreMedia.CMTime atTime, out NSError error)
{
var sourceAsset__handle__ = sourceAsset!.GetNonNullHandle (nameof (sourceAsset));
NativeHandle errorValue = IntPtr.Zero;
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVMutableCompositionTrack.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVMutableCompositionTrack.g.cs
index f7c6b87..817b1b6 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVMutableCompositionTrack.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVMutableCompositionTrack.g.cs
@@ -161,7 +161,7 @@ namespace AVFoundation {
}
[Export ("insertTimeRange:ofTrack:atTime:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool InsertTimeRange (global::CoreMedia.CMTimeRange timeRange, AVAssetTrack ofTrack, global::CoreMedia.CMTime atTime, out NSError error)
+ public unsafe virtual bool InsertTimeRange (global::CoreMedia.CMTimeRange timeRange, AVAssetTrack ofTrack, global::CoreMedia.CMTime atTime, out NSError error)
{
var ofTrack__handle__ = ofTrack!.GetNonNullHandle (nameof (ofTrack));
NativeHandle errorValue = IntPtr.Zero;
@@ -176,7 +176,7 @@ namespace AVFoundation {
}
[Export ("insertTimeRanges:ofTracks:atTime:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool InsertTimeRanges (NSValue[] cmTimeRanges, AVAssetTrack[] tracks, global::CoreMedia.CMTime startTime, out NSError error)
+ public unsafe virtual bool InsertTimeRanges (NSValue[] cmTimeRanges, AVAssetTrack[] tracks, global::CoreMedia.CMTime startTime, out NSError error)
{
if (cmTimeRanges is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (cmTimeRanges));
@@ -257,7 +257,7 @@ namespace AVFoundation {
}
[Export ("validateTrackSegments:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool ValidateTrackSegments (AVCompositionTrackSegment[] trackSegments, out NSError error)
+ public unsafe virtual bool ValidateTrackSegments (AVCompositionTrackSegment[] trackSegments, out NSError error)
{
if (trackSegments is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (trackSegments));
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVMutableMovie.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVMutableMovie.g.cs
index cf7a2c1..6472cfb 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVMutableMovie.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVMutableMovie.g.cs
@@ -156,7 +156,7 @@ namespace AVFoundation {
[Export ("initWithURL:options:error:")]
[DesignatedInitializer]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public AVMutableMovie (NSUrl URL, NSDictionary<NSString, NSObject>? options, out NSError? outError)
+ public unsafe AVMutableMovie (NSUrl URL, NSDictionary<NSString, NSObject>? options, out NSError? outError)
: base (NSObjectFlag.Empty)
{
#if ARCH_32
@@ -176,7 +176,7 @@ namespace AVFoundation {
[Export ("initWithData:options:error:")]
[DesignatedInitializer]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public AVMutableMovie (NSData data, NSDictionary<NSString, NSObject>? options, out NSError? outError)
+ public unsafe AVMutableMovie (NSData data, NSDictionary<NSString, NSObject>? options, out NSError? outError)
: base (NSObjectFlag.Empty)
{
#if ARCH_32
@@ -196,7 +196,7 @@ namespace AVFoundation {
[Export ("initWithSettingsFromMovie:options:error:")]
[DesignatedInitializer]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public AVMutableMovie (AVMovie? movie, NSDictionary<NSString, NSObject>? options, out NSError? outError)
+ public unsafe AVMutableMovie (AVMovie? movie, NSDictionary<NSString, NSObject>? options, out NSError? outError)
: base (NSObjectFlag.Empty)
{
#if ARCH_32
@@ -215,7 +215,7 @@ namespace AVFoundation {
}
[Export ("movieWithData:options:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static AVMutableMovie? FromData (NSData data, NSDictionary<NSString, NSObject>? options, out NSError? outError)
+ public unsafe static AVMutableMovie? FromData (NSData data, NSDictionary<NSString, NSObject>? options, out NSError? outError)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -231,7 +231,7 @@ namespace AVFoundation {
}
[Export ("movieWithSettingsFromMovie:options:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static AVMutableMovie? FromMovie (AVMovie? movie, NSDictionary<NSString, NSObject>? options, out NSError? outError)
+ public unsafe static AVMutableMovie? FromMovie (AVMovie? movie, NSDictionary<NSString, NSObject>? options, out NSError? outError)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -247,7 +247,7 @@ namespace AVFoundation {
}
[Export ("movieWithURL:options:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static AVMutableMovie? FromUrl (NSUrl URL, NSDictionary<NSString, NSObject>? options, out NSError? outError)
+ public unsafe static AVMutableMovie? FromUrl (NSUrl URL, NSDictionary<NSString, NSObject>? options, out NSError? outError)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVMutableMovieTrack.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVMutableMovieTrack.g.cs
index f722184..1df3dc4 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVMutableMovieTrack.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVMutableMovieTrack.g.cs
@@ -142,7 +142,7 @@ namespace AVFoundation {
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool AppendSampleBuffer (global::CoreMedia.CMSampleBuffer sampleBuffer, out global::CoreMedia.CMTime outDecodeTime, out global::CoreMedia.CMTime presentationTime, out NSError error)
+ public unsafe virtual bool AppendSampleBuffer (global::CoreMedia.CMSampleBuffer sampleBuffer, out global::CoreMedia.CMTime outDecodeTime, out global::CoreMedia.CMTime presentationTime, out NSError error)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVMutableMovieTrack_AVMutableMovieTrack_TrackLevelEditing.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVMutableMovieTrack_AVMutableMovieTrack_TrackLevelEditing.g.cs
index 4e44326..91cc770 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVMutableMovieTrack_AVMutableMovieTrack_TrackLevelEditing.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVMutableMovieTrack_AVMutableMovieTrack_TrackLevelEditing.g.cs
@@ -74,7 +74,7 @@ namespace AVFoundation {
}
[Export ("insertTimeRange:ofTrack:atTime:copySampleData:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static bool InsertTimeRange (this AVMutableMovieTrack This, global::CoreMedia.CMTimeRange timeRange, AVAssetTrack track, global::CoreMedia.CMTime startTime, bool copySampleData, out NSError? outError)
+ public unsafe static bool InsertTimeRange (this AVMutableMovieTrack This, global::CoreMedia.CMTimeRange timeRange, AVAssetTrack track, global::CoreMedia.CMTime startTime, bool copySampleData, out NSError? outError)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVMutableMovie_AVMutableMovieMovieLevelEditing.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVMutableMovie_AVMutableMovieMovieLevelEditing.g.cs
index b29a286..f602ff7 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVMutableMovie_AVMutableMovieMovieLevelEditing.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVMutableMovie_AVMutableMovieMovieLevelEditing.g.cs
@@ -74,7 +74,7 @@ namespace AVFoundation {
}
[Export ("insertTimeRange:ofAsset:atTime:copySampleData:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static bool InsertTimeRange (this AVMutableMovie This, global::CoreMedia.CMTimeRange timeRange, AVAsset asset, global::CoreMedia.CMTime startTime, bool copySampleData, out NSError? outError)
+ public unsafe static bool InsertTimeRange (this AVMutableMovie This, global::CoreMedia.CMTimeRange timeRange, AVAsset asset, global::CoreMedia.CMTime startTime, bool copySampleData, out NSError? outError)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVPersistableContentKeyRequest.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVPersistableContentKeyRequest.g.cs
index 9d03806..d3f8f57 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVPersistableContentKeyRequest.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVPersistableContentKeyRequest.g.cs
@@ -132,7 +132,7 @@ namespace AVFoundation {
[Export ("persistableContentKeyFromKeyVendorResponse:options:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual NSData? GetPersistableContentKey (NSData keyVendorResponse, NSDictionary<NSString, NSObject>? options, out NSError outError)
+ public unsafe virtual NSData? GetPersistableContentKey (NSData keyVendorResponse, NSDictionary<NSString, NSObject>? options, out NSError outError)
{
var keyVendorResponse__handle__ = keyVendorResponse!.GetNonNullHandle (nameof (keyVendorResponse));
var options__handle__ = options.GetHandle ();
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVPlayerItemVideoOutput.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVPlayerItemVideoOutput.g.cs
index 1c5432c..2a96c44 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVPlayerItemVideoOutput.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVPlayerItemVideoOutput.g.cs
@@ -195,7 +195,7 @@ namespace AVFoundation {
}
[Export ("copyPixelBufferForItemTime:itemTimeForDisplay:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- protected virtual nint WeakCopyPixelBuffer (global::CoreMedia.CMTime itemTime, ref global::CoreMedia.CMTime outItemTimeForDisplay)
+ protected unsafe virtual nint WeakCopyPixelBuffer (global::CoreMedia.CMTime itemTime, ref global::CoreMedia.CMTime outItemTimeForDisplay)
{
if (IsDirectBinding) {
return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_CMTime_ref_CMTime (this.Handle, Selector.GetHandle ("copyPixelBufferForItemTime:itemTimeForDisplay:"), itemTime, (global::CoreMedia.CMTime*) global::System.Runtime.CompilerServices.Unsafe.AsPointer<global::CoreMedia.CMTime> (ref outItemTimeForDisplay));
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVPortraitEffectsMatte.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVPortraitEffectsMatte.g.cs
index e7dfc3b..ddd4a0c 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVPortraitEffectsMatte.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVPortraitEffectsMatte.g.cs
@@ -132,7 +132,7 @@ namespace AVFoundation {
[Export ("portraitEffectsMatteFromDictionaryRepresentation:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static AVPortraitEffectsMatte? Create (NSDictionary imageSourceAuxDataInfoDictionary, out NSError? outError)
+ public unsafe static AVPortraitEffectsMatte? Create (NSDictionary imageSourceAuxDataInfoDictionary, out NSError? outError)
{
var imageSourceAuxDataInfoDictionary__handle__ = imageSourceAuxDataInfoDictionary!.GetNonNullHandle (nameof (imageSourceAuxDataInfoDictionary));
NativeHandle outErrorValue = IntPtr.Zero;
@@ -153,7 +153,7 @@ namespace AVFoundation {
}
[Export ("portraitEffectsMatteByReplacingPortraitEffectsMatteWithPixelBuffer:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual AVPortraitEffectsMatte? Create (global::CoreVideo.CVPixelBuffer pixelBuffer, out NSError? outError)
+ public unsafe virtual AVPortraitEffectsMatte? Create (global::CoreVideo.CVPixelBuffer pixelBuffer, out NSError? outError)
{
var pixelBuffer__handle__ = pixelBuffer!.GetNonNullHandle (nameof (pixelBuffer));
NativeHandle outErrorValue = IntPtr.Zero;
@@ -168,7 +168,7 @@ namespace AVFoundation {
}
[Export ("dictionaryRepresentationForAuxiliaryDataType:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual NSDictionary? GetDictionaryRepresentation (out string? outAuxDataType)
+ public unsafe virtual NSDictionary? GetDictionaryRepresentation (out string? outAuxDataType)
{
NativeHandle outAuxDataTypeValue = IntPtr.Zero;
NSDictionary? ret;
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVSemanticSegmentationMatte.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVSemanticSegmentationMatte.g.cs
index 1daf0e2..18abcca 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVSemanticSegmentationMatte.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVSemanticSegmentationMatte.g.cs
@@ -152,7 +152,7 @@ namespace AVFoundation {
}
[Export ("semanticSegmentationMatteFromImageSourceAuxiliaryDataType:dictionaryRepresentation:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static AVSemanticSegmentationMatte? Create (NSString imageSourceAuxiliaryDataType, NSDictionary imageSourceAuxiliaryDataInfoDictionary, out NSError outError)
+ public unsafe static AVSemanticSegmentationMatte? Create (NSString imageSourceAuxiliaryDataType, NSDictionary imageSourceAuxiliaryDataInfoDictionary, out NSError outError)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -168,7 +168,7 @@ namespace AVFoundation {
}
[Export ("dictionaryRepresentationForAuxiliaryDataType:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual NSDictionary? GetDictionaryRepresentation (out string? outAuxDataType)
+ public unsafe virtual NSDictionary? GetDictionaryRepresentation (out string? outAuxDataType)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -186,7 +186,7 @@ namespace AVFoundation {
}
[Export ("semanticSegmentationMatteByReplacingSemanticSegmentationMatteWithPixelBuffer:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual AVSemanticSegmentationMatte? ReplaceSemanticSegmentationMatte (global::CoreVideo.CVPixelBuffer pixelBuffer, out NSError outError)
+ public unsafe virtual AVSemanticSegmentationMatte? ReplaceSemanticSegmentationMatte (global::CoreVideo.CVPixelBuffer pixelBuffer, out NSError outError)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVVideoCompositionLayerInstruction.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVVideoCompositionLayerInstruction.g.cs
index 3c8d53d..1794d3b 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVVideoCompositionLayerInstruction.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVVideoCompositionLayerInstruction.g.cs
@@ -204,7 +204,7 @@ namespace AVFoundation {
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool GetCrop (global::CoreMedia.CMTime time, ref CGRect startCropRectangle, ref CGRect endCropRectangle, ref global::CoreMedia.CMTimeRange timeRange)
+ public unsafe virtual bool GetCrop (global::CoreMedia.CMTime time, ref CGRect startCropRectangle, ref CGRect endCropRectangle, ref global::CoreMedia.CMTimeRange timeRange)
{
byte ret;
if (IsDirectBinding) {
@@ -216,7 +216,7 @@ namespace AVFoundation {
}
[Export ("getOpacityRampForTime:startOpacity:endOpacity:timeRange:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool GetOpacityRamp (global::CoreMedia.CMTime time, ref float startOpacity, ref float endOpacity, ref global::CoreMedia.CMTimeRange timeRange)
+ public unsafe virtual bool GetOpacityRamp (global::CoreMedia.CMTime time, ref float startOpacity, ref float endOpacity, ref global::CoreMedia.CMTimeRange timeRange)
{
byte ret;
if (IsDirectBinding) {
@@ -228,7 +228,7 @@ namespace AVFoundation {
}
[Export ("getTransformRampForTime:startTransform:endTransform:timeRange:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool GetTransformRamp (global::CoreMedia.CMTime time, ref CGAffineTransform startTransform, ref CGAffineTransform endTransform, ref global::CoreMedia.CMTimeRange timeRange)
+ public unsafe virtual bool GetTransformRamp (global::CoreMedia.CMTime time, ref CGAffineTransform startTransform, ref CGAffineTransform endTransform, ref global::CoreMedia.CMTimeRange timeRange)
{
byte ret;
if (IsDirectBinding) {
diff --git a/old/dotnet/ios/generated-sources/AdServices/AAAttribution.g.cs b/new/dotnet/ios/generated-sources/AdServices/AAAttribution.g.cs
index bd08eeb..67634b2 100644
--- a/old/dotnet/ios/generated-sources/AdServices/AAAttribution.g.cs
+++ b/new/dotnet/ios/generated-sources/AdServices/AAAttribution.g.cs
@@ -138,7 +138,7 @@ namespace AdServices {
[Export ("attributionTokenWithError:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static string? GetAttributionToken (out NSError? error)
+ public unsafe static string? GetAttributionToken (out NSError? error)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
diff --git a/old/dotnet/ios/generated-sources/AssetsLibrary/ALAssetRepresentation.g.cs b/new/dotnet/ios/generated-sources/AssetsLibrary/ALAssetRepresentation.g.cs
index 65f8eae..95d36e1 100644
--- a/old/dotnet/ios/generated-sources/AssetsLibrary/ALAssetRepresentation.g.cs
+++ b/new/dotnet/ios/generated-sources/AssetsLibrary/ALAssetRepresentation.g.cs
@@ -143,7 +143,7 @@ namespace AssetsLibrary {
[Export ("getBytes:fromOffset:length:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual nuint GetBytes (nint buffer, long offset, nuint length, out NSError error)
+ public unsafe virtual nuint GetBytes (nint buffer, long offset, nuint length, out NSError error)
{
NativeHandle errorValue = IntPtr.Zero;
nuint ret;
diff --git a/old/dotnet/ios/generated-sources/AudioUnit/AUAudioUnit.g.cs b/new/dotnet/ios/generated-sources/AudioUnit/AUAudioUnit.g.cs
index af9108b..125c1a5 100644
--- a/old/dotnet/ios/generated-sources/AudioUnit/AUAudioUnit.g.cs
+++ b/new/dotnet/ios/generated-sources/AudioUnit/AUAudioUnit.g.cs
@@ -133,7 +133,7 @@ namespace AudioUnit {
[Export ("initWithComponentDescription:options:error:")]
[DesignatedInitializer]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public AUAudioUnit (AudioComponentDescription componentDescription, AudioComponentInstantiationOptions options, out NSError? outError)
+ public unsafe AUAudioUnit (AudioComponentDescription componentDescription, AudioComponentInstantiationOptions options, out NSError? outError)
: base (NSObjectFlag.Empty)
{
NativeHandle outErrorValue = IntPtr.Zero;
@@ -146,7 +146,7 @@ namespace AudioUnit {
}
[Export ("initWithComponentDescription:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public AUAudioUnit (AudioComponentDescription componentDescription, out NSError? outError)
+ public unsafe AUAudioUnit (AudioComponentDescription componentDescription, out NSError? outError)
: base (NSObjectFlag.Empty)
{
NativeHandle outErrorValue = IntPtr.Zero;
@@ -159,7 +159,7 @@ namespace AudioUnit {
}
[Export ("allocateRenderResourcesAndReturnError:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool AllocateRenderResources (out NSError? outError)
+ public unsafe virtual bool AllocateRenderResources (out NSError? outError)
{
NativeHandle outErrorValue = IntPtr.Zero;
byte ret;
@@ -187,7 +187,7 @@ namespace AudioUnit {
[SupportedOSPlatform ("maccatalyst")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool DeleteUserPreset (AUAudioUnitPreset userPreset, out NSError? outError)
+ public unsafe virtual bool DeleteUserPreset (AUAudioUnitPreset userPreset, out NSError? outError)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -210,7 +210,7 @@ namespace AudioUnit {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool Disable (global::CoreMidi.MidiCIProfile profile, byte cable, byte channel, out NSError? outError)
+ public unsafe virtual bool Disable (global::CoreMidi.MidiCIProfile profile, byte cable, byte channel, out NSError? outError)
{
var profile__handle__ = profile!.GetNonNullHandle (nameof (profile));
NativeHandle outErrorValue = IntPtr.Zero;
@@ -229,7 +229,7 @@ namespace AudioUnit {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool Enable (global::CoreMidi.MidiCIProfile profile, byte cable, byte channel, out NSError? outError)
+ public unsafe virtual bool Enable (global::CoreMidi.MidiCIProfile profile, byte cable, byte channel, out NSError? outError)
{
var profile__handle__ = profile!.GetNonNullHandle (nameof (profile));
NativeHandle outErrorValue = IntPtr.Zero;
@@ -280,7 +280,7 @@ namespace AudioUnit {
[SupportedOSPlatform ("maccatalyst")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual NSDictionary<NSString, NSObject>? GetPresetState (AUAudioUnitPreset userPreset, out NSError? outError)
+ public unsafe virtual NSDictionary<NSString, NSObject>? GetPresetState (AUAudioUnitPreset userPreset, out NSError? outError)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -379,7 +379,7 @@ namespace AudioUnit {
[SupportedOSPlatform ("maccatalyst")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool SaveUserPreset (AUAudioUnitPreset userPreset, out NSError? outError)
+ public unsafe virtual bool SaveUserPreset (AUAudioUnitPreset userPreset, out NSError? outError)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
diff --git a/old/dotnet/ios/generated-sources/AudioUnit/AUAudioUnitBus.g.cs b/new/dotnet/ios/generated-sources/AudioUnit/AUAudioUnitBus.g.cs
index c500571..8a3d32b 100644
--- a/old/dotnet/ios/generated-sources/AudioUnit/AUAudioUnitBus.g.cs
+++ b/new/dotnet/ios/generated-sources/AudioUnit/AUAudioUnitBus.g.cs
@@ -145,7 +145,7 @@ namespace AudioUnit {
[Export ("initWithFormat:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public AUAudioUnitBus (global::AVFoundation.AVAudioFormat format, out NSError? outError)
+ public unsafe AUAudioUnitBus (global::AVFoundation.AVAudioFormat format, out NSError? outError)
: base (NSObjectFlag.Empty)
{
var format__handle__ = format!.GetNonNullHandle (nameof (format));
@@ -159,7 +159,7 @@ namespace AudioUnit {
}
[Export ("setFormat:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool SetFormat (global::AVFoundation.AVAudioFormat format, out NSError? outError)
+ public unsafe virtual bool SetFormat (global::AVFoundation.AVAudioFormat format, out NSError? outError)
{
var format__handle__ = format!.GetNonNullHandle (nameof (format));
NativeHandle outErrorValue = IntPtr.Zero;
diff --git a/old/dotnet/ios/generated-sources/AudioUnit/AUAudioUnitBusArray.g.cs b/new/dotnet/ios/generated-sources/AudioUnit/AUAudioUnitBusArray.g.cs
index 2ec003a..e2bd6ec 100644
--- a/old/dotnet/ios/generated-sources/AudioUnit/AUAudioUnitBusArray.g.cs
+++ b/new/dotnet/ios/generated-sources/AudioUnit/AUAudioUnitBusArray.g.cs
@@ -215,7 +215,7 @@ namespace AudioUnit {
}
[Export ("setBusCount:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool SetBusCount (nuint count, out NSError? outError)
+ public unsafe virtual bool SetBusCount (nuint count, out NSError? outError)
{
NativeHandle outErrorValue = IntPtr.Zero;
byte ret;
diff --git a/old/dotnet/ios/generated-sources/AudioUnit/AUAudioUnitFactory.g.cs b/new/dotnet/ios/generated-sources/AudioUnit/AUAudioUnitFactory.g.cs
index bacd941..b1265c4 100644
--- a/old/dotnet/ios/generated-sources/AudioUnit/AUAudioUnitFactory.g.cs
+++ b/new/dotnet/ios/generated-sources/AudioUnit/AUAudioUnitFactory.g.cs
@@ -57,7 +57,7 @@ namespace AudioUnit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export ("createAudioUnitWithComponentDescription:error:")]
[Preserve (Conditional = true)]
- AUAudioUnit? CreateAudioUnit (AudioComponentDescription desc, out NSError? error);
+ unsafe AUAudioUnit? CreateAudioUnit (AudioComponentDescription desc, out NSError? error);
}
internal unsafe sealed class AUAudioUnitFactoryWrapper : BaseWrapper, IAUAudioUnitFactory {
[Preserve (Conditional = true)]
@@ -67,7 +67,7 @@ namespace AudioUnit {
}
[Export ("createAudioUnitWithComponentDescription:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public AUAudioUnit? CreateAudioUnit (AudioComponentDescription desc, out NSError? error)
+ public unsafe AUAudioUnit? CreateAudioUnit (AudioComponentDescription desc, out NSError? error)
{
NativeHandle errorValue = IntPtr.Zero;
AUAudioUnit? ret;
diff --git a/old/dotnet/ios/generated-sources/AudioUnit/AUAudioUnit_AUAudioInputOutputUnit.g.cs b/new/dotnet/ios/generated-sources/AudioUnit/AUAudioUnit_AUAudioInputOutputUnit.g.cs
index 0e48b2a..2ca2006 100644
--- a/old/dotnet/ios/generated-sources/AudioUnit/AUAudioUnit_AUAudioInputOutputUnit.g.cs
+++ b/new/dotnet/ios/generated-sources/AudioUnit/AUAudioUnit_AUAudioInputOutputUnit.g.cs
@@ -156,7 +156,7 @@ namespace AudioUnit {
}
[Export ("startHardwareAndReturnError:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static bool StartHardware (this AUAudioUnit This, out NSError? outError)
+ public unsafe static bool StartHardware (this AUAudioUnit This, out NSError? outError)
{
NativeHandle outErrorValue = IntPtr.Zero;
byte ret;
diff --git a/old/dotnet/ios/generated-sources/AudioUnit/AUParameter.g.cs b/new/dotnet/ios/generated-sources/AudioUnit/AUParameter.g.cs
index 8dbe2f1..ad60da2 100644
--- a/old/dotnet/ios/generated-sources/AudioUnit/AUParameter.g.cs
+++ b/new/dotnet/ios/generated-sources/AudioUnit/AUParameter.g.cs
@@ -180,7 +180,7 @@ namespace AudioUnit {
}
[Export ("stringFromValue:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual string GetString (ref float value)
+ public unsafe virtual string GetString (ref float value)
{
if (IsDirectBinding) {
return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_ref_Single (this.Handle, Selector.GetHandle ("stringFromValue:"), (float*) global::System.Runtime.CompilerServices.Unsafe.AsPointer<float> (ref value)))!;
diff --git a/old/dotnet/ios/generated-sources/BackgroundAssets/BADownloadManager.g.cs b/new/dotnet/ios/generated-sources/BackgroundAssets/BADownloadManager.g.cs
index 1ee7aca..6227618 100644
--- a/old/dotnet/ios/generated-sources/BackgroundAssets/BADownloadManager.g.cs
+++ b/new/dotnet/ios/generated-sources/BackgroundAssets/BADownloadManager.g.cs
@@ -138,7 +138,7 @@ namespace BackgroundAssets {
[Export ("cancelDownload:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool CancelDownload (BADownload download, out NSError? error)
+ public unsafe virtual bool CancelDownload (BADownload download, out NSError? error)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -161,7 +161,7 @@ namespace BackgroundAssets {
[SupportedOSPlatform ("maccatalyst16.4")]
[UnsupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual BADownload[]? FetchCurrentDownloads (out NSError? error)
+ public unsafe virtual BADownload[]? FetchCurrentDownloads (out NSError? error)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -250,7 +250,7 @@ namespace BackgroundAssets {
}
[Export ("scheduleDownload:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool ScheduleDownload (BADownload download, out NSError? outError)
+ public unsafe virtual bool ScheduleDownload (BADownload download, out NSError? outError)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -269,7 +269,7 @@ namespace BackgroundAssets {
}
[Export ("startForegroundDownload:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool StartForegroundDownload (BADownload download, out NSError? outError)
+ public unsafe virtual bool StartForegroundDownload (BADownload download, out NSError? outError)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
diff --git a/old/dotnet/ios/generated-sources/BackgroundTasks/BGTaskScheduler.g.cs b/new/dotnet/ios/generated-sources/BackgroundTasks/BGTaskScheduler.g.cs
index d356aa5..a643bbc 100644
--- a/old/dotnet/ios/generated-sources/BackgroundTasks/BGTaskScheduler.g.cs
+++ b/new/dotnet/ios/generated-sources/BackgroundTasks/BGTaskScheduler.g.cs
@@ -223,7 +223,7 @@ namespace BackgroundTasks {
}
[Export ("submitTaskRequest:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool Submit (BGTaskRequest taskRequest, out NSError? error)
+ public unsafe virtual bool Submit (BGTaskRequest taskRequest, out NSError? error)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
diff --git a/old/dotnet/ios/generated-sources/Cinematic/CNCompositionInfo.g.cs b/new/dotnet/ios/generated-sources/Cinematic/CNCompositionInfo.g.cs
index 6b3602a..6df6878 100644
--- a/old/dotnet/ios/generated-sources/Cinematic/CNCompositionInfo.g.cs
+++ b/new/dotnet/ios/generated-sources/Cinematic/CNCompositionInfo.g.cs
@@ -155,7 +155,7 @@ namespace Cinematic {
[Export ("insertTimeRange:ofCinematicAssetInfo:atTime:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool InsertTimeRange (global::CoreMedia.CMTimeRange timeRange, CNAssetInfo assetInfo, global::CoreMedia.CMTime startTime, out NSError? outError)
+ public unsafe virtual bool InsertTimeRange (global::CoreMedia.CMTimeRange timeRange, CNAssetInfo assetInfo, global::CoreMedia.CMTime startTime, out NSError? outError)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
diff --git a/old/dotnet/ios/generated-sources/Contacts/CNContact.g.cs b/new/dotnet/ios/generated-sources/Contacts/CNContact.g.cs
index 1d3b412..a770d47 100644
--- a/old/dotnet/ios/generated-sources/Contacts/CNContact.g.cs
+++ b/new/dotnet/ios/generated-sources/Contacts/CNContact.g.cs
@@ -251,7 +251,7 @@ namespace Contacts {
[SupportedOSPlatform ("maccatalyst")]
[UnsupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static INSItemProviderReading? GetObject (NSData data, string typeIdentifier, out NSError? outError)
+ public unsafe static INSItemProviderReading? GetObject (NSData data, string typeIdentifier, out NSError? outError)
{
var data__handle__ = data!.GetNonNullHandle (nameof (data));
if (typeIdentifier is null)
diff --git a/old/dotnet/ios/generated-sources/Contacts/CNContactStore.g.cs b/new/dotnet/ios/generated-sources/Contacts/CNContactStore.g.cs
index 5f9271b..5afb135 100644
--- a/old/dotnet/ios/generated-sources/Contacts/CNContactStore.g.cs
+++ b/new/dotnet/ios/generated-sources/Contacts/CNContactStore.g.cs
@@ -163,7 +163,7 @@ namespace Contacts {
}
[Export ("executeSaveRequest:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool ExecuteSaveRequest (CNSaveRequest saveRequest, out NSError? error)
+ public unsafe virtual bool ExecuteSaveRequest (CNSaveRequest saveRequest, out NSError? error)
{
var saveRequest__handle__ = saveRequest!.GetNonNullHandle (nameof (saveRequest));
NativeHandle errorValue = IntPtr.Zero;
@@ -186,7 +186,7 @@ namespace Contacts {
}
[Export ("containersMatchingPredicate:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual CNContainer[]? GetContainers (NSPredicate? predicate, out NSError? error)
+ public unsafe virtual CNContainer[]? GetContainers (NSPredicate? predicate, out NSError? error)
{
var predicate__handle__ = predicate.GetHandle ();
NativeHandle errorValue = IntPtr.Zero;
@@ -204,7 +204,7 @@ namespace Contacts {
[SupportedOSPlatform ("maccatalyst")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual CNFetchResult<NSEnumerator<CNChangeHistoryEvent>>? GetEnumeratorForChangeHistory (CNChangeHistoryFetchRequest request, out NSError? error)
+ public unsafe virtual CNFetchResult<NSEnumerator<CNChangeHistoryEvent>>? GetEnumeratorForChangeHistory (CNChangeHistoryFetchRequest request, out NSError? error)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -226,7 +226,7 @@ namespace Contacts {
[SupportedOSPlatform ("maccatalyst")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual CNFetchResult<NSEnumerator<CNContact>>? GetEnumeratorForContact (CNContactFetchRequest request, out NSError? error)
+ public unsafe virtual CNFetchResult<NSEnumerator<CNContact>>? GetEnumeratorForContact (CNContactFetchRequest request, out NSError? error)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -245,7 +245,7 @@ namespace Contacts {
}
[Export ("groupsMatchingPredicate:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual CNGroup[]? GetGroups (NSPredicate? predicate, out NSError? error)
+ public unsafe virtual CNGroup[]? GetGroups (NSPredicate? predicate, out NSError? error)
{
var predicate__handle__ = predicate.GetHandle ();
NativeHandle errorValue = IntPtr.Zero;
@@ -260,7 +260,7 @@ namespace Contacts {
}
[Export ("unifiedContactWithIdentifier:keysToFetch:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- protected virtual CNContact? GetUnifiedContact (string identifier, NSArray keys, out NSError? error)
+ protected unsafe virtual CNContact? GetUnifiedContact (string identifier, NSArray keys, out NSError? error)
{
if (identifier is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (identifier));
@@ -279,7 +279,7 @@ namespace Contacts {
}
[Export ("unifiedContactsMatchingPredicate:keysToFetch:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- protected virtual CNContact[]? GetUnifiedContacts (NSPredicate predicate, NSArray keys, out NSError? error)
+ protected unsafe virtual CNContact[]? GetUnifiedContacts (NSPredicate predicate, NSArray keys, out NSError? error)
{
var predicate__handle__ = predicate!.GetNonNullHandle (nameof (predicate));
var keys__handle__ = keys!.GetNonNullHandle (nameof (keys));
diff --git a/old/dotnet/ios/generated-sources/Contacts/CNContactVCardSerialization.g.cs b/new/dotnet/ios/generated-sources/Contacts/CNContactVCardSerialization.g.cs
index 9bf5a8e..12ab996 100644
--- a/old/dotnet/ios/generated-sources/Contacts/CNContactVCardSerialization.g.cs
+++ b/new/dotnet/ios/generated-sources/Contacts/CNContactVCardSerialization.g.cs
@@ -144,7 +144,7 @@ namespace Contacts {
[Export ("contactsWithData:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static CNContact[]? GetContactsFromData (NSData data, out NSError error)
+ public unsafe static CNContact[]? GetContactsFromData (NSData data, out NSError error)
{
var data__handle__ = data!.GetNonNullHandle (nameof (data));
NativeHandle errorValue = IntPtr.Zero;
@@ -155,7 +155,7 @@ namespace Contacts {
}
[Export ("dataWithContacts:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static NSData? GetDataFromContacts (CNContact[] contacts, out NSError error)
+ public unsafe static NSData? GetDataFromContacts (CNContact[] contacts, out NSError error)
{
if (contacts is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (contacts));
diff --git a/old/dotnet/ios/generated-sources/CoreData/NSAtomicStore.g.cs b/new/dotnet/ios/generated-sources/CoreData/NSAtomicStore.g.cs
index 4c891fe..9ac87a7 100644
--- a/old/dotnet/ios/generated-sources/CoreData/NSAtomicStore.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreData/NSAtomicStore.g.cs
@@ -166,7 +166,7 @@ namespace CoreData {
}
[Export ("load:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool Load (out NSError error)
+ public unsafe virtual bool Load (out NSError error)
{
NativeHandle errorValue = IntPtr.Zero;
byte ret;
@@ -225,7 +225,7 @@ namespace CoreData {
}
[Export ("save:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool Save (out NSError error)
+ public unsafe virtual bool Save (out NSError error)
{
NativeHandle errorValue = IntPtr.Zero;
byte ret;
diff --git a/old/dotnet/ios/generated-sources/CoreData/NSEntityMigrationPolicy.g.cs b/new/dotnet/ios/generated-sources/CoreData/NSEntityMigrationPolicy.g.cs
index 3712cbd..91da10f 100644
--- a/old/dotnet/ios/generated-sources/CoreData/NSEntityMigrationPolicy.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreData/NSEntityMigrationPolicy.g.cs
@@ -141,7 +141,7 @@ namespace CoreData {
[Export ("beginEntityMapping:manager:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool BeginEntityMapping (NSEntityMapping mapping, NSMigrationManager manager, out NSError error)
+ public unsafe virtual bool BeginEntityMapping (NSEntityMapping mapping, NSMigrationManager manager, out NSError error)
{
var mapping__handle__ = mapping!.GetNonNullHandle (nameof (mapping));
var manager__handle__ = manager!.GetNonNullHandle (nameof (manager));
@@ -157,7 +157,7 @@ namespace CoreData {
}
[Export ("createDestinationInstancesForSourceInstance:entityMapping:manager:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool CreateDestinationInstancesForSourceInstance (NSManagedObject sInstance, NSEntityMapping mapping, NSMigrationManager manager, out NSError error)
+ public unsafe virtual bool CreateDestinationInstancesForSourceInstance (NSManagedObject sInstance, NSEntityMapping mapping, NSMigrationManager manager, out NSError error)
{
var sInstance__handle__ = sInstance!.GetNonNullHandle (nameof (sInstance));
var mapping__handle__ = mapping!.GetNonNullHandle (nameof (mapping));
@@ -174,7 +174,7 @@ namespace CoreData {
}
[Export ("createRelationshipsForDestinationInstance:entityMapping:manager:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool CreateRelationshipsForDestinationInstance (NSManagedObject dInstance, NSEntityMapping mapping, NSMigrationManager manager, out NSError error)
+ public unsafe virtual bool CreateRelationshipsForDestinationInstance (NSManagedObject dInstance, NSEntityMapping mapping, NSMigrationManager manager, out NSError error)
{
var dInstance__handle__ = dInstance!.GetNonNullHandle (nameof (dInstance));
var mapping__handle__ = mapping!.GetNonNullHandle (nameof (mapping));
@@ -191,7 +191,7 @@ namespace CoreData {
}
[Export ("endEntityMapping:manager:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool EndEntityMapping (NSEntityMapping mapping, NSMigrationManager manager, out NSError error)
+ public unsafe virtual bool EndEntityMapping (NSEntityMapping mapping, NSMigrationManager manager, out NSError error)
{
var mapping__handle__ = mapping!.GetNonNullHandle (nameof (mapping));
var manager__handle__ = manager!.GetNonNullHandle (nameof (manager));
@@ -207,7 +207,7 @@ namespace CoreData {
}
[Export ("endInstanceCreationForEntityMapping:manager:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool EndInstanceCreationForEntityMapping (NSEntityMapping mapping, NSMigrationManager manager, out NSError error)
+ public unsafe virtual bool EndInstanceCreationForEntityMapping (NSEntityMapping mapping, NSMigrationManager manager, out NSError error)
{
var mapping__handle__ = mapping!.GetNonNullHandle (nameof (mapping));
var manager__handle__ = manager!.GetNonNullHandle (nameof (manager));
@@ -223,7 +223,7 @@ namespace CoreData {
}
[Export ("endRelationshipCreationForEntityMapping:manager:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool EndRelationshipCreationForEntityMapping (NSEntityMapping mapping, NSMigrationManager manager, out NSError error)
+ public unsafe virtual bool EndRelationshipCreationForEntityMapping (NSEntityMapping mapping, NSMigrationManager manager, out NSError error)
{
var mapping__handle__ = mapping!.GetNonNullHandle (nameof (mapping));
var manager__handle__ = manager!.GetNonNullHandle (nameof (manager));
@@ -239,7 +239,7 @@ namespace CoreData {
}
[Export ("performCustomValidationForEntityMapping:manager:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool PerformCustomValidationForEntityMapping (NSEntityMapping mapping, NSMigrationManager manager, out NSError error)
+ public unsafe virtual bool PerformCustomValidationForEntityMapping (NSEntityMapping mapping, NSMigrationManager manager, out NSError error)
{
var mapping__handle__ = mapping!.GetNonNullHandle (nameof (mapping));
var manager__handle__ = manager!.GetNonNullHandle (nameof (manager));
diff --git a/old/dotnet/ios/generated-sources/CoreData/NSFetchRequest.g.cs b/new/dotnet/ios/generated-sources/CoreData/NSFetchRequest.g.cs
index e623ab5..1bbda27 100644
--- a/old/dotnet/ios/generated-sources/CoreData/NSFetchRequest.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreData/NSFetchRequest.g.cs
@@ -190,7 +190,7 @@ namespace CoreData {
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual INSFetchRequestResult[]? Execute (out NSError error)
+ public unsafe virtual INSFetchRequestResult[]? Execute (out NSError error)
{
NativeHandle errorValue = IntPtr.Zero;
INSFetchRequestResult[]? ret;
diff --git a/old/dotnet/ios/generated-sources/CoreData/NSFetchedResultsController.g.cs b/new/dotnet/ios/generated-sources/CoreData/NSFetchedResultsController.g.cs
index 053b2c3..bd2435a 100644
--- a/old/dotnet/ios/generated-sources/CoreData/NSFetchedResultsController.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreData/NSFetchedResultsController.g.cs
@@ -208,7 +208,7 @@ namespace CoreData {
}
[Export ("performFetch:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool PerformFetch (out NSError error)
+ public unsafe virtual bool PerformFetch (out NSError error)
{
NativeHandle errorValue = IntPtr.Zero;
byte ret;
diff --git a/old/dotnet/ios/generated-sources/CoreData/NSIncrementalStore.g.cs b/new/dotnet/ios/generated-sources/CoreData/NSIncrementalStore.g.cs
index 0e7ac93..0b97e0c 100644
--- a/old/dotnet/ios/generated-sources/CoreData/NSIncrementalStore.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreData/NSIncrementalStore.g.cs
@@ -159,7 +159,7 @@ namespace CoreData {
}
[Export ("executeRequest:withContext:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual NSObject? ExecuteRequest (NSPersistentStoreRequest request, NSManagedObjectContext? context, out NSError error)
+ public unsafe virtual NSObject? ExecuteRequest (NSPersistentStoreRequest request, NSManagedObjectContext? context, out NSError error)
{
var request__handle__ = request!.GetNonNullHandle (nameof (request));
var context__handle__ = context.GetHandle ();
@@ -182,7 +182,7 @@ namespace CoreData {
}
[Export ("loadMetadata:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool LoadMetadata (out NSError error)
+ public unsafe virtual bool LoadMetadata (out NSError error)
{
NativeHandle errorValue = IntPtr.Zero;
byte ret;
@@ -236,7 +236,7 @@ namespace CoreData {
}
[Export ("newValueForRelationship:forObjectWithID:withContext:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual NSObject? NewValue (NSRelationshipDescription forRelationship, NSManagedObjectID forObjectI, NSManagedObjectContext? context, out NSError error)
+ public unsafe virtual NSObject? NewValue (NSRelationshipDescription forRelationship, NSManagedObjectID forObjectI, NSManagedObjectContext? context, out NSError error)
{
var forRelationship__handle__ = forRelationship!.GetNonNullHandle (nameof (forRelationship));
var forObjectI__handle__ = forObjectI!.GetNonNullHandle (nameof (forObjectI));
@@ -253,7 +253,7 @@ namespace CoreData {
}
[Export ("newValuesForObjectWithID:withContext:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual NSIncrementalStoreNode? NewValues (NSManagedObjectID forObjectId, NSManagedObjectContext context, out NSError error)
+ public unsafe virtual NSIncrementalStoreNode? NewValues (NSManagedObjectID forObjectId, NSManagedObjectContext context, out NSError error)
{
var forObjectId__handle__ = forObjectId!.GetNonNullHandle (nameof (forObjectId));
var context__handle__ = context!.GetNonNullHandle (nameof (context));
@@ -269,7 +269,7 @@ namespace CoreData {
}
[Export ("obtainPermanentIDsForObjects:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual NSObject[]? ObtainPermanentIds (NSObject[] array, out NSError error)
+ public unsafe virtual NSObject[]? ObtainPermanentIds (NSObject[] array, out NSError error)
{
if (array is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (array));
diff --git a/old/dotnet/ios/generated-sources/CoreData/NSManagedObject.g.cs b/new/dotnet/ios/generated-sources/CoreData/NSManagedObject.g.cs
index a276ad4..a01bc96 100644
--- a/old/dotnet/ios/generated-sources/CoreData/NSManagedObject.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreData/NSManagedObject.g.cs
@@ -392,7 +392,7 @@ namespace CoreData {
}
[Export ("validateForDelete:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool ValidateForDelete (out NSError error)
+ public unsafe virtual bool ValidateForDelete (out NSError error)
{
NativeHandle errorValue = IntPtr.Zero;
byte ret;
@@ -406,7 +406,7 @@ namespace CoreData {
}
[Export ("validateForInsert:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool ValidateForInsert (out NSError error)
+ public unsafe virtual bool ValidateForInsert (out NSError error)
{
NativeHandle errorValue = IntPtr.Zero;
byte ret;
@@ -420,7 +420,7 @@ namespace CoreData {
}
[Export ("validateForUpdate:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool ValidateForUpdate (out NSError error)
+ public unsafe virtual bool ValidateForUpdate (out NSError error)
{
NativeHandle errorValue = IntPtr.Zero;
byte ret;
@@ -434,7 +434,7 @@ namespace CoreData {
}
[Export ("validateValue:forKey:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool ValidateValue (ref NSObject value, string key, out NSError error)
+ public unsafe virtual bool ValidateValue (ref NSObject value, string key, out NSError error)
{
if (key is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (key));
diff --git a/old/dotnet/ios/generated-sources/CoreData/NSManagedObjectContext.g.cs b/new/dotnet/ios/generated-sources/CoreData/NSManagedObjectContext.g.cs
index aeeb8a4..8722228 100644
--- a/old/dotnet/ios/generated-sources/CoreData/NSManagedObjectContext.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreData/NSManagedObjectContext.g.cs
@@ -191,7 +191,7 @@ namespace CoreData {
}
[Export ("countForFetchRequest:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual nuint CountForFetchRequest (NSFetchRequest request, out NSError error)
+ public unsafe virtual nuint CountForFetchRequest (NSFetchRequest request, out NSError error)
{
var request__handle__ = request!.GetNonNullHandle (nameof (request));
NativeHandle errorValue = IntPtr.Zero;
@@ -239,7 +239,7 @@ namespace CoreData {
}
[Export ("executeFetchRequest:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual NSObject[]? ExecuteFetchRequest (NSFetchRequest request, out NSError error)
+ public unsafe virtual NSObject[]? ExecuteFetchRequest (NSFetchRequest request, out NSError error)
{
var request__handle__ = request!.GetNonNullHandle (nameof (request));
NativeHandle errorValue = IntPtr.Zero;
@@ -258,7 +258,7 @@ namespace CoreData {
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual NSPersistentStoreResult? ExecuteRequest (NSPersistentStoreRequest request, out NSError error)
+ public unsafe virtual NSPersistentStoreResult? ExecuteRequest (NSPersistentStoreRequest request, out NSError error)
{
var request__handle__ = request!.GetNonNullHandle (nameof (request));
NativeHandle errorValue = IntPtr.Zero;
@@ -273,7 +273,7 @@ namespace CoreData {
}
[Export ("existingObjectWithID:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual NSManagedObject? GetExistingObject (NSManagedObjectID objectID, out NSError error)
+ public unsafe virtual NSManagedObject? GetExistingObject (NSManagedObjectID objectID, out NSError error)
{
var objectID__handle__ = objectID!.GetNonNullHandle (nameof (objectID));
NativeHandle errorValue = IntPtr.Zero;
@@ -378,7 +378,7 @@ namespace CoreData {
}
[Export ("obtainPermanentIDsForObjects:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool ObtainPermanentIDsForObjects (NSManagedObject[] objects, out NSError error)
+ public unsafe virtual bool ObtainPermanentIDsForObjects (NSManagedObject[] objects, out NSError error)
{
if (objects is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (objects));
@@ -489,7 +489,7 @@ namespace CoreData {
}
[Export ("save:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool Save (out NSError error)
+ public unsafe virtual bool Save (out NSError error)
{
NativeHandle errorValue = IntPtr.Zero;
byte ret;
@@ -507,7 +507,7 @@ namespace CoreData {
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool SetQueryGenerationFromToken (NSQueryGenerationToken? generation, out NSError error)
+ public unsafe virtual bool SetQueryGenerationFromToken (NSQueryGenerationToken? generation, out NSError error)
{
var generation__handle__ = generation.GetHandle ();
NativeHandle errorValue = IntPtr.Zero;
diff --git a/old/dotnet/ios/generated-sources/CoreData/NSManagedObjectModel.g.cs b/new/dotnet/ios/generated-sources/CoreData/NSManagedObjectModel.g.cs
index 1eaebe2..1a193a8 100644
--- a/old/dotnet/ios/generated-sources/CoreData/NSManagedObjectModel.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreData/NSManagedObjectModel.g.cs
@@ -176,7 +176,7 @@ namespace CoreData {
[SupportedOSPlatform ("ios17.0")]
[SupportedOSPlatform ("maccatalyst17.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static NSDictionary<NSString, NSString>? ChecksumsForVersionedModel (NSUrl modelUrl, out NSError? error)
+ public unsafe static NSDictionary<NSString, NSString>? ChecksumsForVersionedModel (NSUrl modelUrl, out NSError? error)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
diff --git a/old/dotnet/ios/generated-sources/CoreData/NSMappingModel.g.cs b/new/dotnet/ios/generated-sources/CoreData/NSMappingModel.g.cs
index b84d050..6052a1a 100644
--- a/old/dotnet/ios/generated-sources/CoreData/NSMappingModel.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreData/NSMappingModel.g.cs
@@ -153,7 +153,7 @@ namespace CoreData {
}
[Export ("inferredMappingModelForSourceModel:destinationModel:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static NSMappingModel? GetInferredMappingModel (NSManagedObjectModel source, NSManagedObjectModel destination, out NSError error)
+ public unsafe static NSMappingModel? GetInferredMappingModel (NSManagedObjectModel source, NSManagedObjectModel destination, out NSError error)
{
var source__handle__ = source!.GetNonNullHandle (nameof (source));
var destination__handle__ = destination!.GetNonNullHandle (nameof (destination));
diff --git a/old/dotnet/ios/generated-sources/CoreData/NSMergePolicy.g.cs b/new/dotnet/ios/generated-sources/CoreData/NSMergePolicy.g.cs
index 5aa3a83..9e1cbc4 100644
--- a/old/dotnet/ios/generated-sources/CoreData/NSMergePolicy.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreData/NSMergePolicy.g.cs
@@ -140,7 +140,7 @@ namespace CoreData {
}
[Export ("resolveConflicts:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool ResolveConflicts (NSMergeConflict[] list, out NSError error)
+ public unsafe virtual bool ResolveConflicts (NSMergeConflict[] list, out NSError error)
{
if (list is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (list));
@@ -162,7 +162,7 @@ namespace CoreData {
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool ResolveConstraintConflicts (NSConstraintConflict[] list, out NSError error)
+ public unsafe virtual bool ResolveConstraintConflicts (NSConstraintConflict[] list, out NSError error)
{
if (list is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (list));
@@ -184,7 +184,7 @@ namespace CoreData {
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool ResolveOptimisticLockingVersionConflicts (NSMergeConflict[] list, out NSError error)
+ public unsafe virtual bool ResolveOptimisticLockingVersionConflicts (NSMergeConflict[] list, out NSError error)
{
if (list is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (list));
diff --git a/old/dotnet/ios/generated-sources/CoreData/NSMigrationManager.g.cs b/new/dotnet/ios/generated-sources/CoreData/NSMigrationManager.g.cs
index 55ee125..65ee70b 100644
--- a/old/dotnet/ios/generated-sources/CoreData/NSMigrationManager.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreData/NSMigrationManager.g.cs
@@ -208,7 +208,7 @@ namespace CoreData {
}
[Export ("migrateStoreFromURL:type:options:withMappingModel:toDestinationURL:destinationType:destinationOptions:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool MigrateStoreFromUrl (NSUrl sourceUrl, string sStoreType, NSDictionary? sOptions, NSMappingModel? mappings, NSUrl dUrl, string dStoreType, NSDictionary? dOptions, out NSError error)
+ public unsafe virtual bool MigrateStoreFromUrl (NSUrl sourceUrl, string sStoreType, NSDictionary? sOptions, NSMappingModel? mappings, NSUrl dUrl, string dStoreType, NSDictionary? dOptions, out NSError error)
{
var sourceUrl__handle__ = sourceUrl!.GetNonNullHandle (nameof (sourceUrl));
if (sStoreType is null)
diff --git a/old/dotnet/ios/generated-sources/CoreData/NSPersistentCloudKitContainer.g.cs b/new/dotnet/ios/generated-sources/CoreData/NSPersistentCloudKitContainer.g.cs
index be2281f..a6ba6c9 100644
--- a/old/dotnet/ios/generated-sources/CoreData/NSPersistentCloudKitContainer.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreData/NSPersistentCloudKitContainer.g.cs
@@ -312,7 +312,7 @@ namespace CoreData {
[SupportedOSPlatform ("maccatalyst")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual global::CloudKit.CKShare[]? FetchSharesInPersistentStore (NSPersistentStore? persistentStore, out NSError? error)
+ public unsafe virtual global::CloudKit.CKShare[]? FetchSharesInPersistentStore (NSPersistentStore? persistentStore, out NSError? error)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -335,7 +335,7 @@ namespace CoreData {
[SupportedOSPlatform ("maccatalyst")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual NSDictionary<NSManagedObjectID, global::CloudKit.CKShare>? FetchSharesMatchingObjectIds (NSManagedObjectID[] objectIDs, out NSError? error)
+ public unsafe virtual NSDictionary<NSManagedObjectID, global::CloudKit.CKShare>? FetchSharesMatchingObjectIds (NSManagedObjectID[] objectIDs, out NSError? error)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -427,7 +427,7 @@ namespace CoreData {
}
[Export ("initializeCloudKitSchemaWithOptions:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool Initialize (NSPersistentCloudKitContainerSchemaInitializationOptions options, out NSError? error)
+ public unsafe virtual bool Initialize (NSPersistentCloudKitContainerSchemaInitializationOptions options, out NSError? error)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
diff --git a/old/dotnet/ios/generated-sources/CoreData/NSPersistentStore.g.cs b/new/dotnet/ios/generated-sources/CoreData/NSPersistentStore.g.cs
index bf5c348..3035aaf 100644
--- a/old/dotnet/ios/generated-sources/CoreData/NSPersistentStore.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreData/NSPersistentStore.g.cs
@@ -156,7 +156,7 @@ namespace CoreData {
}
[Export ("loadMetadata:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool LoadMetadata (out NSError error)
+ public unsafe virtual bool LoadMetadata (out NSError error)
{
NativeHandle errorValue = IntPtr.Zero;
byte ret;
@@ -170,7 +170,7 @@ namespace CoreData {
}
[Export ("metadataForPersistentStoreWithURL:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static NSDictionary? MetadataForPersistentStoreWithUrl (NSUrl url, out NSError error)
+ public unsafe static NSDictionary? MetadataForPersistentStoreWithUrl (NSUrl url, out NSError error)
{
var url__handle__ = url!.GetNonNullHandle (nameof (url));
NativeHandle errorValue = IntPtr.Zero;
@@ -181,7 +181,7 @@ namespace CoreData {
}
[Export ("setMetadata:forPersistentStoreWithURL:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static bool SetMetadata (NSDictionary? metadata, NSUrl url, out NSError error)
+ public unsafe static bool SetMetadata (NSDictionary? metadata, NSUrl url, out NSError error)
{
var metadata__handle__ = metadata.GetHandle ();
var url__handle__ = url!.GetNonNullHandle (nameof (url));
diff --git a/old/dotnet/ios/generated-sources/CoreData/NSPersistentStoreCoordinator.g.cs b/new/dotnet/ios/generated-sources/CoreData/NSPersistentStoreCoordinator.g.cs
index ccb05d3..e6f82c3 100644
--- a/old/dotnet/ios/generated-sources/CoreData/NSPersistentStoreCoordinator.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreData/NSPersistentStoreCoordinator.g.cs
@@ -141,7 +141,7 @@ namespace CoreData {
}
[Export ("addPersistentStoreWithType:configuration:URL:options:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual NSPersistentStore? AddPersistentStore (NSString storeType, string? configuration, NSUrl? storeUrl, NSDictionary? options, out NSError error)
+ public unsafe virtual NSPersistentStore? AddPersistentStore (NSString storeType, string? configuration, NSUrl? storeUrl, NSDictionary? options, out NSError error)
{
var storeType__handle__ = storeType!.GetNonNullHandle (nameof (storeType));
var storeUrl__handle__ = storeUrl.GetHandle ();
@@ -199,7 +199,7 @@ namespace CoreData {
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool DestroyPersistentStore (NSUrl url, string storeType, NSDictionary? options, out NSError error)
+ public unsafe virtual bool DestroyPersistentStore (NSUrl url, string storeType, NSDictionary? options, out NSError error)
{
var url__handle__ = url!.GetNonNullHandle (nameof (url));
if (storeType is null)
@@ -219,7 +219,7 @@ namespace CoreData {
}
[Export ("executeRequest:withContext:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual NSObject? Execute (NSPersistentStoreRequest request, NSManagedObjectContext context, out NSError error)
+ public unsafe virtual NSObject? Execute (NSPersistentStoreRequest request, NSManagedObjectContext context, out NSError error)
{
var request__handle__ = request!.GetNonNullHandle (nameof (request));
var context__handle__ = context!.GetNonNullHandle (nameof (context));
@@ -239,7 +239,7 @@ namespace CoreData {
[SupportedOSPlatform ("maccatalyst")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool FinishDeferredLightweightMigration (out NSError? error)
+ public unsafe virtual bool FinishDeferredLightweightMigration (out NSError? error)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -261,7 +261,7 @@ namespace CoreData {
[SupportedOSPlatform ("maccatalyst")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool FinishDeferredLightweightMigrationTask (out NSError? error)
+ public unsafe virtual bool FinishDeferredLightweightMigrationTask (out NSError? error)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -306,7 +306,7 @@ namespace CoreData {
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static NSDictionary<NSString, NSObject>? GetMetadata (string storeType, NSUrl url, NSDictionary? options, out NSError error)
+ public unsafe static NSDictionary<NSString, NSObject>? GetMetadata (string storeType, NSUrl url, NSDictionary? options, out NSError error)
{
if (storeType is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (storeType));
@@ -369,7 +369,7 @@ namespace CoreData {
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("maccatalyst")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static NSDictionary? MetadataForPersistentStoreOfType (NSString? storeType, NSUrl url, out NSError error)
+ public unsafe static NSDictionary? MetadataForPersistentStoreOfType (NSString? storeType, NSUrl url, out NSError error)
{
var storeType__handle__ = storeType.GetHandle ();
var url__handle__ = url!.GetNonNullHandle (nameof (url));
@@ -381,7 +381,7 @@ namespace CoreData {
}
[Export ("migratePersistentStore:toURL:options:withType:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual NSPersistentStore? MigratePersistentStore (NSPersistentStore store, NSUrl url, NSDictionary? options, NSString storeType, out NSError error)
+ public unsafe virtual NSPersistentStore? MigratePersistentStore (NSPersistentStore store, NSUrl url, NSDictionary? options, NSString storeType, out NSError error)
{
var store__handle__ = store!.GetNonNullHandle (nameof (store));
var url__handle__ = url!.GetNonNullHandle (nameof (url));
@@ -454,7 +454,7 @@ namespace CoreData {
}
[Export ("removePersistentStore:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool RemovePersistentStore (NSPersistentStore store, out NSError error)
+ public unsafe virtual bool RemovePersistentStore (NSPersistentStore store, out NSError error)
{
var store__handle__ = store!.GetNonNullHandle (nameof (store));
NativeHandle errorValue = IntPtr.Zero;
@@ -476,7 +476,7 @@ namespace CoreData {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static bool RemoveUbiquitousContentAndPersistentStore (NSUrl storeUrl, NSDictionary? options, out NSError error)
+ public unsafe static bool RemoveUbiquitousContentAndPersistentStore (NSUrl storeUrl, NSDictionary? options, out NSError error)
{
var storeUrl__handle__ = storeUrl!.GetNonNullHandle (nameof (storeUrl));
var options__handle__ = options.GetHandle ();
@@ -492,7 +492,7 @@ namespace CoreData {
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool ReplacePersistentStore (NSUrl destinationUrl, NSDictionary? destinationOptions, NSUrl sourceUrl, NSDictionary? sourceOptions, string storeType, out NSError error)
+ public unsafe virtual bool ReplacePersistentStore (NSUrl destinationUrl, NSDictionary? destinationOptions, NSUrl sourceUrl, NSDictionary? sourceOptions, string storeType, out NSError error)
{
var destinationUrl__handle__ = destinationUrl!.GetNonNullHandle (nameof (destinationUrl));
var destinationOptions__handle__ = destinationOptions.GetHandle ();
@@ -522,7 +522,7 @@ namespace CoreData {
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("maccatalyst")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static bool SetMetadata (NSDictionary? metadata, NSString? storeType, NSUrl url, out NSError error)
+ public unsafe static bool SetMetadata (NSDictionary? metadata, NSString? storeType, NSUrl url, out NSError error)
{
var metadata__handle__ = metadata.GetHandle ();
var storeType__handle__ = storeType.GetHandle ();
@@ -539,7 +539,7 @@ namespace CoreData {
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static bool SetMetadata (NSDictionary<NSString, NSObject>? metadata, string storeType, NSUrl url, NSDictionary? options, out NSError error)
+ public unsafe static bool SetMetadata (NSDictionary<NSString, NSObject>? metadata, string storeType, NSUrl url, NSDictionary? options, out NSError error)
{
var metadata__handle__ = metadata.GetHandle ();
if (storeType is null)
diff --git a/old/dotnet/ios/generated-sources/CoreHaptics/CHHapticAdvancedPatternPlayer.g.cs b/new/dotnet/ios/generated-sources/CoreHaptics/CHHapticAdvancedPatternPlayer.g.cs
index 411016c..62b7f55 100644
--- a/old/dotnet/ios/generated-sources/CoreHaptics/CHHapticAdvancedPatternPlayer.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreHaptics/CHHapticAdvancedPatternPlayer.g.cs
@@ -67,15 +67,15 @@ namespace CoreHaptics {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export ("pauseAtTime:error:")]
[Preserve (Conditional = true)]
- bool Pause (double time, out NSError? outError);
+ unsafe bool Pause (double time, out NSError? outError);
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export ("resumeAtTime:error:")]
[Preserve (Conditional = true)]
- bool Resume (double time, out NSError? outError);
+ unsafe bool Resume (double time, out NSError? outError);
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export ("seekToOffset:error:")]
[Preserve (Conditional = true)]
- bool Seek (double offsetTime, out NSError? outError);
+ unsafe bool Seek (double offsetTime, out NSError? outError);
[Preserve (Conditional = true)]
bool LoopEnabled {
[Export ("loopEnabled")]
@@ -122,7 +122,7 @@ namespace CoreHaptics {
}
[Export ("pauseAtTime:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public bool Pause (double time, out NSError? outError)
+ public unsafe bool Pause (double time, out NSError? outError)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -136,7 +136,7 @@ namespace CoreHaptics {
}
[Export ("resumeAtTime:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public bool Resume (double time, out NSError? outError)
+ public unsafe bool Resume (double time, out NSError? outError)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -150,7 +150,7 @@ namespace CoreHaptics {
}
[Export ("seekToOffset:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public bool Seek (double offsetTime, out NSError? outError)
+ public unsafe bool Seek (double offsetTime, out NSError? outError)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -164,7 +164,7 @@ namespace CoreHaptics {
}
[Export ("startAtTime:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public bool Start (double time, out NSError? outError)
+ public unsafe bool Start (double time, out NSError? outError)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -178,7 +178,7 @@ namespace CoreHaptics {
}
[Export ("stopAtTime:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public bool Stop (double time, out NSError? outError)
+ public unsafe bool Stop (double time, out NSError? outError)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -192,7 +192,7 @@ namespace CoreHaptics {
}
[Export ("sendParameters:atTime:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public bool Send (CHHapticDynamicParameter[] parameters, double time, out NSError? outError)
+ public unsafe bool Send (CHHapticDynamicParameter[] parameters, double time, out NSError? outError)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -210,7 +210,7 @@ namespace CoreHaptics {
}
[Export ("scheduleParameterCurve:atTime:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public bool Schedule (CHHapticParameterCurve parameterCurve, double time, out NSError? outError)
+ public unsafe bool Schedule (CHHapticParameterCurve parameterCurve, double time, out NSError? outError)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -225,7 +225,7 @@ namespace CoreHaptics {
}
[Export ("cancelAndReturnError:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public bool Cancel (out NSError? outError)
+ public unsafe bool Cancel (out NSError? outError)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
diff --git a/old/dotnet/ios/generated-sources/CoreHaptics/CHHapticDeviceCapability.g.cs b/new/dotnet/ios/generated-sources/CoreHaptics/CHHapticDeviceCapability.g.cs
index 7ef69a3..124c858 100644
--- a/old/dotnet/ios/generated-sources/CoreHaptics/CHHapticDeviceCapability.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreHaptics/CHHapticDeviceCapability.g.cs
@@ -62,11 +62,11 @@ namespace CoreHaptics {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export ("attributesForEventParameter:eventType:error:")]
[Preserve (Conditional = true)]
- ICHHapticParameterAttributes? GetAttributes (NSString eventParameter, string type, out NSError? outError);
+ unsafe ICHHapticParameterAttributes? GetAttributes (NSString eventParameter, string type, out NSError? outError);
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export ("attributesForDynamicParameter:error:")]
[Preserve (Conditional = true)]
- ICHHapticParameterAttributes? GetAttributes (NSString eventParameter, out NSError? outError);
+ unsafe ICHHapticParameterAttributes? GetAttributes (NSString eventParameter, out NSError? outError);
[Preserve (Conditional = true)]
bool SupportsHaptics {
[Export ("supportsHaptics")]
@@ -86,7 +86,7 @@ namespace CoreHaptics {
}
[Export ("attributesForEventParameter:eventType:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public ICHHapticParameterAttributes? GetAttributes (NSString eventParameter, string type, out NSError? outError)
+ public unsafe ICHHapticParameterAttributes? GetAttributes (NSString eventParameter, string type, out NSError? outError)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -105,7 +105,7 @@ namespace CoreHaptics {
}
[Export ("attributesForDynamicParameter:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public ICHHapticParameterAttributes? GetAttributes (NSString eventParameter, out NSError? outError)
+ public unsafe ICHHapticParameterAttributes? GetAttributes (NSString eventParameter, out NSError? outError)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
diff --git a/old/dotnet/ios/generated-sources/CoreHaptics/CHHapticEngine.g.cs b/new/dotnet/ios/generated-sources/CoreHaptics/CHHapticEngine.g.cs
index 84500c0..92dae0b 100644
--- a/old/dotnet/ios/generated-sources/CoreHaptics/CHHapticEngine.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreHaptics/CHHapticEngine.g.cs
@@ -138,7 +138,7 @@ namespace CoreHaptics {
[Export ("initAndReturnError:")]
[DesignatedInitializer]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public CHHapticEngine (out NSError? error)
+ public unsafe CHHapticEngine (out NSError? error)
: base (NSObjectFlag.Empty)
{
#if ARCH_32
@@ -160,7 +160,7 @@ namespace CoreHaptics {
[SupportedOSPlatform ("ios13.0")]
[DesignatedInitializer]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public CHHapticEngine (global::AVFoundation.AVAudioSession? audioSession, out NSError? error)
+ public unsafe CHHapticEngine (global::AVFoundation.AVAudioSession? audioSession, out NSError? error)
: base (NSObjectFlag.Empty)
{
#if ARCH_32
@@ -178,7 +178,7 @@ namespace CoreHaptics {
}
[Export ("createAdvancedPlayerWithPattern:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual ICHHapticAdvancedPatternPlayer? CreateAdvancedPlayer (CHHapticPattern pattern, out NSError? outError)
+ public unsafe virtual ICHHapticAdvancedPatternPlayer? CreateAdvancedPlayer (CHHapticPattern pattern, out NSError? outError)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -197,7 +197,7 @@ namespace CoreHaptics {
}
[Export ("createPlayerWithPattern:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual ICHHapticPatternPlayer? CreatePlayer (CHHapticPattern pattern, out NSError? outError)
+ public unsafe virtual ICHHapticPatternPlayer? CreatePlayer (CHHapticPattern pattern, out NSError? outError)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -256,7 +256,7 @@ namespace CoreHaptics {
}
[Export ("playPatternFromURL:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool PlayPattern (NSUrl fileUrl, out NSError? outError)
+ public unsafe virtual bool PlayPattern (NSUrl fileUrl, out NSError? outError)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -275,7 +275,7 @@ namespace CoreHaptics {
}
[Export ("playPatternFromData:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool PlayPattern (NSData data, out NSError? outError)
+ public unsafe virtual bool PlayPattern (NSData data, out NSError? outError)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -294,7 +294,7 @@ namespace CoreHaptics {
}
[Export ("registerAudioResource:options:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual nuint RegisterAudioResource (NSUrl resourceUrl, NSDictionary options, out NSError? outError)
+ public unsafe virtual nuint RegisterAudioResource (NSUrl resourceUrl, NSDictionary options, out NSError? outError)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -344,7 +344,7 @@ namespace CoreHaptics {
}
[Export ("startAndReturnError:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool Start (out NSError? outError)
+ public unsafe virtual bool Start (out NSError? outError)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -392,7 +392,7 @@ namespace CoreHaptics {
}
[Export ("unregisterAudioResource:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool UnregisterAudioResource (nuint resourceId, out NSError? outError)
+ public unsafe virtual bool UnregisterAudioResource (nuint resourceId, out NSError? outError)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
diff --git a/old/dotnet/ios/generated-sources/CoreHaptics/CHHapticPattern.g.cs b/new/dotnet/ios/generated-sources/CoreHaptics/CHHapticPattern.g.cs
index cd634f0..a13ee2c 100644
--- a/old/dotnet/ios/generated-sources/CoreHaptics/CHHapticPattern.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreHaptics/CHHapticPattern.g.cs
@@ -137,7 +137,7 @@ namespace CoreHaptics {
[Export ("initWithEvents:parameters:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public CHHapticPattern (CHHapticEvent[] events, CHHapticDynamicParameter[] parameters, out NSError? outError)
+ public unsafe CHHapticPattern (CHHapticEvent[] events, CHHapticDynamicParameter[] parameters, out NSError? outError)
: base (NSObjectFlag.Empty)
{
#if ARCH_32
@@ -162,7 +162,7 @@ namespace CoreHaptics {
}
[Export ("initWithEvents:parameterCurves:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public CHHapticPattern (CHHapticEvent[] events, CHHapticParameterCurve[] parameterCurves, out NSError? outError)
+ public unsafe CHHapticPattern (CHHapticEvent[] events, CHHapticParameterCurve[] parameterCurves, out NSError? outError)
: base (NSObjectFlag.Empty)
{
#if ARCH_32
@@ -187,7 +187,7 @@ namespace CoreHaptics {
}
[Export ("initWithDictionary:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public CHHapticPattern (NSDictionary patternDict, out NSError? outError)
+ public unsafe CHHapticPattern (NSDictionary patternDict, out NSError? outError)
: base (NSObjectFlag.Empty)
{
#if ARCH_32
@@ -204,7 +204,7 @@ namespace CoreHaptics {
#endif
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public CHHapticPattern (CHHapticPatternDefinition patternDefinition, out NSError? outError)
+ public unsafe CHHapticPattern (CHHapticPatternDefinition patternDefinition, out NSError? outError)
: this (patternDefinition.GetDictionary ()!, out outError)
{
#if ARCH_32
@@ -218,7 +218,7 @@ namespace CoreHaptics {
[SupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public CHHapticPattern (NSUrl url, out NSError? error)
+ public unsafe CHHapticPattern (NSUrl url, out NSError? error)
: base (NSObjectFlag.Empty)
{
#if ARCH_32
@@ -235,7 +235,7 @@ namespace CoreHaptics {
#endif
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public CHHapticPatternDefinition? Export (out NSError? outError)
+ public unsafe CHHapticPatternDefinition? Export (out NSError? outError)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -245,7 +245,7 @@ namespace CoreHaptics {
}
[Export ("exportDictionaryAndReturnError:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- internal virtual NSDictionary<NSString, NSObject>? _ExportDictionary (out NSError? outError)
+ internal unsafe virtual NSDictionary<NSString, NSObject>? _ExportDictionary (out NSError? outError)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
diff --git a/old/dotnet/ios/generated-sources/CoreHaptics/CHHapticPatternPlayer.g.cs b/new/dotnet/ios/generated-sources/CoreHaptics/CHHapticPatternPlayer.g.cs
index 54dccaf..8e6c88b 100644
--- a/old/dotnet/ios/generated-sources/CoreHaptics/CHHapticPatternPlayer.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreHaptics/CHHapticPatternPlayer.g.cs
@@ -64,23 +64,23 @@ namespace CoreHaptics {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export ("startAtTime:error:")]
[Preserve (Conditional = true)]
- bool Start (double time, out NSError? outError);
+ unsafe bool Start (double time, out NSError? outError);
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export ("stopAtTime:error:")]
[Preserve (Conditional = true)]
- bool Stop (double time, out NSError? outError);
+ unsafe bool Stop (double time, out NSError? outError);
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export ("sendParameters:atTime:error:")]
[Preserve (Conditional = true)]
- bool Send (CHHapticDynamicParameter[] parameters, double time, out NSError? outError);
+ unsafe bool Send (CHHapticDynamicParameter[] parameters, double time, out NSError? outError);
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export ("scheduleParameterCurve:atTime:error:")]
[Preserve (Conditional = true)]
- bool Schedule (CHHapticParameterCurve parameterCurve, double time, out NSError? outError);
+ unsafe bool Schedule (CHHapticParameterCurve parameterCurve, double time, out NSError? outError);
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export ("cancelAndReturnError:")]
[Preserve (Conditional = true)]
- bool Cancel (out NSError? outError);
+ unsafe bool Cancel (out NSError? outError);
[Preserve (Conditional = true)]
bool IsMuted {
[Export ("isMuted")]
@@ -97,7 +97,7 @@ namespace CoreHaptics {
}
[Export ("startAtTime:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public bool Start (double time, out NSError? outError)
+ public unsafe bool Start (double time, out NSError? outError)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -111,7 +111,7 @@ namespace CoreHaptics {
}
[Export ("stopAtTime:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public bool Stop (double time, out NSError? outError)
+ public unsafe bool Stop (double time, out NSError? outError)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -125,7 +125,7 @@ namespace CoreHaptics {
}
[Export ("sendParameters:atTime:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public bool Send (CHHapticDynamicParameter[] parameters, double time, out NSError? outError)
+ public unsafe bool Send (CHHapticDynamicParameter[] parameters, double time, out NSError? outError)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -143,7 +143,7 @@ namespace CoreHaptics {
}
[Export ("scheduleParameterCurve:atTime:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public bool Schedule (CHHapticParameterCurve parameterCurve, double time, out NSError? outError)
+ public unsafe bool Schedule (CHHapticParameterCurve parameterCurve, double time, out NSError? outError)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -158,7 +158,7 @@ namespace CoreHaptics {
}
[Export ("cancelAndReturnError:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public bool Cancel (out NSError? outError)
+ public unsafe bool Cancel (out NSError? outError)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
diff --git a/old/dotnet/ios/generated-sources/CoreImage/CIContext.g.cs b/new/dotnet/ios/generated-sources/CoreImage/CIContext.g.cs
index 61d7bbc..672c440 100644
--- a/old/dotnet/ios/generated-sources/CoreImage/CIContext.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreImage/CIContext.g.cs
@@ -379,7 +379,7 @@ namespace CoreImage {
[SupportedOSPlatform ("macos14.0")]
[SupportedOSPlatform ("maccatalyst17.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual NSData? GetOpenEXRRepresentation (CIImage image, NSDictionary<NSString, NSObject> options, out NSError? errorPtr)
+ public unsafe virtual NSData? GetOpenEXRRepresentation (CIImage image, NSDictionary<NSString, NSObject> options, out NSError? errorPtr)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -483,7 +483,7 @@ namespace CoreImage {
[SupportedOSPlatform ("macos14.0")]
[SupportedOSPlatform ("maccatalyst17.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool WriteOpenExrRepresentation (CIImage image, NSUrl url, NSDictionary<NSString, NSObject> options, out NSError? errorPtr)
+ public unsafe virtual bool WriteOpenExrRepresentation (CIImage image, NSUrl url, NSDictionary<NSString, NSObject> options, out NSError? errorPtr)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
diff --git a/old/dotnet/ios/generated-sources/CoreImage/CIContext_CIRenderDestination.g.cs b/new/dotnet/ios/generated-sources/CoreImage/CIContext_CIRenderDestination.g.cs
index b962994..c3f7866 100644
--- a/old/dotnet/ios/generated-sources/CoreImage/CIContext_CIRenderDestination.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreImage/CIContext_CIRenderDestination.g.cs
@@ -58,7 +58,7 @@ namespace CoreImage {
static readonly NativeHandle class_ptr = Class.GetHandle ("CIContext");
[Export ("prepareRender:fromRect:toDestination:atPoint:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static bool PrepareRender (this CIContext This, CIImage image, CGRect fromRect, CIRenderDestination destination, CGPoint atPoint, out NSError? error)
+ public unsafe static bool PrepareRender (this CIContext This, CIImage image, CGRect fromRect, CIRenderDestination destination, CGPoint atPoint, out NSError? error)
{
var image__handle__ = image!.GetNonNullHandle (nameof (image));
var destination__handle__ = destination!.GetNonNullHandle (nameof (destination));
@@ -70,7 +70,7 @@ namespace CoreImage {
}
[Export ("startTaskToClear:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static CIRenderTask? StartTaskToClear (this CIContext This, CIRenderDestination destination, out NSError? error)
+ public unsafe static CIRenderTask? StartTaskToClear (this CIContext This, CIRenderDestination destination, out NSError? error)
{
var destination__handle__ = destination!.GetNonNullHandle (nameof (destination));
NativeHandle errorValue = IntPtr.Zero;
@@ -81,7 +81,7 @@ namespace CoreImage {
}
[Export ("startTaskToRender:fromRect:toDestination:atPoint:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static CIRenderTask? StartTaskToRender (this CIContext This, CIImage image, CGRect fromRect, CIRenderDestination destination, CGPoint atPoint, out NSError? error)
+ public unsafe static CIRenderTask? StartTaskToRender (this CIContext This, CIImage image, CGRect fromRect, CIRenderDestination destination, CGPoint atPoint, out NSError? error)
{
var image__handle__ = image!.GetNonNullHandle (nameof (image));
var destination__handle__ = destination!.GetNonNullHandle (nameof (destination));
@@ -93,7 +93,7 @@ namespace CoreImage {
}
[Export ("startTaskToRender:toDestination:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static CIRenderTask? StartTaskToRender (this CIContext This, CIImage image, CIRenderDestination destination, out NSError? error)
+ public unsafe static CIRenderTask? StartTaskToRender (this CIContext This, CIImage image, CIRenderDestination destination, out NSError? error)
{
var image__handle__ = image!.GetNonNullHandle (nameof (image));
var destination__handle__ = destination!.GetNonNullHandle (nameof (destination));
diff --git a/old/dotnet/ios/generated-sources/CoreImage/CIContext_ImageRepresentation.g.cs b/new/dotnet/ios/generated-sources/CoreImage/CIContext_ImageRepresentation.g.cs
index aaacd6d..c36c7e4 100644
--- a/old/dotnet/ios/generated-sources/CoreImage/CIContext_ImageRepresentation.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreImage/CIContext_ImageRepresentation.g.cs
@@ -58,7 +58,7 @@ namespace CoreImage {
[SupportedOSPlatform ("tvos15.0")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static NSData? GetHeif10Representation (this CIContext This, CIImage image, CGColorSpace colorSpace, NSDictionary options, out NSError? error)
+ public unsafe static NSData? GetHeif10Representation (this CIContext This, CIImage image, CGColorSpace colorSpace, NSDictionary options, out NSError? error)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -78,7 +78,7 @@ namespace CoreImage {
[SupportedOSPlatform ("tvos15.0")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static NSData? GetHeif10Representation (this CIContext This, CIImage image, CGColorSpace colorSpace, CIImageRepresentationOptions options, out NSError? error)
+ public unsafe static NSData? GetHeif10Representation (this CIContext This, CIImage image, CGColorSpace colorSpace, CIImageRepresentationOptions options, out NSError? error)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -180,7 +180,7 @@ namespace CoreImage {
[SupportedOSPlatform ("tvos15.0")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static bool WriteHeif10Representation (this CIContext This, CIImage image, NSUrl url, CGColorSpace colorSpace, NSDictionary options, out NSError? error)
+ public unsafe static bool WriteHeif10Representation (this CIContext This, CIImage image, NSUrl url, CGColorSpace colorSpace, NSDictionary options, out NSError? error)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -201,7 +201,7 @@ namespace CoreImage {
[SupportedOSPlatform ("tvos15.0")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static bool WriteHeif10Representation (this CIContext This, CIImage image, NSUrl url, CGColorSpace colorSpace, CIImageRepresentationOptions options, out NSError? error)
+ public unsafe static bool WriteHeif10Representation (this CIContext This, CIImage image, NSUrl url, CGColorSpace colorSpace, CIImageRepresentationOptions options, out NSError? error)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -215,7 +215,7 @@ namespace CoreImage {
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static bool WriteHeifRepresentation (this CIContext This, CIImage image, NSUrl url, CIFormat format, CGColorSpace colorSpace, NSDictionary options, out NSError? error)
+ public unsafe static bool WriteHeifRepresentation (this CIContext This, CIImage image, NSUrl url, CIFormat format, CGColorSpace colorSpace, NSDictionary options, out NSError? error)
{
var image__handle__ = image!.GetNonNullHandle (nameof (image));
var url__handle__ = url!.GetNonNullHandle (nameof (url));
@@ -232,7 +232,7 @@ namespace CoreImage {
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static bool WriteHeifRepresentation (this CIContext This, CIImage image, NSUrl url, CIFormat format, CGColorSpace colorSpace, CIImageRepresentationOptions options, out NSError? error)
+ public unsafe static bool WriteHeifRepresentation (this CIContext This, CIImage image, NSUrl url, CIFormat format, CGColorSpace colorSpace, CIImageRepresentationOptions options, out NSError? error)
{
return WriteHeifRepresentation (This, image, url, format, colorSpace, options.GetDictionary ()!, out error);
}
@@ -242,7 +242,7 @@ namespace CoreImage {
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static bool WriteJpegRepresentation (this CIContext This, CIImage image, NSUrl url, CGColorSpace colorSpace, NSDictionary options, out NSError? error)
+ public unsafe static bool WriteJpegRepresentation (this CIContext This, CIImage image, NSUrl url, CGColorSpace colorSpace, NSDictionary options, out NSError? error)
{
var image__handle__ = image!.GetNonNullHandle (nameof (image));
var url__handle__ = url!.GetNonNullHandle (nameof (url));
@@ -259,7 +259,7 @@ namespace CoreImage {
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static bool WriteJpegRepresentation (this CIContext This, CIImage image, NSUrl url, CGColorSpace colorSpace, CIImageRepresentationOptions options, out NSError? error)
+ public unsafe static bool WriteJpegRepresentation (this CIContext This, CIImage image, NSUrl url, CGColorSpace colorSpace, CIImageRepresentationOptions options, out NSError? error)
{
return WriteJpegRepresentation (This, image, url, colorSpace, options.GetDictionary ()!, out error);
}
@@ -269,7 +269,7 @@ namespace CoreImage {
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static bool WritePngRepresentation (this CIContext This, CIImage image, NSUrl url, CIFormat format, CGColorSpace colorSpace, NSDictionary options, out NSError? error)
+ public unsafe static bool WritePngRepresentation (this CIContext This, CIImage image, NSUrl url, CIFormat format, CGColorSpace colorSpace, NSDictionary options, out NSError? error)
{
var image__handle__ = image!.GetNonNullHandle (nameof (image));
var url__handle__ = url!.GetNonNullHandle (nameof (url));
@@ -286,7 +286,7 @@ namespace CoreImage {
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static bool WritePngRepresentation (this CIContext This, CIImage image, NSUrl url, CIFormat format, CGColorSpace colorSpace, CIImageRepresentationOptions options, out NSError? error)
+ public unsafe static bool WritePngRepresentation (this CIContext This, CIImage image, NSUrl url, CIFormat format, CGColorSpace colorSpace, CIImageRepresentationOptions options, out NSError? error)
{
return WritePngRepresentation (This, image, url, format, colorSpace, options.GetDictionary ()!, out error);
}
@@ -296,7 +296,7 @@ namespace CoreImage {
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static bool WriteTiffRepresentation (this CIContext This, CIImage image, NSUrl url, CIFormat format, CGColorSpace colorSpace, NSDictionary options, out NSError error)
+ public unsafe static bool WriteTiffRepresentation (this CIContext This, CIImage image, NSUrl url, CIFormat format, CGColorSpace colorSpace, NSDictionary options, out NSError error)
{
var image__handle__ = image!.GetNonNullHandle (nameof (image));
var url__handle__ = url!.GetNonNullHandle (nameof (url));
@@ -313,7 +313,7 @@ namespace CoreImage {
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static bool WriteTiffRepresentation (this CIContext This, CIImage image, NSUrl url, CIFormat format, CGColorSpace colorSpace, CIImageRepresentationOptions options, out NSError error)
+ public unsafe static bool WriteTiffRepresentation (this CIContext This, CIImage image, NSUrl url, CIFormat format, CGColorSpace colorSpace, CIImageRepresentationOptions options, out NSError error)
{
return WriteTiffRepresentation (This, image, url, format, colorSpace, options.GetDictionary ()!, out error);
}
diff --git a/old/dotnet/ios/generated-sources/CoreImage/CIFilter.g.cs b/new/dotnet/ios/generated-sources/CoreImage/CIFilter.g.cs
index a541d7a..87d74fb 100644
--- a/old/dotnet/ios/generated-sources/CoreImage/CIFilter.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreImage/CIFilter.g.cs
@@ -353,7 +353,7 @@ namespace CoreImage {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static CIFilter[] FromSerializedXMP (NSData xmpData, CGRect extent, out NSError error)
+ public unsafe static CIFilter[] FromSerializedXMP (NSData xmpData, CGRect extent, out NSError error)
{
var xmpData__handle__ = xmpData!.GetNonNullHandle (nameof (xmpData));
NativeHandle errorValue = IntPtr.Zero;
diff --git a/old/dotnet/ios/generated-sources/CoreImage/CIFilterProtocol.g.cs b/new/dotnet/ios/generated-sources/CoreImage/CIFilterProtocol.g.cs
index c4533da..e9a2c0c 100644
--- a/old/dotnet/ios/generated-sources/CoreImage/CIFilterProtocol.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreImage/CIFilterProtocol.g.cs
@@ -58,6 +58,16 @@ namespace CoreImage {
[ProtocolMember (IsRequired = false, IsProperty = true, IsStatic = true, Name = "CustomAttributes", Selector = "customAttributes", PropertyType = typeof (global::Foundation.NSDictionary<NSString, NSObject>), GetterSelector = "customAttributes", ArgumentSemantic = ArgumentSemantic.None)]
public partial interface ICIFilterProtocol : INativeObject, IDisposable
{
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSDictionary<NSString, NSObject> GetCustomAttributes<T> () where T: NSObject, ICIFilterProtocol
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var class_ptr = Class.GetHandle (typeof (T));
+ return Runtime.GetNSObject<NSDictionary<NSString, NSObject>> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (class_ptr, Selector.GetHandle ("customAttributes")))!;
+ #endif
+ }
[Preserve (Conditional = true)]
CIImage? OutputImage {
[Export ("outputImage")]
diff --git a/old/dotnet/ios/generated-sources/CoreImage/CIImageProcessorKernel.g.cs b/new/dotnet/ios/generated-sources/CoreImage/CIImageProcessorKernel.g.cs
index e2c230f..755350c 100644
--- a/old/dotnet/ios/generated-sources/CoreImage/CIImageProcessorKernel.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreImage/CIImageProcessorKernel.g.cs
@@ -145,7 +145,7 @@ namespace CoreImage {
[Export ("applyWithExtent:inputs:arguments:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static CIImage? Apply (CGRect extent, CIImage[]? inputs, NSDictionary<NSString, NSObject>? args, out NSError error)
+ public unsafe static CIImage? Apply (CGRect extent, CIImage[]? inputs, NSDictionary<NSString, NSObject>? args, out NSError error)
{
var args__handle__ = args.GetHandle ();
NativeHandle errorValue = IntPtr.Zero;
@@ -197,7 +197,7 @@ namespace CoreImage {
}
[Export ("processWithInputs:arguments:output:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static bool Process (ICIImageProcessorInput[]? inputs, NSDictionary<NSString, NSObject>? arguments, ICIImageProcessorOutput output, out NSError error)
+ public unsafe static bool Process (ICIImageProcessorInput[]? inputs, NSDictionary<NSString, NSObject>? arguments, ICIImageProcessorOutput output, out NSError error)
{
var arguments__handle__ = arguments.GetHandle ();
var output__handle__ = output!.GetNonNullHandle (nameof (output));
diff --git a/old/dotnet/ios/generated-sources/CoreImage/CIKernel.g.cs b/new/dotnet/ios/generated-sources/CoreImage/CIKernel.g.cs
index 4b56c06..0be6c61 100644
--- a/old/dotnet/ios/generated-sources/CoreImage/CIKernel.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreImage/CIKernel.g.cs
@@ -159,7 +159,7 @@ namespace CoreImage {
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static CIKernel? FromFunction (string name, NSData data, out NSError? error)
+ public unsafe static CIKernel? FromFunction (string name, NSData data, out NSError? error)
{
if (name is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (name));
@@ -178,7 +178,7 @@ namespace CoreImage {
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static CIKernel? FromFunction (string name, NSData data, CIFormat format, out NSError? error)
+ public unsafe static CIKernel? FromFunction (string name, NSData data, CIFormat format, out NSError? error)
{
if (name is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (name));
@@ -197,7 +197,7 @@ namespace CoreImage {
[SupportedOSPlatform ("tvos15.0")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static CIKernel[]? FromMetalSource (string source, out NSError? error)
+ public unsafe static CIKernel[]? FromMetalSource (string source, out NSError? error)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
diff --git a/old/dotnet/ios/generated-sources/CoreImage/CIRenderTask.g.cs b/new/dotnet/ios/generated-sources/CoreImage/CIRenderTask.g.cs
index d644eef..2dd5bd2 100644
--- a/old/dotnet/ios/generated-sources/CoreImage/CIRenderTask.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreImage/CIRenderTask.g.cs
@@ -132,7 +132,7 @@ namespace CoreImage {
[Export ("waitUntilCompletedAndReturnError:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual CIRenderInfo? WaitUntilCompleted (out NSError? error)
+ public unsafe virtual CIRenderInfo? WaitUntilCompleted (out NSError? error)
{
NativeHandle errorValue = IntPtr.Zero;
CIRenderInfo? ret;
diff --git a/old/dotnet/ios/generated-sources/CoreML/MLArrayBatchProvider.g.cs b/new/dotnet/ios/generated-sources/CoreML/MLArrayBatchProvider.g.cs
index 790b13e..ead3bb7 100644
--- a/old/dotnet/ios/generated-sources/CoreML/MLArrayBatchProvider.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreML/MLArrayBatchProvider.g.cs
@@ -147,7 +147,7 @@ namespace CoreML {
}
[Export ("initWithDictionary:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public MLArrayBatchProvider (NSDictionary<NSString, NSArray> dictionary, out NSError error)
+ public unsafe MLArrayBatchProvider (NSDictionary<NSString, NSArray> dictionary, out NSError error)
: base (NSObjectFlag.Empty)
{
var dictionary__handle__ = dictionary!.GetNonNullHandle (nameof (dictionary));
diff --git a/old/dotnet/ios/generated-sources/CoreML/MLCustomLayer.g.cs b/new/dotnet/ios/generated-sources/CoreML/MLCustomLayer.g.cs
index 71a8af8..898b6d4 100644
--- a/old/dotnet/ios/generated-sources/CoreML/MLCustomLayer.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreML/MLCustomLayer.g.cs
@@ -63,15 +63,15 @@ namespace CoreML {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export ("setWeightData:error:")]
[Preserve (Conditional = true)]
- bool SetWeightData (NSData[] weights, out NSError? error);
+ unsafe bool SetWeightData (NSData[] weights, out NSError? error);
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export ("outputShapesForInputShapes:error:")]
[Preserve (Conditional = true)]
- NSArray[]? GetOutputShapes (NSArray[] inputShapes, out NSError? error);
+ unsafe NSArray[]? GetOutputShapes (NSArray[] inputShapes, out NSError? error);
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export ("evaluateOnCPUWithInputs:outputs:error:")]
[Preserve (Conditional = true)]
- bool EvaluateOnCpu (MLMultiArray[] inputs, MLMultiArray[] outputs, out NSError? error);
+ unsafe bool EvaluateOnCpu (MLMultiArray[] inputs, MLMultiArray[] outputs, out NSError? error);
}
/// <summary>Extension methods to the <see cref="IMLCustomLayer" /> interface to support all the methods from the MLCustomLayer protocol.</summary>
/// <remarks>
@@ -79,7 +79,7 @@ namespace CoreML {
/// </remarks>
public unsafe static partial class MLCustomLayer_Extensions {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static bool Encode (this IMLCustomLayer This, global::Metal.IMTLCommandBuffer commandBuffer, global::Metal.IMTLTexture[] inputs, global::Metal.IMTLTexture[] outputs, out NSError? error)
+ public unsafe static bool Encode (this IMLCustomLayer This, global::Metal.IMTLCommandBuffer commandBuffer, global::Metal.IMTLTexture[] inputs, global::Metal.IMTLTexture[] outputs, out NSError? error)
{
var commandBuffer__handle__ = commandBuffer!.GetNonNullHandle (nameof (commandBuffer));
if (inputs is null)
@@ -105,7 +105,7 @@ namespace CoreML {
}
[Export ("setWeightData:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public bool SetWeightData (NSData[] weights, out NSError? error)
+ public unsafe bool SetWeightData (NSData[] weights, out NSError? error)
{
if (weights is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (weights));
@@ -119,7 +119,7 @@ namespace CoreML {
}
[Export ("outputShapesForInputShapes:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public NSArray[]? GetOutputShapes (NSArray[] inputShapes, out NSError? error)
+ public unsafe NSArray[]? GetOutputShapes (NSArray[] inputShapes, out NSError? error)
{
if (inputShapes is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (inputShapes));
@@ -133,7 +133,7 @@ namespace CoreML {
}
[Export ("evaluateOnCPUWithInputs:outputs:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public bool EvaluateOnCpu (MLMultiArray[] inputs, MLMultiArray[] outputs, out NSError? error)
+ public unsafe bool EvaluateOnCpu (MLMultiArray[] inputs, MLMultiArray[] outputs, out NSError? error)
{
if (inputs is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (inputs));
diff --git a/old/dotnet/ios/generated-sources/CoreML/MLCustomModel.g.cs b/new/dotnet/ios/generated-sources/CoreML/MLCustomModel.g.cs
index 9739174..f4368e7 100644
--- a/old/dotnet/ios/generated-sources/CoreML/MLCustomModel.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreML/MLCustomModel.g.cs
@@ -75,7 +75,7 @@ namespace CoreML {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export ("predictionFromFeatures:options:error:")]
[Preserve (Conditional = true)]
- IMLFeatureProvider? GetPrediction (IMLFeatureProvider inputFeatures, MLPredictionOptions options, out NSError error);
+ unsafe IMLFeatureProvider? GetPrediction (IMLFeatureProvider inputFeatures, MLPredictionOptions options, out NSError error);
}
/// <summary>Extension methods to the <see cref="IMLCustomModel" /> interface to support all the methods from the MLCustomModel protocol.</summary>
/// <remarks>
@@ -83,7 +83,7 @@ namespace CoreML {
/// </remarks>
public unsafe static partial class MLCustomModel_Extensions {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static IMLBatchProvider? GetPredictions (this IMLCustomModel This, IMLBatchProvider inputBatch, MLPredictionOptions options, out NSError error)
+ public unsafe static IMLBatchProvider? GetPredictions (this IMLCustomModel This, IMLBatchProvider inputBatch, MLPredictionOptions options, out NSError error)
{
var inputBatch__handle__ = inputBatch!.GetNonNullHandle (nameof (inputBatch));
var options__handle__ = options!.GetNonNullHandle (nameof (options));
@@ -102,7 +102,7 @@ namespace CoreML {
}
[Export ("predictionFromFeatures:options:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public IMLFeatureProvider? GetPrediction (IMLFeatureProvider inputFeatures, MLPredictionOptions options, out NSError error)
+ public unsafe IMLFeatureProvider? GetPrediction (IMLFeatureProvider inputFeatures, MLPredictionOptions options, out NSError error)
{
var inputFeatures__handle__ = inputFeatures!.GetNonNullHandle (nameof (inputFeatures));
var options__handle__ = options!.GetNonNullHandle (nameof (options));
@@ -202,20 +202,20 @@ namespace CoreML {
[Export ("initWithModelDescription:parameterDictionary:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public MLCustomModel (MLModelDescription modelDescription, NSDictionary<NSString, NSObject> parameters, out NSError error)
+ public unsafe MLCustomModel (MLModelDescription modelDescription, NSDictionary<NSString, NSObject> parameters, out NSError error)
: base (NSObjectFlag.Empty)
{
throw new You_Should_Not_Call_base_In_This_Method ();
}
[Export ("predictionFromFeatures:options:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual IMLFeatureProvider? GetPrediction (IMLFeatureProvider inputFeatures, MLPredictionOptions options, out NSError error)
+ public unsafe virtual IMLFeatureProvider? GetPrediction (IMLFeatureProvider inputFeatures, MLPredictionOptions options, out NSError error)
{
throw new You_Should_Not_Call_base_In_This_Method ();
}
[Export ("predictionsFromBatch:options:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual IMLBatchProvider? GetPredictions (IMLBatchProvider inputBatch, MLPredictionOptions options, out NSError error)
+ public unsafe virtual IMLBatchProvider? GetPredictions (IMLBatchProvider inputBatch, MLPredictionOptions options, out NSError error)
{
throw new You_Should_Not_Call_base_In_This_Method ();
}
diff --git a/old/dotnet/ios/generated-sources/CoreML/MLDictionaryFeatureProvider.g.cs b/new/dotnet/ios/generated-sources/CoreML/MLDictionaryFeatureProvider.g.cs
index 9b7ea64..61ea126 100644
--- a/old/dotnet/ios/generated-sources/CoreML/MLDictionaryFeatureProvider.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreML/MLDictionaryFeatureProvider.g.cs
@@ -165,7 +165,7 @@ namespace CoreML {
[Export ("initWithDictionary:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public MLDictionaryFeatureProvider (NSDictionary<NSString, NSObject> dictionary, out NSError error)
+ public unsafe MLDictionaryFeatureProvider (NSDictionary<NSString, NSObject> dictionary, out NSError error)
: base (NSObjectFlag.Empty)
{
var dictionary__handle__ = dictionary!.GetNonNullHandle (nameof (dictionary));
diff --git a/old/dotnet/ios/generated-sources/CoreML/MLFeatureValue.g.cs b/new/dotnet/ios/generated-sources/CoreML/MLFeatureValue.g.cs
index 4625954..34b9e84 100644
--- a/old/dotnet/ios/generated-sources/CoreML/MLFeatureValue.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreML/MLFeatureValue.g.cs
@@ -234,7 +234,7 @@ namespace CoreML {
}
[Export ("featureValueWithDictionary:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static MLFeatureValue? Create (NSDictionary<NSObject, NSNumber> value, out NSError error)
+ public unsafe static MLFeatureValue? Create (NSDictionary<NSObject, NSNumber> value, out NSError error)
{
var value__handle__ = value!.GetNonNullHandle (nameof (value));
NativeHandle errorValue = IntPtr.Zero;
@@ -249,7 +249,7 @@ namespace CoreML {
[SupportedOSPlatform ("maccatalyst")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static MLFeatureValue? Create (NSUrl url, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, NSDictionary? options, out NSError? error)
+ public unsafe static MLFeatureValue? Create (NSUrl url, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, NSDictionary? options, out NSError? error)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -268,7 +268,7 @@ namespace CoreML {
[SupportedOSPlatform ("maccatalyst")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static MLFeatureValue? Create (NSUrl url, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, MLFeatureValueImageOption? imageOptions, out NSError? error)
+ public unsafe static MLFeatureValue? Create (NSUrl url, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, MLFeatureValueImageOption? imageOptions, out NSError? error)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -282,7 +282,7 @@ namespace CoreML {
[SupportedOSPlatform ("maccatalyst")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static MLFeatureValue? Create (NSUrl url, MLImageConstraint constraint, NSDictionary? options, out NSError? error)
+ public unsafe static MLFeatureValue? Create (NSUrl url, MLImageConstraint constraint, NSDictionary? options, out NSError? error)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -302,7 +302,7 @@ namespace CoreML {
[SupportedOSPlatform ("maccatalyst")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static MLFeatureValue? Create (NSUrl url, MLImageConstraint constraint, MLFeatureValueImageOption? imageOptions, out NSError? error)
+ public unsafe static MLFeatureValue? Create (NSUrl url, MLImageConstraint constraint, MLFeatureValueImageOption? imageOptions, out NSError? error)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -316,7 +316,7 @@ namespace CoreML {
[SupportedOSPlatform ("maccatalyst")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static MLFeatureValue? Create (CGImage image, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, NSDictionary? options, out NSError? error)
+ public unsafe static MLFeatureValue? Create (CGImage image, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, NSDictionary? options, out NSError? error)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -335,7 +335,7 @@ namespace CoreML {
[SupportedOSPlatform ("maccatalyst")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static MLFeatureValue? Create (CGImage image, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, MLFeatureValueImageOption? imageOptions, out NSError? error)
+ public unsafe static MLFeatureValue? Create (CGImage image, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, MLFeatureValueImageOption? imageOptions, out NSError? error)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -349,7 +349,7 @@ namespace CoreML {
[SupportedOSPlatform ("maccatalyst")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static MLFeatureValue? Create (CGImage image, MLImageConstraint constraint, NSDictionary? options, out NSError? error)
+ public unsafe static MLFeatureValue? Create (CGImage image, MLImageConstraint constraint, NSDictionary? options, out NSError? error)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -369,7 +369,7 @@ namespace CoreML {
[SupportedOSPlatform ("maccatalyst")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static MLFeatureValue? Create (CGImage image, MLImageConstraint constraint, MLFeatureValueImageOption? imageOptions, out NSError? error)
+ public unsafe static MLFeatureValue? Create (CGImage image, MLImageConstraint constraint, MLFeatureValueImageOption? imageOptions, out NSError? error)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -383,7 +383,7 @@ namespace CoreML {
[SupportedOSPlatform ("maccatalyst")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static MLFeatureValue? Create (NSUrl url, global::ImageIO.CGImagePropertyOrientation orientation, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, NSDictionary? options, out NSError? error)
+ public unsafe static MLFeatureValue? Create (NSUrl url, global::ImageIO.CGImagePropertyOrientation orientation, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, NSDictionary? options, out NSError? error)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -402,7 +402,7 @@ namespace CoreML {
[SupportedOSPlatform ("maccatalyst")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static MLFeatureValue? Create (NSUrl url, global::ImageIO.CGImagePropertyOrientation orientation, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, MLFeatureValueImageOption? imageOptions, out NSError? error)
+ public unsafe static MLFeatureValue? Create (NSUrl url, global::ImageIO.CGImagePropertyOrientation orientation, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, MLFeatureValueImageOption? imageOptions, out NSError? error)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -416,7 +416,7 @@ namespace CoreML {
[SupportedOSPlatform ("maccatalyst")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static MLFeatureValue? Create (NSUrl url, global::ImageIO.CGImagePropertyOrientation orientation, MLImageConstraint constraint, NSDictionary? options, out NSError? error)
+ public unsafe static MLFeatureValue? Create (NSUrl url, global::ImageIO.CGImagePropertyOrientation orientation, MLImageConstraint constraint, NSDictionary? options, out NSError? error)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -436,7 +436,7 @@ namespace CoreML {
[SupportedOSPlatform ("maccatalyst")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static MLFeatureValue? Create (NSUrl url, global::ImageIO.CGImagePropertyOrientation orientation, MLImageConstraint constraint, MLFeatureValueImageOption? imageOptions, out NSError? error)
+ public unsafe static MLFeatureValue? Create (NSUrl url, global::ImageIO.CGImagePropertyOrientation orientation, MLImageConstraint constraint, MLFeatureValueImageOption? imageOptions, out NSError? error)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -450,7 +450,7 @@ namespace CoreML {
[SupportedOSPlatform ("maccatalyst")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static MLFeatureValue? Create (CGImage image, global::ImageIO.CGImagePropertyOrientation orientation, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, NSDictionary? options, out NSError? error)
+ public unsafe static MLFeatureValue? Create (CGImage image, global::ImageIO.CGImagePropertyOrientation orientation, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, NSDictionary? options, out NSError? error)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -469,7 +469,7 @@ namespace CoreML {
[SupportedOSPlatform ("maccatalyst")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static MLFeatureValue? Create (CGImage image, global::ImageIO.CGImagePropertyOrientation orientation, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, MLFeatureValueImageOption? imageOptions, out NSError? error)
+ public unsafe static MLFeatureValue? Create (CGImage image, global::ImageIO.CGImagePropertyOrientation orientation, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, MLFeatureValueImageOption? imageOptions, out NSError? error)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -483,7 +483,7 @@ namespace CoreML {
[SupportedOSPlatform ("maccatalyst")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static MLFeatureValue? Create (CGImage image, global::ImageIO.CGImagePropertyOrientation orientation, MLImageConstraint constraint, NSDictionary? options, out NSError? error)
+ public unsafe static MLFeatureValue? Create (CGImage image, global::ImageIO.CGImagePropertyOrientation orientation, MLImageConstraint constraint, NSDictionary? options, out NSError? error)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -503,7 +503,7 @@ namespace CoreML {
[SupportedOSPlatform ("maccatalyst")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static MLFeatureValue? Create (CGImage image, global::ImageIO.CGImagePropertyOrientation orientation, MLImageConstraint constraint, MLFeatureValueImageOption? imageOptions, out NSError? error)
+ public unsafe static MLFeatureValue? Create (CGImage image, global::ImageIO.CGImagePropertyOrientation orientation, MLImageConstraint constraint, MLFeatureValueImageOption? imageOptions, out NSError? error)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
diff --git a/old/dotnet/ios/generated-sources/CoreML/MLModel.g.cs b/new/dotnet/ios/generated-sources/CoreML/MLModel.g.cs
index e360531..6b82cc2 100644
--- a/old/dotnet/ios/generated-sources/CoreML/MLModel.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreML/MLModel.g.cs
@@ -153,7 +153,7 @@ namespace CoreML {
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("maccatalyst")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static NSUrl? CompileModel (NSUrl modelUrl, out NSError error)
+ public unsafe static NSUrl? CompileModel (NSUrl modelUrl, out NSError error)
{
var modelUrl__handle__ = modelUrl!.GetNonNullHandle (nameof (modelUrl));
NativeHandle errorValue = IntPtr.Zero;
@@ -199,7 +199,7 @@ namespace CoreML {
}
[Export ("modelWithContentsOfURL:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static MLModel? Create (NSUrl url, out NSError error)
+ public unsafe static MLModel? Create (NSUrl url, out NSError error)
{
var url__handle__ = url!.GetNonNullHandle (nameof (url));
NativeHandle errorValue = IntPtr.Zero;
@@ -214,7 +214,7 @@ namespace CoreML {
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static MLModel? Create (NSUrl url, MLModelConfiguration configuration, out NSError error)
+ public unsafe static MLModel? Create (NSUrl url, MLModelConfiguration configuration, out NSError error)
{
var url__handle__ = url!.GetNonNullHandle (nameof (url));
var configuration__handle__ = configuration!.GetNonNullHandle (nameof (configuration));
@@ -230,7 +230,7 @@ namespace CoreML {
[SupportedOSPlatform ("maccatalyst")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual NSObject? GetParameterValue (MLParameterKey key, out NSError? error)
+ public unsafe virtual NSObject? GetParameterValue (MLParameterKey key, out NSError? error)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -249,7 +249,7 @@ namespace CoreML {
}
[Export ("predictionFromFeatures:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual IMLFeatureProvider? GetPrediction (IMLFeatureProvider input, out NSError error)
+ public unsafe virtual IMLFeatureProvider? GetPrediction (IMLFeatureProvider input, out NSError error)
{
var input__handle__ = input!.GetNonNullHandle (nameof (input));
NativeHandle errorValue = IntPtr.Zero;
@@ -264,7 +264,7 @@ namespace CoreML {
}
[Export ("predictionFromFeatures:options:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual IMLFeatureProvider? GetPrediction (IMLFeatureProvider input, MLPredictionOptions options, out NSError error)
+ public unsafe virtual IMLFeatureProvider? GetPrediction (IMLFeatureProvider input, MLPredictionOptions options, out NSError error)
{
var input__handle__ = input!.GetNonNullHandle (nameof (input));
var options__handle__ = options!.GetNonNullHandle (nameof (options));
@@ -363,7 +363,7 @@ namespace CoreML {
[SupportedOSPlatform ("maccatalyst")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual IMLBatchProvider? GetPredictions (IMLBatchProvider inputBatch, out NSError? error)
+ public unsafe virtual IMLBatchProvider? GetPredictions (IMLBatchProvider inputBatch, out NSError? error)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -386,7 +386,7 @@ namespace CoreML {
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual IMLBatchProvider? GetPredictions (IMLBatchProvider inputBatch, MLPredictionOptions options, out NSError error)
+ public unsafe virtual IMLBatchProvider? GetPredictions (IMLBatchProvider inputBatch, MLPredictionOptions options, out NSError error)
{
var inputBatch__handle__ = inputBatch!.GetNonNullHandle (nameof (inputBatch));
var options__handle__ = options!.GetNonNullHandle (nameof (options));
diff --git a/old/dotnet/ios/generated-sources/CoreML/MLModelAsset.g.cs b/new/dotnet/ios/generated-sources/CoreML/MLModelAsset.g.cs
index 3ff2150..0ea032d 100644
--- a/old/dotnet/ios/generated-sources/CoreML/MLModelAsset.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreML/MLModelAsset.g.cs
@@ -142,7 +142,7 @@ namespace CoreML {
[SupportedOSPlatform ("ios16.0")]
[SupportedOSPlatform ("maccatalyst16.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static MLModelAsset? Create (NSData specificationData, out NSError? error)
+ public unsafe static MLModelAsset? Create (NSData specificationData, out NSError? error)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
diff --git a/old/dotnet/ios/generated-sources/CoreML/MLMultiArray.g.cs b/new/dotnet/ios/generated-sources/CoreML/MLMultiArray.g.cs
index 286ac5d..345d68b 100644
--- a/old/dotnet/ios/generated-sources/CoreML/MLMultiArray.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreML/MLMultiArray.g.cs
@@ -152,7 +152,7 @@ namespace CoreML {
[Export ("initWithShape:dataType:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public MLMultiArray (NSNumber[] shape, MLMultiArrayDataType dataType, out NSError error)
+ public unsafe MLMultiArray (NSNumber[] shape, MLMultiArrayDataType dataType, out NSError error)
: base (NSObjectFlag.Empty)
{
if (shape is null)
diff --git a/old/dotnet/ios/generated-sources/CoreML/MLUpdateTask.g.cs b/new/dotnet/ios/generated-sources/CoreML/MLUpdateTask.g.cs
index cc17eb2..f1a0d7a 100644
--- a/old/dotnet/ios/generated-sources/CoreML/MLUpdateTask.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreML/MLUpdateTask.g.cs
@@ -159,7 +159,7 @@ namespace CoreML {
}
[Export ("updateTaskForModelAtURL:trainingData:configuration:progressHandlers:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static MLUpdateTask? Create (NSUrl modelUrl, IMLBatchProvider trainingData, MLModelConfiguration? configuration, MLUpdateProgressHandlers progressHandlers, out NSError? error)
+ public unsafe static MLUpdateTask? Create (NSUrl modelUrl, IMLBatchProvider trainingData, MLModelConfiguration? configuration, MLUpdateProgressHandlers progressHandlers, out NSError? error)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -205,7 +205,7 @@ namespace CoreML {
[SupportedOSPlatform ("maccatalyst")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static MLUpdateTask? Create (NSUrl modelUrl, IMLBatchProvider trainingData, MLUpdateProgressHandlers progressHandlers, out NSError? error)
+ public unsafe static MLUpdateTask? Create (NSUrl modelUrl, IMLBatchProvider trainingData, MLUpdateProgressHandlers progressHandlers, out NSError? error)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
diff --git a/old/dotnet/ios/generated-sources/CoreML/MLWritable.g.cs b/new/dotnet/ios/generated-sources/CoreML/MLWritable.g.cs
index e9b290d..ab21939 100644
--- a/old/dotnet/ios/generated-sources/CoreML/MLWritable.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreML/MLWritable.g.cs
@@ -60,7 +60,7 @@ namespace CoreML {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export ("writeToURL:error:")]
[Preserve (Conditional = true)]
- bool Write (NSUrl url, out NSError? error);
+ unsafe bool Write (NSUrl url, out NSError? error);
}
internal unsafe sealed class MLWritableWrapper : BaseWrapper, IMLWritable {
[Preserve (Conditional = true)]
@@ -70,7 +70,7 @@ namespace CoreML {
}
[Export ("writeToURL:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public bool Write (NSUrl url, out NSError? error)
+ public unsafe bool Write (NSUrl url, out NSError? error)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
diff --git a/old/dotnet/ios/generated-sources/CoreMidi/MidiCISession.g.cs b/new/dotnet/ios/generated-sources/CoreMidi/MidiCISession.g.cs
index a0ee722..c13096a 100644
--- a/old/dotnet/ios/generated-sources/CoreMidi/MidiCISession.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreMidi/MidiCISession.g.cs
@@ -160,7 +160,7 @@ namespace CoreMidi {
}
[Export ("disableProfile:onChannel:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool DisableProfile (MidiCIProfile profile, byte channel, out NSError? outError)
+ public unsafe virtual bool DisableProfile (MidiCIProfile profile, byte channel, out NSError? outError)
{
var profile__handle__ = profile!.GetNonNullHandle (nameof (profile));
NativeHandle outErrorValue = IntPtr.Zero;
@@ -175,7 +175,7 @@ namespace CoreMidi {
}
[Export ("enableProfile:onChannel:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool EnableProfile (MidiCIProfile profile, byte channel, out NSError? outError)
+ public unsafe virtual bool EnableProfile (MidiCIProfile profile, byte channel, out NSError? outError)
{
var profile__handle__ = profile!.GetNonNullHandle (nameof (profile));
NativeHandle outErrorValue = IntPtr.Zero;
diff --git a/old/dotnet/ios/generated-sources/CoreNFC/NFCNdefPayload.g.cs b/new/dotnet/ios/generated-sources/CoreNFC/NFCNdefPayload.g.cs
index 46d1ded..e2dac23 100644
--- a/old/dotnet/ios/generated-sources/CoreNFC/NFCNdefPayload.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreNFC/NFCNdefPayload.g.cs
@@ -257,7 +257,7 @@ namespace CoreNFC {
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual string? GetWellKnownTypeTextPayload (out NSLocale locale)
+ public unsafe virtual string? GetWellKnownTypeTextPayload (out NSLocale locale)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
diff --git a/old/dotnet/ios/generated-sources/CoreSpotlight/CSImportExtension.g.cs b/new/dotnet/ios/generated-sources/CoreSpotlight/CSImportExtension.g.cs
index f88dd82..5624bd3 100644
--- a/old/dotnet/ios/generated-sources/CoreSpotlight/CSImportExtension.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreSpotlight/CSImportExtension.g.cs
@@ -170,7 +170,7 @@ namespace CoreSpotlight {
}
[Export ("updateAttributes:forFileAtURL:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool Update (CSSearchableItemAttributeSet attributes, NSUrl contentUrl, out NSError? error)
+ public unsafe virtual bool Update (CSSearchableItemAttributeSet attributes, NSUrl contentUrl, out NSError? error)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
diff --git a/old/dotnet/ios/generated-sources/CoreSpotlight/CSIndexExtensionRequestHandler.g.cs b/new/dotnet/ios/generated-sources/CoreSpotlight/CSIndexExtensionRequestHandler.g.cs
index 2d5e11d..3670298 100644
--- a/old/dotnet/ios/generated-sources/CoreSpotlight/CSIndexExtensionRequestHandler.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreSpotlight/CSIndexExtensionRequestHandler.g.cs
@@ -194,7 +194,7 @@ namespace CoreSpotlight {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual NSData? GetData (CSSearchableIndex searchableIndex, string itemIdentifier, string typeIdentifier, out NSError outError)
+ public unsafe virtual NSData? GetData (CSSearchableIndex searchableIndex, string itemIdentifier, string typeIdentifier, out NSError outError)
{
var searchableIndex__handle__ = searchableIndex!.GetNonNullHandle (nameof (searchableIndex));
if (itemIdentifier is null)
@@ -221,7 +221,7 @@ namespace CoreSpotlight {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual NSUrl? GetFileUrl (CSSearchableIndex searchableIndex, string itemIdentifier, string typeIdentifier, bool inPlace, out NSError outError)
+ public unsafe virtual NSUrl? GetFileUrl (CSSearchableIndex searchableIndex, string itemIdentifier, string typeIdentifier, bool inPlace, out NSError outError)
{
var searchableIndex__handle__ = searchableIndex!.GetNonNullHandle (nameof (searchableIndex));
if (itemIdentifier is null)
diff --git a/old/dotnet/ios/generated-sources/CoreSpotlight/CSSearchableIndexDelegate.g.cs b/new/dotnet/ios/generated-sources/CoreSpotlight/CSSearchableIndexDelegate.g.cs
index 4f3e014..ac2e7c5 100644
--- a/old/dotnet/ios/generated-sources/CoreSpotlight/CSSearchableIndexDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreSpotlight/CSSearchableIndexDelegate.g.cs
@@ -93,7 +93,7 @@ namespace CoreSpotlight {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static NSData? GetData (this ICSSearchableIndexDelegate This, CSSearchableIndex searchableIndex, string itemIdentifier, string typeIdentifier, out NSError outError)
+ public unsafe static NSData? GetData (this ICSSearchableIndexDelegate This, CSSearchableIndex searchableIndex, string itemIdentifier, string typeIdentifier, out NSError outError)
{
var searchableIndex__handle__ = searchableIndex!.GetNonNullHandle (nameof (searchableIndex));
if (itemIdentifier is null)
@@ -115,7 +115,7 @@ namespace CoreSpotlight {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static NSUrl? GetFileUrl (this ICSSearchableIndexDelegate This, CSSearchableIndex searchableIndex, string itemIdentifier, string typeIdentifier, bool inPlace, out NSError outError)
+ public unsafe static NSUrl? GetFileUrl (this ICSSearchableIndexDelegate This, CSSearchableIndex searchableIndex, string itemIdentifier, string typeIdentifier, bool inPlace, out NSError outError)
{
var searchableIndex__handle__ = searchableIndex!.GetNonNullHandle (nameof (searchableIndex));
if (itemIdentifier is null)
@@ -271,7 +271,7 @@ namespace CoreSpotlight {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual NSData? GetData (CSSearchableIndex searchableIndex, string itemIdentifier, string typeIdentifier, out NSError outError)
+ public unsafe virtual NSData? GetData (CSSearchableIndex searchableIndex, string itemIdentifier, string typeIdentifier, out NSError outError)
{
throw new You_Should_Not_Call_base_In_This_Method ();
}
@@ -281,7 +281,7 @@ namespace CoreSpotlight {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual NSUrl? GetFileUrl (CSSearchableIndex searchableIndex, string itemIdentifier, string typeIdentifier, bool inPlace, out NSError outError)
+ public unsafe virtual NSUrl? GetFileUrl (CSSearchableIndex searchableIndex, string itemIdentifier, string typeIdentifier, bool inPlace, out NSError outError)
{
throw new You_Should_Not_Call_base_In_This_Method ();
}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKBerTlvRecord.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKBerTlvRecord.g.cs
new file mode 100644
index 0000000..28c07b0
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKBerTlvRecord.g.cs
@@ -0,0 +1,181 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKBERTLVRecord", true)]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKBerTlvRecord : TKTlvRecord {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKBERTLVRecord");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Creates a new <see cref="TKBerTlvRecord" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKBerTlvRecord () : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKBerTlvRecord (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKBerTlvRecord (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithTag:value:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public TKBerTlvRecord (ulong tag, NSData value)
+ : base (NSObjectFlag.Empty)
+ {
+ var value__handle__ = value!.GetNonNullHandle (nameof (value));
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_UInt64_NativeHandle (this.Handle, Selector.GetHandle ("initWithTag:value:"), tag, value__handle__), "initWithTag:value:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_UInt64_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithTag:value:"), tag, value__handle__), "initWithTag:value:");
+ }
+ }
+ [Export ("initWithTag:records:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public TKBerTlvRecord (ulong tag, TKTlvRecord[] records)
+ : base (NSObjectFlag.Empty)
+ {
+ if (records is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (records));
+ var nsa_records = NSArray.FromNSObjects (records);
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_UInt64_NativeHandle (this.Handle, Selector.GetHandle ("initWithTag:records:"), tag, nsa_records.Handle), "initWithTag:records:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_UInt64_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithTag:records:"), tag, nsa_records.Handle), "initWithTag:records:");
+ }
+ nsa_records.Dispose ();
+ }
+ [Export ("dataForTag:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSData GetData (ulong tag)
+ {
+ return Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_UInt64 (class_ptr, Selector.GetHandle ("dataForTag:"), tag))!;
+ }
+ } /* class TKBerTlvRecord */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKCompactTlvRecord.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKCompactTlvRecord.g.cs
new file mode 100644
index 0000000..54d45f0
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKCompactTlvRecord.g.cs
@@ -0,0 +1,160 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKCompactTLVRecord", true)]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKCompactTlvRecord : TKTlvRecord {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKCompactTLVRecord");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Creates a new <see cref="TKCompactTlvRecord" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKCompactTlvRecord () : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKCompactTlvRecord (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKCompactTlvRecord (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithTag:value:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public TKCompactTlvRecord (byte tag, NSData value)
+ : base (NSObjectFlag.Empty)
+ {
+ var value__handle__ = value!.GetNonNullHandle (nameof (value));
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_byte_NativeHandle (this.Handle, Selector.GetHandle ("initWithTag:value:"), tag, value__handle__), "initWithTag:value:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_byte_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithTag:value:"), tag, value__handle__), "initWithTag:value:");
+ }
+ }
+ } /* class TKCompactTlvRecord */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKErrorCode.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKErrorCode.g.cs
new file mode 100644
index 0000000..554a307
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKErrorCode.g.cs
@@ -0,0 +1,94 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ [Native]
+ public enum TKErrorCode : long {
+ NotImplemented = -1,
+ CommunicationError = -2,
+ CorruptedData = -3,
+ CanceledByUser = -4,
+ AuthenticationFailed = -5,
+ ObjectNotFound = -6,
+ TokenNotFound = -7,
+ BadParameter = -8,
+ AuthenticationNeeded = -9,
+ }
+ /// <summary>Extension methods for the <see cref="global::CryptoTokenKit.TKErrorCode" /> enumeration.</summary>
+ /// <remarks>
+ /// <para>The extension method for the <see cref="global::CryptoTokenKit.TKErrorCode" /> enumeration can be used to fetch the error domain associated with these error codes.</para>
+ /// </remarks>
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static public partial class TKErrorCodeExtensions {
+ [Field ("TKErrorDomain", "CryptoTokenKit")]
+ static NSString? _domain;
+ /// <summary>Returns the error domain associated with the CryptoTokenKit.TKErrorCode value</summary>
+ /// <param name="self">The enumeration value</param>
+ /// <remarks>
+ /// <para>See the <see cref="global::Foundation.NSError" /> for information on how to use the error domains when reporting errors.</para>
+ /// </remarks>
+ public static NSString? GetDomain (this TKErrorCode self)
+ {
+ if (_domain is null)
+ _domain = Dlfcn.GetStringConstant (Libraries.CryptoTokenKit.Handle, "TKErrorDomain");
+ return _domain;
+ }
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSimpleTlvRecord.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSimpleTlvRecord.g.cs
new file mode 100644
index 0000000..c8e3566
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSimpleTlvRecord.g.cs
@@ -0,0 +1,160 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKSimpleTLVRecord", true)]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKSimpleTlvRecord : TKTlvRecord {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKSimpleTLVRecord");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Creates a new <see cref="TKSimpleTlvRecord" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKSimpleTlvRecord () : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKSimpleTlvRecord (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKSimpleTlvRecord (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithTag:value:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public TKSimpleTlvRecord (byte tag, NSData value)
+ : base (NSObjectFlag.Empty)
+ {
+ var value__handle__ = value!.GetNonNullHandle (nameof (value));
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_byte_NativeHandle (this.Handle, Selector.GetHandle ("initWithTag:value:"), tag, value__handle__), "initWithTag:value:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_byte_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithTag:value:"), tag, value__handle__), "initWithTag:value:");
+ }
+ }
+ } /* class TKSimpleTlvRecord */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCard.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCard.g.cs
new file mode 100644
index 0000000..b379901
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCard.g.cs
@@ -0,0 +1,587 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKSmartCard", true)]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKSmartCard : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKSmartCard");
+ #endif
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Creates a new <see cref="TKSmartCard" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKSmartCard () : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ #endif
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKSmartCard (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKSmartCard (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("beginSessionWithReply:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual void BeginSession ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V0))]global::System.Action<bool, NSError> reply)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (reply is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (reply));
+ using var block_reply = Trampolines.SDActionArity2V0.CreateBlock (reply);
+ BlockLiteral *block_ptr_reply = &block_reply;
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("beginSessionWithReply:"), (IntPtr) block_ptr_reply);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("beginSessionWithReply:"), (IntPtr) block_ptr_reply);
+ }
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual Task<Tuple<bool,NSError>> BeginSessionAsync ()
+ {
+ var tcs = new TaskCompletionSource<Tuple<bool,NSError>> ();
+ BeginSession((arg1_, arg2_) => {
+ tcs.SetResult (new Tuple<bool,NSError> (arg1_, arg2_));
+ });
+ return tcs.Task;
+ }
+ [Export ("userInteractionForSecurePINChangeWithPINFormat:APDU:currentPINByteOffset:newPINByteOffset:")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKSmartCardUserInteractionForSecurePinChange? CreateUserInteractionForSecurePinChange (TKSmartCardPinFormat pinFormat, NSData apdu, nint currentPinByteOffset, nint newPinByteOffset)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var pinFormat__handle__ = pinFormat!.GetNonNullHandle (nameof (pinFormat));
+ var apdu__handle__ = apdu!.GetNonNullHandle (nameof (apdu));
+ if (IsDirectBinding) {
+ return Runtime.GetNSObject<TKSmartCardUserInteractionForSecurePinChange> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_IntPtr_IntPtr (this.Handle, Selector.GetHandle ("userInteractionForSecurePINChangeWithPINFormat:APDU:currentPINByteOffset:newPINByteOffset:"), pinFormat__handle__, apdu__handle__, currentPinByteOffset, newPinByteOffset))!;
+ } else {
+ return Runtime.GetNSObject<TKSmartCardUserInteractionForSecurePinChange> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle_IntPtr_IntPtr (this.SuperHandle, Selector.GetHandle ("userInteractionForSecurePINChangeWithPINFormat:APDU:currentPINByteOffset:newPINByteOffset:"), pinFormat__handle__, apdu__handle__, currentPinByteOffset, newPinByteOffset))!;
+ }
+ #endif
+ }
+ [Export ("userInteractionForSecurePINVerificationWithPINFormat:APDU:PINByteOffset:")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKSmartCardUserInteractionForSecurePinVerification? CreateUserInteractionForSecurePinVerification (TKSmartCardPinFormat pinFormat, NSData apdu, nint pinByteOffset)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var pinFormat__handle__ = pinFormat!.GetNonNullHandle (nameof (pinFormat));
+ var apdu__handle__ = apdu!.GetNonNullHandle (nameof (apdu));
+ if (IsDirectBinding) {
+ return Runtime.GetNSObject<TKSmartCardUserInteractionForSecurePinVerification> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_IntPtr (this.Handle, Selector.GetHandle ("userInteractionForSecurePINVerificationWithPINFormat:APDU:PINByteOffset:"), pinFormat__handle__, apdu__handle__, pinByteOffset))!;
+ } else {
+ return Runtime.GetNSObject<TKSmartCardUserInteractionForSecurePinVerification> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle_IntPtr (this.SuperHandle, Selector.GetHandle ("userInteractionForSecurePINVerificationWithPINFormat:APDU:PINByteOffset:"), pinFormat__handle__, apdu__handle__, pinByteOffset))!;
+ }
+ #endif
+ }
+ [Export ("endSession")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EndSession ()
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend (this.Handle, Selector.GetHandle ("endSession"));
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("endSession"));
+ }
+ #endif
+ }
+ [Export ("inSessionWithError:executeBlock:")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual bool ExecuteBlock (out NSError? error, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDTKSmartCardExecuteCallback))]TKSmartCardExecuteCallback block)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (block is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (block));
+ NativeHandle errorValue = IntPtr.Zero;
+ using var block_block = Trampolines.SDTKSmartCardExecuteCallback.CreateBlock (block);
+ BlockLiteral *block_ptr_block = &block_block;
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_ref_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("inSessionWithError:executeBlock:"), &errorValue, (IntPtr) block_ptr_block);
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper_ref_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("inSessionWithError:executeBlock:"), &errorValue, (IntPtr) block_ptr_block);
+ }
+ error = Runtime.GetNSObject<NSError> (errorValue)!;
+ return ret != 0;
+ #endif
+ }
+ [Export ("sendIns:p1:p2:data:le:reply:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual void Send (byte ins, byte p1, byte p2, NSData? requestData, NSNumber? le, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDTKSmartCardSendCallback))]TKSmartCardSendCallback reply)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var requestData__handle__ = requestData.GetHandle ();
+ var le__handle__ = le.GetHandle ();
+ if (reply is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (reply));
+ using var block_reply = Trampolines.SDTKSmartCardSendCallback.CreateBlock (reply);
+ BlockLiteral *block_ptr_reply = &block_reply;
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_byte_byte_byte_NativeHandle_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("sendIns:p1:p2:data:le:reply:"), ins, p1, p2, requestData__handle__, le__handle__, (IntPtr) block_ptr_reply);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_byte_byte_byte_NativeHandle_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("sendIns:p1:p2:data:le:reply:"), ins, p1, p2, requestData__handle__, le__handle__, (IntPtr) block_ptr_reply);
+ }
+ #endif
+ }
+ [Export ("sendIns:p1:p2:data:le:sw:error:")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual NSData? Send (byte ins, byte p1, byte p2, NSData? requestData, NSNumber? le, out ushort sw, out NSError? error)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var requestData__handle__ = requestData.GetHandle ();
+ var le__handle__ = le.GetHandle ();
+ NativeHandle errorValue = IntPtr.Zero;
+ sw = default (ushort);
+ NSData? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_byte_byte_byte_NativeHandle_NativeHandle_out_UInt16_ref_NativeHandle (this.Handle, Selector.GetHandle ("sendIns:p1:p2:data:le:sw:error:"), ins, p1, p2, requestData__handle__, le__handle__, (ushort*) global::System.Runtime.CompilerServices.Unsafe.AsPointer<ushort> (ref sw), &errorValue))!;
+ } else {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_byte_byte_byte_NativeHandle_NativeHandle_out_UInt16_ref_NativeHandle (this.SuperHandle, Selector.GetHandle ("sendIns:p1:p2:data:le:sw:error:"), ins, p1, p2, requestData__handle__, le__handle__, (ushort*) global::System.Runtime.CompilerServices.Unsafe.AsPointer<ushort> (ref sw), &errorValue))!;
+ }
+ error = Runtime.GetNSObject<NSError> (errorValue)!;
+ return ret!;
+ #endif
+ }
+ [Export ("transmitRequest:reply:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual void TransmitRequest (NSData request, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V19))]global::System.Action<NSData, NSError> reply)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var request__handle__ = request!.GetNonNullHandle (nameof (request));
+ if (reply is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (reply));
+ using var block_reply = Trampolines.SDActionArity2V19.CreateBlock (reply);
+ BlockLiteral *block_ptr_reply = &block_reply;
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("transmitRequest:reply:"), request__handle__, (IntPtr) block_ptr_reply);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("transmitRequest:reply:"), request__handle__, (IntPtr) block_ptr_reply);
+ }
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual Task<NSData> TransmitRequestAsync (NSData request)
+ {
+ var tcs = new TaskCompletionSource<NSData> ();
+ TransmitRequest(request, (arg1_, arg2_) => {
+ if (arg2_ is not null)
+ tcs.SetException (new NSErrorException(arg2_));
+ else
+ tcs.SetResult (arg1_!);
+ });
+ return tcs.Task;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKSmartCardProtocol AllowedProtocols {
+ [Export ("allowedProtocols", ArgumentSemantic.Assign)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ TKSmartCardProtocol ret;
+ if (IsDirectBinding) {
+ ret = (CryptoTokenKit.TKSmartCardProtocol) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("allowedProtocols"));
+ } else {
+ ret = (CryptoTokenKit.TKSmartCardProtocol) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("allowedProtocols"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setAllowedProtocols:", ArgumentSemantic.Assign)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setAllowedProtocols:"), (UIntPtr) (ulong) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, Selector.GetHandle ("setAllowedProtocols:"), (UIntPtr) (ulong) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ public virtual byte Cla {
+ [Export ("cla")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.byte_objc_msgSend (this.Handle, Selector.GetHandle ("cla"));
+ } else {
+ return global::ObjCRuntime.Messaging.byte_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("cla"));
+ }
+ #endif
+ }
+ [Export ("setCla:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_byte (this.Handle, Selector.GetHandle ("setCla:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_byte (this.SuperHandle, Selector.GetHandle ("setCla:"), value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ object? __mt_Context_var;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject? Context {
+ [Export ("context", ArgumentSemantic.Assign)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("context")))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("context")))!;
+ }
+ MarkDirty ();
+ __mt_Context_var = ret;
+ return ret!;
+ #endif
+ }
+ [Export ("setContext:", ArgumentSemantic.Assign)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setContext:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setContext:"), value__handle__);
+ }
+ MarkDirty ();
+ __mt_Context_var = value;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKSmartCardProtocol CurrentProtocol {
+ [Export ("currentProtocol")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ TKSmartCardProtocol ret;
+ if (IsDirectBinding) {
+ ret = (CryptoTokenKit.TKSmartCardProtocol) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("currentProtocol"));
+ } else {
+ ret = (CryptoTokenKit.TKSmartCardProtocol) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("currentProtocol"));
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool Sensitive {
+ [Export ("sensitive")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("sensitive"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("sensitive"));
+ }
+ return ret != 0;
+ #endif
+ }
+ [Export ("setSensitive:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setSensitive:"), value ? (byte) 1 : (byte) 0);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, Selector.GetHandle ("setSensitive:"), value ? (byte) 1 : (byte) 0);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKSmartCardSlot Slot {
+ [Export ("slot")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ TKSmartCardSlot? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<TKSmartCardSlot> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("slot")))!;
+ } else {
+ ret = Runtime.GetNSObject<TKSmartCardSlot> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("slot")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ public virtual bool UseCommandChaining {
+ [Export ("useCommandChaining")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("useCommandChaining"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("useCommandChaining"));
+ }
+ return ret != 0;
+ #endif
+ }
+ [Export ("setUseCommandChaining:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setUseCommandChaining:"), value ? (byte) 1 : (byte) 0);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, Selector.GetHandle ("setUseCommandChaining:"), value ? (byte) 1 : (byte) 0);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool UseExtendedLength {
+ [Export ("useExtendedLength")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("useExtendedLength"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("useExtendedLength"));
+ }
+ return ret != 0;
+ #endif
+ }
+ [Export ("setUseExtendedLength:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setUseExtendedLength:"), value ? (byte) 1 : (byte) 0);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, Selector.GetHandle ("setUseExtendedLength:"), value ? (byte) 1 : (byte) 0);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool Valid {
+ [Export ("valid")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("valid"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("valid"));
+ }
+ return ret != 0;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ protected override void Dispose (bool disposing)
+ {
+ base.Dispose (disposing);
+ if (Handle == IntPtr.Zero) {
+ __mt_Context_var = null;
+ }
+ }
+ } /* class TKSmartCard */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardAtr.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardAtr.g.cs
new file mode 100644
index 0000000..e46dbdf
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardAtr.g.cs
@@ -0,0 +1,287 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKSmartCardATR", true)]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKSmartCardAtr : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKSmartCardATR");
+ #endif
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKSmartCardAtr (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKSmartCardAtr (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithBytes:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public TKSmartCardAtr (NSData bytes)
+ : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var bytes__handle__ = bytes!.GetNonNullHandle (nameof (bytes));
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("initWithBytes:"), bytes__handle__), "initWithBytes:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithBytes:"), bytes__handle__), "initWithBytes:");
+ }
+ #endif
+ }
+ [Export ("initWithSource:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe TKSmartCardAtr ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDFuncArity1V2))]global::System.Func<int> source)
+ : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (source is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (source));
+ using var block_source = Trampolines.SDFuncArity1V2.CreateBlock (source);
+ BlockLiteral *block_ptr_source = &block_source;
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("initWithSource:"), (IntPtr) block_ptr_source), "initWithSource:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithSource:"), (IntPtr) block_ptr_source), "initWithSource:");
+ }
+ #endif
+ }
+ [Export ("interfaceGroupAtIndex:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKSmartCardAtrInterfaceGroup? GetInterfaceGroup (nint index)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return Runtime.GetNSObject<TKSmartCardAtrInterfaceGroup> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("interfaceGroupAtIndex:"), index))!;
+ } else {
+ return Runtime.GetNSObject<TKSmartCardAtrInterfaceGroup> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("interfaceGroupAtIndex:"), index))!;
+ }
+ #endif
+ }
+ [Export ("interfaceGroupForProtocol:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKSmartCardAtrInterfaceGroup? GetInterfaceGroup (TKSmartCardProtocol protocol)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return Runtime.GetNSObject<TKSmartCardAtrInterfaceGroup> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("interfaceGroupForProtocol:"), (UIntPtr) (ulong) protocol))!;
+ } else {
+ return Runtime.GetNSObject<TKSmartCardAtrInterfaceGroup> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_UIntPtr (this.SuperHandle, Selector.GetHandle ("interfaceGroupForProtocol:"), (UIntPtr) (ulong) protocol))!;
+ }
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSData Bytes {
+ [Export ("bytes")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSData? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("bytes")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("bytes")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSData HistoricalBytes {
+ [Export ("historicalBytes")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSData? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("historicalBytes")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("historicalBytes")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ public virtual TKCompactTlvRecord[]? HistoricalRecords {
+ [Export ("historicalRecords")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ TKCompactTlvRecord[]? ret;
+ if (IsDirectBinding) {
+ ret = CFArray.ArrayFromHandle<TKCompactTlvRecord>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("historicalRecords")))!;
+ } else {
+ ret = CFArray.ArrayFromHandle<TKCompactTlvRecord>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("historicalRecords")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [BindAs (typeof (TKSmartCardProtocol[]), OriginalType = typeof (NSNumber[]))]
+ public virtual global::CryptoTokenKit.TKSmartCardProtocol[] Protocols {
+ [Export ("protocols")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::CryptoTokenKit.TKSmartCardProtocol[] ret;
+ if (IsDirectBinding) {
+ NativeHandle retvalarrtmp;
+ ret = ((retvalarrtmp = global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("protocols"))) == IntPtr.Zero ? null! : (NSArray.ArrayFromHandleFunc <global::CryptoTokenKit.TKSmartCardProtocol> (retvalarrtmp, ptr => {
+ using (var num = Runtime.GetNSObject<NSNumber> (ptr)!) {
+ return (global::CryptoTokenKit.TKSmartCardProtocol) num.Int32Value;
+ }
+ })));
+ } else {
+ NativeHandle retvalarrtmp;
+ ret = ((retvalarrtmp = global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("protocols"))) == IntPtr.Zero ? null! : (NSArray.ArrayFromHandleFunc <global::CryptoTokenKit.TKSmartCardProtocol> (retvalarrtmp, ptr => {
+ using (var num = Runtime.GetNSObject<NSNumber> (ptr)!) {
+ return (global::CryptoTokenKit.TKSmartCardProtocol) num.Int32Value;
+ }
+ })));
+ }
+ return ret!;
+ #endif
+ }
+ }
+ } /* class TKSmartCardAtr */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardAtrInterfaceGroup.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardAtrInterfaceGroup.g.cs
new file mode 100644
index 0000000..4bea4b2
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardAtrInterfaceGroup.g.cs
@@ -0,0 +1,226 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKSmartCardATRInterfaceGroup", true)]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKSmartCardAtrInterfaceGroup : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKSmartCardATRInterfaceGroup");
+ #endif
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Creates a new <see cref="TKSmartCardAtrInterfaceGroup" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKSmartCardAtrInterfaceGroup () : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ #endif
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKSmartCardAtrInterfaceGroup (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKSmartCardAtrInterfaceGroup (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSNumber? Protocol {
+ [Export ("protocol")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSNumber? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSNumber> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("protocol")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSNumber> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("protocol")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSNumber? TA {
+ [Export ("TA")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSNumber? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSNumber> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("TA")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSNumber> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("TA")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSNumber? TB {
+ [Export ("TB")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSNumber? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSNumber> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("TB")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSNumber> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("TB")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSNumber? TC {
+ [Export ("TC")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSNumber? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSNumber> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("TC")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSNumber> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("TC")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ } /* class TKSmartCardAtrInterfaceGroup */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardPinCharset.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardPinCharset.g.cs
new file mode 100644
index 0000000..d38b271
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardPinCharset.g.cs
@@ -0,0 +1,63 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [Experimental ("APL0001")]
+ [Native ("TKSmartCardPINCharset")]
+ public enum TKSmartCardPinCharset : long {
+ Numeric = 0,
+ Alphanumeric = 1,
+ UpperAlphanumeric = 2,
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardPinCompletion.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardPinCompletion.g.cs
new file mode 100644
index 0000000..5cdc37e
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardPinCompletion.g.cs
@@ -0,0 +1,64 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [Experimental ("APL0001")]
+ [Flags]
+ [Native ("TKSmartCardPINCompletion")]
+ public enum TKSmartCardPinCompletion : ulong {
+ MaxLength = 1,
+ Key = 2,
+ Timeout = 4,
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardPinConfirmation.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardPinConfirmation.g.cs
new file mode 100644
index 0000000..03dcd36
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardPinConfirmation.g.cs
@@ -0,0 +1,64 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [Experimental ("APL0001")]
+ [Flags]
+ [Native ("TKSmartCardPINConfirmation")]
+ public enum TKSmartCardPinConfirmation : ulong {
+ None = 0,
+ New = 1,
+ Current = 2,
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardPinEncoding.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardPinEncoding.g.cs
new file mode 100644
index 0000000..d2615a6
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardPinEncoding.g.cs
@@ -0,0 +1,63 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [Experimental ("APL0001")]
+ [Native ("TKSmartCardPINEncoding")]
+ public enum TKSmartCardPinEncoding : long {
+ Binary = 0,
+ Ascii = 1,
+ Bcd = 2,
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardPinFormat.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardPinFormat.g.cs
new file mode 100644
index 0000000..655b4a9
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardPinFormat.g.cs
@@ -0,0 +1,407 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKSmartCardPINFormat", true)]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKSmartCardPinFormat : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKSmartCardPINFormat");
+ #endif
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Creates a new <see cref="TKSmartCardPinFormat" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKSmartCardPinFormat () : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ #endif
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKSmartCardPinFormat (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKSmartCardPinFormat (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKSmartCardPinCharset Charset {
+ [Export ("charset", ArgumentSemantic.Assign)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ TKSmartCardPinCharset ret;
+ if (IsDirectBinding) {
+ ret = (CryptoTokenKit.TKSmartCardPinCharset) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("charset"));
+ } else {
+ ret = (CryptoTokenKit.TKSmartCardPinCharset) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("charset"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setCharset:", ArgumentSemantic.Assign)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setCharset:"), (IntPtr) (long) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setCharset:"), (IntPtr) (long) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKSmartCardPinEncoding Encoding {
+ [Export ("encoding", ArgumentSemantic.Assign)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ TKSmartCardPinEncoding ret;
+ if (IsDirectBinding) {
+ ret = (CryptoTokenKit.TKSmartCardPinEncoding) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("encoding"));
+ } else {
+ ret = (CryptoTokenKit.TKSmartCardPinEncoding) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("encoding"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setEncoding:", ArgumentSemantic.Assign)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setEncoding:"), (IntPtr) (long) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setEncoding:"), (IntPtr) (long) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nint MaxPinLength {
+ [Export ("maxPINLength")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("maxPINLength"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("maxPINLength"));
+ }
+ #endif
+ }
+ [Export ("setMaxPINLength:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setMaxPINLength:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setMaxPINLength:"), value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nint MinPinLength {
+ [Export ("minPINLength")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("minPINLength"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("minPINLength"));
+ }
+ #endif
+ }
+ [Export ("setMinPINLength:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setMinPINLength:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setMinPINLength:"), value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nint PinBitOffset {
+ [Export ("PINBitOffset")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("PINBitOffset"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("PINBitOffset"));
+ }
+ #endif
+ }
+ [Export ("setPINBitOffset:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setPINBitOffset:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setPINBitOffset:"), value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nint PinBlockByteLength {
+ [Export ("PINBlockByteLength")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("PINBlockByteLength"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("PINBlockByteLength"));
+ }
+ #endif
+ }
+ [Export ("setPINBlockByteLength:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setPINBlockByteLength:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setPINBlockByteLength:"), value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKSmartCardPinJustification PinJustification {
+ [Export ("PINJustification", ArgumentSemantic.Assign)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ TKSmartCardPinJustification ret;
+ if (IsDirectBinding) {
+ ret = (CryptoTokenKit.TKSmartCardPinJustification) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("PINJustification"));
+ } else {
+ ret = (CryptoTokenKit.TKSmartCardPinJustification) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("PINJustification"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setPINJustification:", ArgumentSemantic.Assign)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setPINJustification:"), (IntPtr) (long) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setPINJustification:"), (IntPtr) (long) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nint PinLengthBitOffset {
+ [Export ("PINLengthBitOffset")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("PINLengthBitOffset"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("PINLengthBitOffset"));
+ }
+ #endif
+ }
+ [Export ("setPINLengthBitOffset:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setPINLengthBitOffset:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setPINLengthBitOffset:"), value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nint PinLengthBitSize {
+ [Export ("PINLengthBitSize")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("PINLengthBitSize"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("PINLengthBitSize"));
+ }
+ #endif
+ }
+ [Export ("setPINLengthBitSize:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setPINLengthBitSize:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setPINLengthBitSize:"), value);
+ }
+ #endif
+ }
+ }
+ } /* class TKSmartCardPinFormat */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardPinJustification.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardPinJustification.g.cs
new file mode 100644
index 0000000..ecf7f45
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardPinJustification.g.cs
@@ -0,0 +1,62 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [Experimental ("APL0001")]
+ [Native ("TKSmartCardPINJustification")]
+ public enum TKSmartCardPinJustification : long {
+ Left = 0,
+ Right = 1,
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardProtocol.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardProtocol.g.cs
new file mode 100644
index 0000000..5b04052
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardProtocol.g.cs
@@ -0,0 +1,66 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [Experimental ("APL0001")]
+ [Flags]
+ [Native]
+ public enum TKSmartCardProtocol : ulong {
+ None = 0,
+ T0 = 1,
+ T1 = 2,
+ T15 = 32768,
+ Any = 65535,
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardSlot.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardSlot.g.cs
new file mode 100644
index 0000000..c474664
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardSlot.g.cs
@@ -0,0 +1,251 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKSmartCardSlot", true)]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKSmartCardSlot : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKSmartCardSlot");
+ #endif
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Creates a new <see cref="TKSmartCardSlot" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKSmartCardSlot () : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ #endif
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKSmartCardSlot (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKSmartCardSlot (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("makeSmartCard")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKSmartCard? MakeSmartCard ()
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return Runtime.GetNSObject<TKSmartCard> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("makeSmartCard")))!;
+ } else {
+ return Runtime.GetNSObject<TKSmartCard> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("makeSmartCard")))!;
+ }
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKSmartCardAtr? Atr {
+ [Export ("ATR")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ TKSmartCardAtr? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<TKSmartCardAtr> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("ATR")))!;
+ } else {
+ ret = Runtime.GetNSObject<TKSmartCardAtr> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("ATR")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nint MaxInputLength {
+ [Export ("maxInputLength")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("maxInputLength"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("maxInputLength"));
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nint MaxOutputLength {
+ [Export ("maxOutputLength")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("maxOutputLength"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("maxOutputLength"));
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual string Name {
+ [Export ("name")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("name")))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("name")))!;
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKSmartCardSlotState State {
+ [Export ("state")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ TKSmartCardSlotState ret;
+ if (IsDirectBinding) {
+ ret = (CryptoTokenKit.TKSmartCardSlotState) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("state"));
+ } else {
+ ret = (CryptoTokenKit.TKSmartCardSlotState) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("state"));
+ }
+ return ret!;
+ #endif
+ }
+ }
+ } /* class TKSmartCardSlot */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardSlotManager.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardSlotManager.g.cs
new file mode 100644
index 0000000..0a90e0a
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardSlotManager.g.cs
@@ -0,0 +1,224 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKSmartCardSlotManager", true)]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKSmartCardSlotManager : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKSmartCardSlotManager");
+ #endif
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKSmartCardSlotManager (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKSmartCardSlotManager (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("getSlotWithName:reply:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual void GetSlot (string name, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDTKGetSlotCallback))]TKGetSlotCallback reply)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (name is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (name));
+ if (reply is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (reply));
+ var nsname = CFString.CreateNative (name);
+ using var block_reply = Trampolines.SDTKGetSlotCallback.CreateBlock (reply);
+ BlockLiteral *block_ptr_reply = &block_reply;
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("getSlotWithName:reply:"), nsname, (IntPtr) block_ptr_reply);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("getSlotWithName:reply:"), nsname, (IntPtr) block_ptr_reply);
+ }
+ CFString.ReleaseNative (nsname);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual Task<TKSmartCardSlot> GetSlotAsync (string name)
+ {
+ var tcs = new TaskCompletionSource<TKSmartCardSlot> ();
+ GetSlot(name, (slot_) => {
+ tcs.SetResult (slot_!);
+ });
+ return tcs.Task;
+ }
+ [Export ("slotNamed:")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKSmartCardSlot? GetSlot (string name)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (name is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (name));
+ var nsname = CFString.CreateNative (name);
+ TKSmartCardSlot? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<TKSmartCardSlot> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("slotNamed:"), nsname))!;
+ } else {
+ ret = Runtime.GetNSObject<TKSmartCardSlot> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("slotNamed:"), nsname))!;
+ }
+ CFString.ReleaseNative (nsname);
+ return ret!;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static TKSmartCardSlotManager? DefaultManager {
+ [Export ("defaultManager")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ TKSmartCardSlotManager? ret;
+ ret = Runtime.GetNSObject<TKSmartCardSlotManager> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (class_ptr, Selector.GetHandle ("defaultManager")))!;
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual string[] SlotNames {
+ [Export ("slotNames")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return CFArray.StringArrayFromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("slotNames")))!;
+ } else {
+ return CFArray.StringArrayFromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("slotNames")))!;
+ }
+ #endif
+ }
+ }
+ } /* class TKSmartCardSlotManager */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardSlotState.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardSlotState.g.cs
new file mode 100644
index 0000000..8efad62
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardSlotState.g.cs
@@ -0,0 +1,65 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [Experimental ("APL0001")]
+ [Native]
+ public enum TKSmartCardSlotState : long {
+ Missing = 0,
+ Empty = 1,
+ Probing = 2,
+ MuteCard = 3,
+ ValidCard = 4,
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardToken.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardToken.g.cs
new file mode 100644
index 0000000..2d77383
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardToken.g.cs
@@ -0,0 +1,180 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKSmartCardToken", true)]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKSmartCardToken : TKToken {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKSmartCardToken");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Creates a new <see cref="TKSmartCardToken" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKSmartCardToken () : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKSmartCardToken (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKSmartCardToken (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithSmartCard:AID:instanceID:tokenDriver:")]
+ [DesignatedInitializer]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public TKSmartCardToken (TKSmartCard smartCard, NSData? aid, string instanceId, TKSmartCardTokenDriver tokenDriver)
+ : base (NSObjectFlag.Empty)
+ {
+ var smartCard__handle__ = smartCard!.GetNonNullHandle (nameof (smartCard));
+ var aid__handle__ = aid.GetHandle ();
+ if (instanceId is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (instanceId));
+ var tokenDriver__handle__ = tokenDriver!.GetNonNullHandle (nameof (tokenDriver));
+ var nsinstanceId = CFString.CreateNative (instanceId);
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("initWithSmartCard:AID:instanceID:tokenDriver:"), smartCard__handle__, aid__handle__, nsinstanceId, tokenDriver__handle__), "initWithSmartCard:AID:instanceID:tokenDriver:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithSmartCard:AID:instanceID:tokenDriver:"), smartCard__handle__, aid__handle__, nsinstanceId, tokenDriver__handle__), "initWithSmartCard:AID:instanceID:tokenDriver:");
+ }
+ CFString.ReleaseNative (nsinstanceId);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSData? Aid {
+ [Export ("AID")]
+ get {
+ NSData? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("AID")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("AID")))!;
+ }
+ return ret!;
+ }
+ }
+ } /* class TKSmartCardToken */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardTokenDriver.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardTokenDriver.g.cs
new file mode 100644
index 0000000..8b2e151
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardTokenDriver.g.cs
@@ -0,0 +1,148 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKSmartCardTokenDriver", true)]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKSmartCardTokenDriver : TKTokenDriver {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKSmartCardTokenDriver");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Creates a new <see cref="TKSmartCardTokenDriver" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKSmartCardTokenDriver () : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKSmartCardTokenDriver (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKSmartCardTokenDriver (NativeHandle handle) : base (handle)
+ {
+ }
+
+ } /* class TKSmartCardTokenDriver */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardTokenDriverDelegate.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardTokenDriverDelegate.g.cs
new file mode 100644
index 0000000..d229abf
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardTokenDriverDelegate.g.cs
@@ -0,0 +1,93 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [Experimental ("APL0001")]
+ [Protocol (Name = "TKSmartCardTokenDriverDelegate", WrapperType = typeof (TKSmartCardTokenDriverDelegateWrapper))]
+ [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateToken", Selector = "tokenDriver:createTokenForSmartCard:AID:error:", ReturnType = typeof (CryptoTokenKit.TKSmartCardToken), ParameterType = new Type [] { typeof (CryptoTokenKit.TKSmartCardTokenDriver), typeof (CryptoTokenKit.TKSmartCard), typeof (NSData), typeof (NSError) }, ParameterByRef = new bool [] { false, false, false, true })]
+ public partial interface ITKSmartCardTokenDriverDelegate : INativeObject, IDisposable,
+ CryptoTokenKit.ITKTokenDriverDelegate
+ {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [Export ("tokenDriver:createTokenForSmartCard:AID:error:")]
+ [Preserve (Conditional = true)]
+ unsafe TKSmartCardToken? CreateToken (TKSmartCardTokenDriver driver, TKSmartCard smartCard, NSData? aid, out NSError? error);
+ }
+ [Experimental ("APL0001")]
+ internal unsafe sealed class TKSmartCardTokenDriverDelegateWrapper : BaseWrapper, ITKSmartCardTokenDriverDelegate {
+ [Experimental ("APL0001")]
+ [Preserve (Conditional = true)]
+ public TKSmartCardTokenDriverDelegateWrapper (NativeHandle handle, bool owns)
+ : base (handle, owns)
+ {
+ }
+ [Export ("tokenDriver:createTokenForSmartCard:AID:error:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe TKSmartCardToken? CreateToken (TKSmartCardTokenDriver driver, TKSmartCard smartCard, NSData? aid, out NSError? error)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var driver__handle__ = driver!.GetNonNullHandle (nameof (driver));
+ var smartCard__handle__ = smartCard!.GetNonNullHandle (nameof (smartCard));
+ var aid__handle__ = aid.GetHandle ();
+ NativeHandle errorValue = IntPtr.Zero;
+ TKSmartCardToken? ret;
+ ret = Runtime.GetNSObject<TKSmartCardToken> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle_ref_NativeHandle (this.Handle, Selector.GetHandle ("tokenDriver:createTokenForSmartCard:AID:error:"), driver__handle__, smartCard__handle__, aid__handle__, &errorValue))!;
+ error = Runtime.GetNSObject<NSError> (errorValue)!;
+ return ret!;
+ #endif
+ }
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardTokenSession.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardTokenSession.g.cs
new file mode 100644
index 0000000..f4d2274
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardTokenSession.g.cs
@@ -0,0 +1,174 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKSmartCardTokenSession", true)]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKSmartCardTokenSession : TKTokenSession {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKSmartCardTokenSession");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Creates a new <see cref="TKSmartCardTokenSession" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKSmartCardTokenSession () : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKSmartCardTokenSession (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKSmartCardTokenSession (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithToken:")]
+ [DesignatedInitializer]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public TKSmartCardTokenSession (TKToken token)
+ : base (NSObjectFlag.Empty)
+ {
+ var token__handle__ = token!.GetNonNullHandle (nameof (token));
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("initWithToken:"), token__handle__), "initWithToken:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithToken:"), token__handle__), "initWithToken:");
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKSmartCard SmartCard {
+ [Export ("smartCard")]
+ get {
+ TKSmartCard? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<TKSmartCard> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("smartCard")))!;
+ } else {
+ ret = Runtime.GetNSObject<TKSmartCard> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("smartCard")))!;
+ }
+ return ret!;
+ }
+ }
+ } /* class TKSmartCardTokenSession */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardUserInteraction.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardUserInteraction.g.cs
new file mode 100644
index 0000000..a5fd3df
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardUserInteraction.g.cs
@@ -0,0 +1,311 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKSmartCardUserInteraction", true)]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKSmartCardUserInteraction : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKSmartCardUserInteraction");
+ #endif
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Creates a new <see cref="TKSmartCardUserInteraction" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKSmartCardUserInteraction () : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ #endif
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKSmartCardUserInteraction (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKSmartCardUserInteraction (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("cancel")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool Cancel ()
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("cancel"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("cancel"));
+ }
+ return ret != 0;
+ #endif
+ }
+ [Export ("runWithReply:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual void Run ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V0))]global::System.Action<bool, NSError> reply)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (reply is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (reply));
+ using var block_reply = Trampolines.SDActionArity2V0.CreateBlock (reply);
+ BlockLiteral *block_ptr_reply = &block_reply;
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("runWithReply:"), (IntPtr) block_ptr_reply);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("runWithReply:"), (IntPtr) block_ptr_reply);
+ }
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual Task<Tuple<bool,NSError>> RunAsync ()
+ {
+ var tcs = new TaskCompletionSource<Tuple<bool,NSError>> ();
+ Run((arg1_, arg2_) => {
+ tcs.SetResult (new Tuple<bool,NSError> (arg1_, arg2_));
+ });
+ return tcs.Task;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public ITKSmartCardUserInteractionDelegate? Delegate {
+ get {
+ return (WeakDelegate as ITKSmartCardUserInteractionDelegate)!;
+ }
+ set {
+ var rvalue = value as NSObject;
+ if (!(value is null) && rvalue is null)
+ throw new ArgumentException ("The object passed of type " + value.GetType () + " does not derive from NSObject");
+ WeakDelegate = rvalue;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual double InitialTimeout {
+ [Export ("initialTimeout")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.Double_objc_msgSend (this.Handle, Selector.GetHandle ("initialTimeout"));
+ } else {
+ return global::ObjCRuntime.Messaging.Double_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("initialTimeout"));
+ }
+ #endif
+ }
+ [Export ("setInitialTimeout:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_Double (this.Handle, Selector.GetHandle ("setInitialTimeout:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_Double (this.SuperHandle, Selector.GetHandle ("setInitialTimeout:"), value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual double InteractionTimeout {
+ [Export ("interactionTimeout")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.Double_objc_msgSend (this.Handle, Selector.GetHandle ("interactionTimeout"));
+ } else {
+ return global::ObjCRuntime.Messaging.Double_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("interactionTimeout"));
+ }
+ #endif
+ }
+ [Export ("setInteractionTimeout:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_Double (this.Handle, Selector.GetHandle ("setInteractionTimeout:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_Double (this.SuperHandle, Selector.GetHandle ("setInteractionTimeout:"), value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ object? __mt_WeakDelegate_var;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject? WeakDelegate {
+ [Export ("delegate", ArgumentSemantic.Weak)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("delegate")))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("delegate")))!;
+ }
+ MarkDirty ();
+ __mt_WeakDelegate_var = ret;
+ return ret!;
+ #endif
+ }
+ [Export ("setDelegate:", ArgumentSemantic.Weak)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setDelegate:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setDelegate:"), value__handle__);
+ }
+ MarkDirty ();
+ __mt_WeakDelegate_var = value;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ protected override void Dispose (bool disposing)
+ {
+ base.Dispose (disposing);
+ if (Handle == IntPtr.Zero) {
+ __mt_WeakDelegate_var = null;
+ }
+ }
+ } /* class TKSmartCardUserInteraction */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardUserInteractionDelegate.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardUserInteractionDelegate.g.cs
new file mode 100644
index 0000000..f7ae0ab
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardUserInteractionDelegate.g.cs
@@ -0,0 +1,154 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [Experimental ("APL0001")]
+ [Protocol (Name = "TKSmartCardUserInteractionDelegate", WrapperType = typeof (TKSmartCardUserInteractionDelegateWrapper))]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "CharacterEntered", Selector = "characterEnteredInUserInteraction:", ParameterType = new Type [] { typeof (CryptoTokenKit.TKSmartCardUserInteraction) }, ParameterByRef = new bool [] { false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "CorrectionKeyPressed", Selector = "correctionKeyPressedInUserInteraction:", ParameterType = new Type [] { typeof (CryptoTokenKit.TKSmartCardUserInteraction) }, ParameterByRef = new bool [] { false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "ValidationKeyPressed", Selector = "validationKeyPressedInUserInteraction:", ParameterType = new Type [] { typeof (CryptoTokenKit.TKSmartCardUserInteraction) }, ParameterByRef = new bool [] { false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "InvalidCharacterEntered", Selector = "invalidCharacterEnteredInUserInteraction:", ParameterType = new Type [] { typeof (CryptoTokenKit.TKSmartCardUserInteraction) }, ParameterByRef = new bool [] { false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "OldPinRequested", Selector = "oldPINRequestedInUserInteraction:", ParameterType = new Type [] { typeof (CryptoTokenKit.TKSmartCardUserInteraction) }, ParameterByRef = new bool [] { false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "NewPinRequested", Selector = "newPINRequestedInUserInteraction:", ParameterType = new Type [] { typeof (CryptoTokenKit.TKSmartCardUserInteraction) }, ParameterByRef = new bool [] { false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "NewPinConfirmationRequested", Selector = "newPINConfirmationRequestedInUserInteraction:", ParameterType = new Type [] { typeof (CryptoTokenKit.TKSmartCardUserInteraction) }, ParameterByRef = new bool [] { false })]
+ public partial interface ITKSmartCardUserInteractionDelegate : INativeObject, IDisposable
+ {
+ }
+ /// <summary>Extension methods to the <see cref="ITKSmartCardUserInteractionDelegate" /> interface to support all the methods from the TKSmartCardUserInteractionDelegate protocol.</summary>
+ /// <remarks>
+ /// <para>The extension methods for <see cref="ITKSmartCardUserInteractionDelegate" /> interface allow developers to treat instances of the interface as having all the optional methods of the original TKSmartCardUserInteractionDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.</para>
+ /// </remarks>
+ [Experimental ("APL0001")]
+ public unsafe static partial class TKSmartCardUserInteractionDelegate_Extensions {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static void CharacterEntered (this ITKSmartCardUserInteractionDelegate This, TKSmartCardUserInteraction interaction)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var interaction__handle__ = interaction!.GetNonNullHandle (nameof (interaction));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("characterEnteredInUserInteraction:"), interaction__handle__);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static void CorrectionKeyPressed (this ITKSmartCardUserInteractionDelegate This, TKSmartCardUserInteraction interaction)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var interaction__handle__ = interaction!.GetNonNullHandle (nameof (interaction));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("correctionKeyPressedInUserInteraction:"), interaction__handle__);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static void ValidationKeyPressed (this ITKSmartCardUserInteractionDelegate This, TKSmartCardUserInteraction interaction)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var interaction__handle__ = interaction!.GetNonNullHandle (nameof (interaction));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("validationKeyPressedInUserInteraction:"), interaction__handle__);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static void InvalidCharacterEntered (this ITKSmartCardUserInteractionDelegate This, TKSmartCardUserInteraction interaction)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var interaction__handle__ = interaction!.GetNonNullHandle (nameof (interaction));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("invalidCharacterEnteredInUserInteraction:"), interaction__handle__);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static void OldPinRequested (this ITKSmartCardUserInteractionDelegate This, TKSmartCardUserInteraction interaction)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var interaction__handle__ = interaction!.GetNonNullHandle (nameof (interaction));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("oldPINRequestedInUserInteraction:"), interaction__handle__);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static void NewPinRequested (this ITKSmartCardUserInteractionDelegate This, TKSmartCardUserInteraction interaction)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var interaction__handle__ = interaction!.GetNonNullHandle (nameof (interaction));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("newPINRequestedInUserInteraction:"), interaction__handle__);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static void NewPinConfirmationRequested (this ITKSmartCardUserInteractionDelegate This, TKSmartCardUserInteraction interaction)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var interaction__handle__ = interaction!.GetNonNullHandle (nameof (interaction));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("newPINConfirmationRequestedInUserInteraction:"), interaction__handle__);
+ #endif
+ }
+ }
+ [Experimental ("APL0001")]
+ internal unsafe sealed class TKSmartCardUserInteractionDelegateWrapper : BaseWrapper, ITKSmartCardUserInteractionDelegate {
+ [Experimental ("APL0001")]
+ [Preserve (Conditional = true)]
+ public TKSmartCardUserInteractionDelegateWrapper (NativeHandle handle, bool owns)
+ : base (handle, owns)
+ {
+ }
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardUserInteractionForPinOperation.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardUserInteractionForPinOperation.g.cs
new file mode 100644
index 0000000..2a938cc
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardUserInteractionForPinOperation.g.cs
@@ -0,0 +1,334 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKSmartCardUserInteractionForPINOperation", true)]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKSmartCardUserInteractionForPinOperation : TKSmartCardUserInteraction {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKSmartCardUserInteractionForPINOperation");
+ #endif
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Creates a new <see cref="TKSmartCardUserInteractionForPinOperation" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKSmartCardUserInteractionForPinOperation () : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ #endif
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKSmartCardUserInteractionForPinOperation (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKSmartCardUserInteractionForPinOperation (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ object? __mt_Locale_var;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSLocale? Locale {
+ [Export ("locale", ArgumentSemantic.Assign)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSLocale? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSLocale> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("locale")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSLocale> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("locale")))!;
+ }
+ MarkDirty ();
+ __mt_Locale_var = ret;
+ return ret!;
+ #endif
+ }
+ [Export ("setLocale:", ArgumentSemantic.Assign)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setLocale:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setLocale:"), value__handle__);
+ }
+ MarkDirty ();
+ __mt_Locale_var = value;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKSmartCardPinCompletion PinCompletion {
+ [Export ("PINCompletion", ArgumentSemantic.Assign)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ TKSmartCardPinCompletion ret;
+ if (IsDirectBinding) {
+ ret = (CryptoTokenKit.TKSmartCardPinCompletion) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("PINCompletion"));
+ } else {
+ ret = (CryptoTokenKit.TKSmartCardPinCompletion) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("PINCompletion"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setPINCompletion:", ArgumentSemantic.Assign)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setPINCompletion:"), (UIntPtr) (ulong) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, Selector.GetHandle ("setPINCompletion:"), (UIntPtr) (ulong) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ object? __mt_PinMessageIndices_var;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSNumber[]? PinMessageIndices {
+ [Export ("PINMessageIndices", ArgumentSemantic.Assign)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSNumber[]? ret;
+ if (IsDirectBinding) {
+ ret = CFArray.ArrayFromHandle<NSNumber>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("PINMessageIndices")))!;
+ } else {
+ ret = CFArray.ArrayFromHandle<NSNumber>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("PINMessageIndices")))!;
+ }
+ MarkDirty ();
+ __mt_PinMessageIndices_var = ret;
+ return ret!;
+ #endif
+ }
+ [Export ("setPINMessageIndices:", ArgumentSemantic.Assign)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var nsa_value = value is null ? null : NSArray.FromNSObjects (value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setPINMessageIndices:"), nsa_value.GetHandle ());
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setPINMessageIndices:"), nsa_value.GetHandle ());
+ }
+ if (nsa_value is not null)
+ nsa_value.Dispose ();
+ MarkDirty ();
+ __mt_PinMessageIndices_var = value;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ object? __mt_ResultData_var;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSData? ResultData {
+ [Export ("resultData", ArgumentSemantic.Assign)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSData? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("resultData")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("resultData")))!;
+ }
+ MarkDirty ();
+ __mt_ResultData_var = ret;
+ return ret!;
+ #endif
+ }
+ [Export ("setResultData:", ArgumentSemantic.Assign)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setResultData:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setResultData:"), value__handle__);
+ }
+ MarkDirty ();
+ __mt_ResultData_var = value;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual ushort ResultSW {
+ [Export ("resultSW")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.UInt16_objc_msgSend (this.Handle, Selector.GetHandle ("resultSW"));
+ } else {
+ return global::ObjCRuntime.Messaging.UInt16_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("resultSW"));
+ }
+ #endif
+ }
+ [Export ("setResultSW:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UInt16 (this.Handle, Selector.GetHandle ("setResultSW:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UInt16 (this.SuperHandle, Selector.GetHandle ("setResultSW:"), value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ protected override void Dispose (bool disposing)
+ {
+ base.Dispose (disposing);
+ if (Handle == IntPtr.Zero) {
+ __mt_Locale_var = null;
+ __mt_PinMessageIndices_var = null;
+ __mt_ResultData_var = null;
+ }
+ }
+ } /* class TKSmartCardUserInteractionForPinOperation */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardUserInteractionForSecurePinChange.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardUserInteractionForSecurePinChange.g.cs
new file mode 100644
index 0000000..c38c193
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardUserInteractionForSecurePinChange.g.cs
@@ -0,0 +1,187 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKSmartCardUserInteractionForSecurePINChange", true)]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKSmartCardUserInteractionForSecurePinChange : TKSmartCardUserInteractionForPinOperation {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKSmartCardUserInteractionForSecurePINChange");
+ #endif
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Creates a new <see cref="TKSmartCardUserInteractionForSecurePinChange" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKSmartCardUserInteractionForSecurePinChange () : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ #endif
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKSmartCardUserInteractionForSecurePinChange (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKSmartCardUserInteractionForSecurePinChange (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKSmartCardPinConfirmation PinConfirmation {
+ [Export ("PINConfirmation", ArgumentSemantic.Assign)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ TKSmartCardPinConfirmation ret;
+ if (IsDirectBinding) {
+ ret = (CryptoTokenKit.TKSmartCardPinConfirmation) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("PINConfirmation"));
+ } else {
+ ret = (CryptoTokenKit.TKSmartCardPinConfirmation) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("PINConfirmation"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setPINConfirmation:", ArgumentSemantic.Assign)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setPINConfirmation:"), (UIntPtr) (ulong) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, Selector.GetHandle ("setPINConfirmation:"), (UIntPtr) (ulong) value);
+ }
+ #endif
+ }
+ }
+ } /* class TKSmartCardUserInteractionForSecurePinChange */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardUserInteractionForSecurePinVerification.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardUserInteractionForSecurePinVerification.g.cs
new file mode 100644
index 0000000..81b30c7
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKSmartCardUserInteractionForSecurePinVerification.g.cs
@@ -0,0 +1,158 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKSmartCardUserInteractionForSecurePINVerification", true)]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKSmartCardUserInteractionForSecurePinVerification : TKSmartCardUserInteractionForPinOperation {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKSmartCardUserInteractionForSecurePINVerification");
+ #endif
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Creates a new <see cref="TKSmartCardUserInteractionForSecurePinVerification" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKSmartCardUserInteractionForSecurePinVerification () : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ #endif
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKSmartCardUserInteractionForSecurePinVerification (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKSmartCardUserInteractionForSecurePinVerification (NativeHandle handle) : base (handle)
+ {
+ }
+
+ } /* class TKSmartCardUserInteractionForSecurePinVerification */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTlvRecord.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTlvRecord.g.cs
new file mode 100644
index 0000000..37bad42
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTlvRecord.g.cs
@@ -0,0 +1,186 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKTLVRecord", true)]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKTlvRecord : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKTLVRecord");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKTlvRecord (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKTlvRecord (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("recordFromData:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static TKTlvRecord? CreateRecord (NSData data)
+ {
+ var data__handle__ = data!.GetNonNullHandle (nameof (data));
+ return Runtime.GetNSObject<TKTlvRecord> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (class_ptr, Selector.GetHandle ("recordFromData:"), data__handle__))!;
+ }
+ [Export ("sequenceOfRecordsFromData:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static TKTlvRecord[]? CreateSequenceOfRecords (NSData data)
+ {
+ var data__handle__ = data!.GetNonNullHandle (nameof (data));
+ return CFArray.ArrayFromHandle<TKTlvRecord>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (class_ptr, Selector.GetHandle ("sequenceOfRecordsFromData:"), data__handle__))!;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSData Data {
+ [Export ("data")]
+ get {
+ NSData? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("data")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("data")))!;
+ }
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual ulong Tag {
+ [Export ("tag")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.UInt64_objc_msgSend (this.Handle, Selector.GetHandle ("tag"));
+ } else {
+ return global::ObjCRuntime.Messaging.UInt64_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("tag"));
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSData Value {
+ [Export ("value")]
+ get {
+ NSData? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("value")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("value")))!;
+ }
+ return ret!;
+ }
+ }
+ } /* class TKTlvRecord */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKToken.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKToken.g.cs
new file mode 100644
index 0000000..9406a51
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKToken.g.cs
@@ -0,0 +1,247 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKToken", true)]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKToken : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKToken");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKToken (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKToken (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithTokenDriver:instanceID:")]
+ [DesignatedInitializer]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public TKToken (TKTokenDriver tokenDriver, string instanceId)
+ : base (NSObjectFlag.Empty)
+ {
+ var tokenDriver__handle__ = tokenDriver!.GetNonNullHandle (nameof (tokenDriver));
+ if (instanceId is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (instanceId));
+ var nsinstanceId = CFString.CreateNative (instanceId);
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("initWithTokenDriver:instanceID:"), tokenDriver__handle__, nsinstanceId), "initWithTokenDriver:instanceID:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithTokenDriver:instanceID:"), tokenDriver__handle__, nsinstanceId), "initWithTokenDriver:instanceID:");
+ }
+ CFString.ReleaseNative (nsinstanceId);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos14.0")]
+ public virtual TKTokenConfiguration Configuration {
+ [Export ("configuration")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ TKTokenConfiguration? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<TKTokenConfiguration> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("configuration")))!;
+ } else {
+ ret = Runtime.GetNSObject<TKTokenConfiguration> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("configuration")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public ITKTokenDelegate? Delegate {
+ get {
+ return (WeakDelegate as ITKTokenDelegate)!;
+ }
+ set {
+ var rvalue = value as NSObject;
+ if (!(value is null) && rvalue is null)
+ throw new ArgumentException ("The object passed of type " + value.GetType () + " does not derive from NSObject");
+ WeakDelegate = rvalue;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKTokenKeychainContents? KeychainContents {
+ [Export ("keychainContents")]
+ get {
+ TKTokenKeychainContents? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<TKTokenKeychainContents> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("keychainContents")))!;
+ } else {
+ ret = Runtime.GetNSObject<TKTokenKeychainContents> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("keychainContents")))!;
+ }
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKTokenDriver TokenDriver {
+ [Export ("tokenDriver")]
+ get {
+ TKTokenDriver? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<TKTokenDriver> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("tokenDriver")))!;
+ } else {
+ ret = Runtime.GetNSObject<TKTokenDriver> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("tokenDriver")))!;
+ }
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ object? __mt_WeakDelegate_var;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject? WeakDelegate {
+ [Export ("delegate", ArgumentSemantic.Weak)]
+ get {
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("delegate")))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("delegate")))!;
+ }
+ MarkDirty ();
+ __mt_WeakDelegate_var = ret;
+ return ret!;
+ }
+ [Export ("setDelegate:", ArgumentSemantic.Weak)]
+ set {
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setDelegate:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setDelegate:"), value__handle__);
+ }
+ MarkDirty ();
+ __mt_WeakDelegate_var = value;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ protected override void Dispose (bool disposing)
+ {
+ base.Dispose (disposing);
+ if (Handle == IntPtr.Zero) {
+ __mt_WeakDelegate_var = null;
+ }
+ }
+ } /* class TKToken */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenAuthOperation.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenAuthOperation.g.cs
new file mode 100644
index 0000000..0f3e275
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenAuthOperation.g.cs
@@ -0,0 +1,197 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKTokenAuthOperation", true)]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKTokenAuthOperation : NSObject, INSCoding, INSSecureCoding {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKTokenAuthOperation");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Creates a new <see cref="TKTokenAuthOperation" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKTokenAuthOperation () : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ }
+
+ /// <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ /// <param name="coder">The unarchiver object.</param>
+ /// <remarks>
+ /// <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="Foundation.NSCoding" /> protocol.</para>
+ /// <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ /// <para>The state of this object can also be serialized by using the <see cref="Foundation.INSCoding.EncodeTo" /> companion method.</para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public TKTokenAuthOperation (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ }
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKTokenAuthOperation (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKTokenAuthOperation (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("encodeWithCoder:")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EncodeTo (NSCoder encoder)
+ {
+ var encoder__handle__ = encoder!.GetNonNullHandle (nameof (encoder));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ }
+ }
+ [Export ("finishWithError:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual bool Finish (out NSError? error)
+ {
+ NativeHandle errorValue = IntPtr.Zero;
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_ref_NativeHandle (this.Handle, Selector.GetHandle ("finishWithError:"), &errorValue);
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper_ref_NativeHandle (this.SuperHandle, Selector.GetHandle ("finishWithError:"), &errorValue);
+ }
+ error = Runtime.GetNSObject<NSError> (errorValue)!;
+ return ret != 0;
+ }
+ } /* class TKTokenAuthOperation */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenConfiguration.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenConfiguration.g.cs
new file mode 100644
index 0000000..a604f54
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenConfiguration.g.cs
@@ -0,0 +1,257 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKTokenConfiguration", true)]
+ [SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos14.0")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKTokenConfiguration : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKTokenConfiguration");
+ #endif
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKTokenConfiguration (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKTokenConfiguration (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("certificateForObjectID:error:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual TKTokenKeychainCertificate? GetCertificate (NSObject objectId, out NSError? error)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var objectId__handle__ = objectId!.GetNonNullHandle (nameof (objectId));
+ NativeHandle errorValue = IntPtr.Zero;
+ TKTokenKeychainCertificate? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<TKTokenKeychainCertificate> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_ref_NativeHandle (this.Handle, Selector.GetHandle ("certificateForObjectID:error:"), objectId__handle__, &errorValue))!;
+ } else {
+ ret = Runtime.GetNSObject<TKTokenKeychainCertificate> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_ref_NativeHandle (this.SuperHandle, Selector.GetHandle ("certificateForObjectID:error:"), objectId__handle__, &errorValue))!;
+ }
+ error = Runtime.GetNSObject<NSError> (errorValue)!;
+ return ret!;
+ #endif
+ }
+ [Export ("keyForObjectID:error:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual TKTokenKeychainKey? GetKey (NSObject objectId, out NSError? error)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var objectId__handle__ = objectId!.GetNonNullHandle (nameof (objectId));
+ NativeHandle errorValue = IntPtr.Zero;
+ TKTokenKeychainKey? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<TKTokenKeychainKey> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_ref_NativeHandle (this.Handle, Selector.GetHandle ("keyForObjectID:error:"), objectId__handle__, &errorValue))!;
+ } else {
+ ret = Runtime.GetNSObject<TKTokenKeychainKey> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_ref_NativeHandle (this.SuperHandle, Selector.GetHandle ("keyForObjectID:error:"), objectId__handle__, &errorValue))!;
+ }
+ error = Runtime.GetNSObject<NSError> (errorValue)!;
+ return ret!;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSData? ConfigurationData {
+ [Export ("configurationData", ArgumentSemantic.Copy)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSData? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("configurationData")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("configurationData")))!;
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setConfigurationData:", ArgumentSemantic.Copy)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setConfigurationData:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setConfigurationData:"), value__handle__);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual string InstanceId {
+ [Export ("instanceID")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("instanceID")))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("instanceID")))!;
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKTokenKeychainItem[] KeychainItems {
+ [Export ("keychainItems", ArgumentSemantic.Copy)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ TKTokenKeychainItem[]? ret;
+ if (IsDirectBinding) {
+ ret = CFArray.ArrayFromHandle<TKTokenKeychainItem>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("keychainItems")))!;
+ } else {
+ ret = CFArray.ArrayFromHandle<TKTokenKeychainItem>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("keychainItems")))!;
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setKeychainItems:", ArgumentSemantic.Copy)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (value is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (value));
+ var nsa_value = NSArray.FromNSObjects (value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setKeychainItems:"), nsa_value.Handle);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setKeychainItems:"), nsa_value.Handle);
+ }
+ nsa_value.Dispose ();
+ #endif
+ }
+ }
+ } /* class TKTokenConfiguration */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenDelegate.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenDelegate.g.cs
new file mode 100644
index 0000000..04a0bda
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenDelegate.g.cs
@@ -0,0 +1,202 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ [Protocol (Name = "TKTokenDelegate", WrapperType = typeof (TKTokenDelegateWrapper))]
+ [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateSession", Selector = "token:createSessionWithError:", ReturnType = typeof (CryptoTokenKit.TKTokenSession), ParameterType = new Type [] { typeof (CryptoTokenKit.TKToken), typeof (NSError) }, ParameterByRef = new bool [] { false, true })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "TerminateSession", Selector = "token:terminateSession:", ParameterType = new Type [] { typeof (CryptoTokenKit.TKToken), typeof (CryptoTokenKit.TKTokenSession) }, ParameterByRef = new bool [] { false, false })]
+ public partial interface ITKTokenDelegate : INativeObject, IDisposable
+ {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [Export ("token:createSessionWithError:")]
+ [Preserve (Conditional = true)]
+ unsafe TKTokenSession? CreateSession (TKToken token, out NSError? error);
+ }
+ /// <summary>Extension methods to the <see cref="ITKTokenDelegate" /> interface to support all the methods from the TKTokenDelegate protocol.</summary>
+ /// <remarks>
+ /// <para>The extension methods for <see cref="ITKTokenDelegate" /> interface allow developers to treat instances of the interface as having all the optional methods of the original TKTokenDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.</para>
+ /// </remarks>
+ [Experimental ("APL0001")]
+ public unsafe static partial class TKTokenDelegate_Extensions {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static void TerminateSession (this ITKTokenDelegate This, TKToken token, TKTokenSession session)
+ {
+ var token__handle__ = token!.GetNonNullHandle (nameof (token));
+ var session__handle__ = session!.GetNonNullHandle (nameof (session));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("token:terminateSession:"), token__handle__, session__handle__);
+ }
+ }
+ [Experimental ("APL0001")]
+ internal unsafe sealed class TKTokenDelegateWrapper : BaseWrapper, ITKTokenDelegate {
+ [Experimental ("APL0001")]
+ [Preserve (Conditional = true)]
+ public TKTokenDelegateWrapper (NativeHandle handle, bool owns)
+ : base (handle, owns)
+ {
+ }
+ [Export ("token:createSessionWithError:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe TKTokenSession? CreateSession (TKToken token, out NSError? error)
+ {
+ var token__handle__ = token!.GetNonNullHandle (nameof (token));
+ NativeHandle errorValue = IntPtr.Zero;
+ TKTokenSession? ret;
+ ret = Runtime.GetNSObject<TKTokenSession> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_ref_NativeHandle (this.Handle, Selector.GetHandle ("token:createSessionWithError:"), token__handle__, &errorValue))!;
+ error = Runtime.GetNSObject<NSError> (errorValue)!;
+ return ret!;
+ }
+ }
+}
+namespace CryptoTokenKit {
+ [Protocol()]
+ [Register("Microsoft_iOS__CryptoTokenKit_TKTokenDelegate", false)]
+ [Model]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ public unsafe abstract partial class TKTokenDelegate : NSObject, ITKTokenDelegate {
+ /// <summary>Creates a new <see cref="TKTokenDelegate" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ protected TKTokenDelegate () : base (NSObjectFlag.Empty)
+ {
+ IsDirectBinding = false;
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKTokenDelegate (NSObjectFlag t) : base (t)
+ {
+ IsDirectBinding = false;
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKTokenDelegate (NativeHandle handle) : base (handle)
+ {
+ IsDirectBinding = false;
+ }
+
+ [Export ("token:createSessionWithError:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual TKTokenSession? CreateSession (TKToken token, out NSError? error)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [Export ("token:terminateSession:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void TerminateSession (TKToken token, TKTokenSession session)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ } /* class TKTokenDelegate */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenDriver.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenDriver.g.cs
new file mode 100644
index 0000000..e1e7d78
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenDriver.g.cs
@@ -0,0 +1,196 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKTokenDriver", true)]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKTokenDriver : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKTokenDriver");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Creates a new <see cref="TKTokenDriver" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKTokenDriver () : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKTokenDriver (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKTokenDriver (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public ITKTokenDriverDelegate? Delegate {
+ get {
+ return (WeakDelegate as ITKTokenDriverDelegate)!;
+ }
+ set {
+ var rvalue = value as NSObject;
+ if (!(value is null) && rvalue is null)
+ throw new ArgumentException ("The object passed of type " + value.GetType () + " does not derive from NSObject");
+ WeakDelegate = rvalue;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ object? __mt_WeakDelegate_var;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject? WeakDelegate {
+ [Export ("delegate", ArgumentSemantic.Weak)]
+ get {
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("delegate")))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("delegate")))!;
+ }
+ MarkDirty ();
+ __mt_WeakDelegate_var = ret;
+ return ret!;
+ }
+ [Export ("setDelegate:", ArgumentSemantic.Weak)]
+ set {
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setDelegate:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setDelegate:"), value__handle__);
+ }
+ MarkDirty ();
+ __mt_WeakDelegate_var = value;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ protected override void Dispose (bool disposing)
+ {
+ base.Dispose (disposing);
+ if (Handle == IntPtr.Zero) {
+ __mt_WeakDelegate_var = null;
+ }
+ }
+ } /* class TKTokenDriver */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenDriverConfiguration.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenDriverConfiguration.g.cs
new file mode 100644
index 0000000..891cf88
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenDriverConfiguration.g.cs
@@ -0,0 +1,224 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKTokenDriverConfiguration", true)]
+ [SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos14.0")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKTokenDriverConfiguration : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKTokenDriverConfiguration");
+ #endif
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKTokenDriverConfiguration (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKTokenDriverConfiguration (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("addTokenConfigurationForTokenInstanceID:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKTokenConfiguration AddTokenConfiguration (string instanceId)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (instanceId is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (instanceId));
+ var nsinstanceId = CFString.CreateNative (instanceId);
+ TKTokenConfiguration? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<TKTokenConfiguration> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("addTokenConfigurationForTokenInstanceID:"), nsinstanceId))!;
+ } else {
+ ret = Runtime.GetNSObject<TKTokenConfiguration> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("addTokenConfigurationForTokenInstanceID:"), nsinstanceId))!;
+ }
+ CFString.ReleaseNative (nsinstanceId);
+ return ret!;
+ #endif
+ }
+ [Export ("removeTokenConfigurationForTokenInstanceID:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void RemoveTokenConfiguration (string instanceId)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (instanceId is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (instanceId));
+ var nsinstanceId = CFString.CreateNative (instanceId);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("removeTokenConfigurationForTokenInstanceID:"), nsinstanceId);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("removeTokenConfigurationForTokenInstanceID:"), nsinstanceId);
+ }
+ CFString.ReleaseNative (nsinstanceId);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual string ClassId {
+ [Export ("classID")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("classID")))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("classID")))!;
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSDictionary<NSString, TKTokenDriverConfiguration> DriverConfigurations {
+ [Export ("driverConfigurations")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSDictionary<NSString, TKTokenDriverConfiguration>? ret;
+ ret = Runtime.GetNSObject<NSDictionary<NSString, TKTokenDriverConfiguration>> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (class_ptr, Selector.GetHandle ("driverConfigurations")))!;
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSDictionary<NSString, TKTokenConfiguration> TokenConfigurations {
+ [Export ("tokenConfigurations", ArgumentSemantic.Copy)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSDictionary<NSString, TKTokenConfiguration>? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSDictionary<NSString, TKTokenConfiguration>> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("tokenConfigurations")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSDictionary<NSString, TKTokenConfiguration>> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("tokenConfigurations")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ } /* class TKTokenDriverConfiguration */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenDriverDelegate.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenDriverDelegate.g.cs
new file mode 100644
index 0000000..161acc1
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenDriverDelegate.g.cs
@@ -0,0 +1,214 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ [Protocol (Name = "TKTokenDriverDelegate", WrapperType = typeof (TKTokenDriverDelegateWrapper))]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "GetToken", Selector = "tokenDriver:tokenForConfiguration:error:", ReturnType = typeof (CryptoTokenKit.TKToken), ParameterType = new Type [] { typeof (CryptoTokenKit.TKTokenDriver), typeof (CryptoTokenKit.TKTokenConfiguration), typeof (NSError) }, ParameterByRef = new bool [] { false, false, true })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "TerminateToken", Selector = "tokenDriver:terminateToken:", ParameterType = new Type [] { typeof (CryptoTokenKit.TKTokenDriver), typeof (CryptoTokenKit.TKToken) }, ParameterByRef = new bool [] { false, false })]
+ public partial interface ITKTokenDriverDelegate : INativeObject, IDisposable
+ {
+ }
+ /// <summary>Extension methods to the <see cref="ITKTokenDriverDelegate" /> interface to support all the methods from the TKTokenDriverDelegate protocol.</summary>
+ /// <remarks>
+ /// <para>The extension methods for <see cref="ITKTokenDriverDelegate" /> interface allow developers to treat instances of the interface as having all the optional methods of the original TKTokenDriverDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.</para>
+ /// </remarks>
+ [Experimental ("APL0001")]
+ public unsafe static partial class TKTokenDriverDelegate_Extensions {
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe static TKToken? GetToken (this ITKTokenDriverDelegate This, TKTokenDriver driver, TKTokenConfiguration configuration, out NSError? error)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var driver__handle__ = driver!.GetNonNullHandle (nameof (driver));
+ var configuration__handle__ = configuration!.GetNonNullHandle (nameof (configuration));
+ NativeHandle errorValue = IntPtr.Zero;
+ TKToken? ret;
+ ret = Runtime.GetNSObject<TKToken> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_ref_NativeHandle (This.Handle, Selector.GetHandle ("tokenDriver:tokenForConfiguration:error:"), driver__handle__, configuration__handle__, &errorValue))!;
+ error = Runtime.GetNSObject<NSError> (errorValue)!;
+ return ret!;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static void TerminateToken (this ITKTokenDriverDelegate This, TKTokenDriver driver, TKToken token)
+ {
+ var driver__handle__ = driver!.GetNonNullHandle (nameof (driver));
+ var token__handle__ = token!.GetNonNullHandle (nameof (token));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("tokenDriver:terminateToken:"), driver__handle__, token__handle__);
+ }
+ }
+ [Experimental ("APL0001")]
+ internal unsafe sealed class TKTokenDriverDelegateWrapper : BaseWrapper, ITKTokenDriverDelegate {
+ [Experimental ("APL0001")]
+ [Preserve (Conditional = true)]
+ public TKTokenDriverDelegateWrapper (NativeHandle handle, bool owns)
+ : base (handle, owns)
+ {
+ }
+ }
+}
+namespace CryptoTokenKit {
+ [Protocol()]
+ [Register("Microsoft_iOS__CryptoTokenKit_TKTokenDriverDelegate", false)]
+ [Model]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKTokenDriverDelegate : NSObject, ITKTokenDriverDelegate {
+ /// <summary>Creates a new <see cref="TKTokenDriverDelegate" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKTokenDriverDelegate () : base (NSObjectFlag.Empty)
+ {
+ IsDirectBinding = false;
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKTokenDriverDelegate (NSObjectFlag t) : base (t)
+ {
+ IsDirectBinding = false;
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKTokenDriverDelegate (NativeHandle handle) : base (handle)
+ {
+ IsDirectBinding = false;
+ }
+
+ [Export ("tokenDriver:tokenForConfiguration:error:")]
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual TKToken? GetToken (TKTokenDriver driver, TKTokenConfiguration configuration, out NSError? error)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [Export ("tokenDriver:terminateToken:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void TerminateToken (TKTokenDriver driver, TKToken token)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ } /* class TKTokenDriverDelegate */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenKeyAlgorithm.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenKeyAlgorithm.g.cs
new file mode 100644
index 0000000..55f2e68
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenKeyAlgorithm.g.cs
@@ -0,0 +1,161 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKTokenKeyAlgorithm", true)]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKTokenKeyAlgorithm : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKTokenKeyAlgorithm");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKTokenKeyAlgorithm (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKTokenKeyAlgorithm (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("isAlgorithm:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool IsAlgorithm ([BindAs (typeof (global::Security.SecKeyAlgorithm), OriginalType = typeof (NSString))] global::Security.SecKeyAlgorithm algorithm)
+ {
+ var nsb_algorithm = global::Security.SecKeyAlgorithmExtensions.GetConstant (algorithm);
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("isAlgorithm:"), nsb_algorithm.GetHandle ());
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("isAlgorithm:"), nsb_algorithm.GetHandle ());
+ }
+ return ret != 0;
+ }
+ [Export ("supportsAlgorithm:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool SupportsAlgorithm ([BindAs (typeof (global::Security.SecKeyAlgorithm), OriginalType = typeof (NSString))] global::Security.SecKeyAlgorithm algorithm)
+ {
+ var nsb_algorithm = global::Security.SecKeyAlgorithmExtensions.GetConstant (algorithm);
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("supportsAlgorithm:"), nsb_algorithm.GetHandle ());
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("supportsAlgorithm:"), nsb_algorithm.GetHandle ());
+ }
+ return ret != 0;
+ }
+ } /* class TKTokenKeyAlgorithm */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenKeyExchangeParameters.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenKeyExchangeParameters.g.cs
new file mode 100644
index 0000000..85de20c
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenKeyExchangeParameters.g.cs
@@ -0,0 +1,172 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKTokenKeyExchangeParameters", true)]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKTokenKeyExchangeParameters : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKTokenKeyExchangeParameters");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Creates a new <see cref="TKTokenKeyExchangeParameters" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKTokenKeyExchangeParameters () : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKTokenKeyExchangeParameters (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKTokenKeyExchangeParameters (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nint RequestedSize {
+ [Export ("requestedSize")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("requestedSize"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("requestedSize"));
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSData? SharedInfo {
+ [Export ("sharedInfo", ArgumentSemantic.Copy)]
+ get {
+ NSData? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("sharedInfo")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("sharedInfo")))!;
+ }
+ return ret!;
+ }
+ }
+ } /* class TKTokenKeyExchangeParameters */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenKeychainCertificate.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenKeychainCertificate.g.cs
new file mode 100644
index 0000000..23f267b
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenKeychainCertificate.g.cs
@@ -0,0 +1,175 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKTokenKeychainCertificate", true)]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKTokenKeychainCertificate : TKTokenKeychainItem {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKTokenKeychainCertificate");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Creates a new <see cref="TKTokenKeychainCertificate" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKTokenKeychainCertificate () : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKTokenKeychainCertificate (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKTokenKeychainCertificate (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithCertificate:objectID:")]
+ [DesignatedInitializer]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public TKTokenKeychainCertificate ([BindAs (typeof (global::Security.SecKeyAlgorithm), OriginalType = typeof (NSString))] global::Security.SecKeyAlgorithm certificateRef, NSObject objectId)
+ : base (NSObjectFlag.Empty)
+ {
+ var objectId__handle__ = objectId!.GetNonNullHandle (nameof (objectId));
+ var nsb_certificateRef = global::Security.SecKeyAlgorithmExtensions.GetConstant (certificateRef);
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("initWithCertificate:objectID:"), nsb_certificateRef.GetHandle (), objectId__handle__), "initWithCertificate:objectID:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithCertificate:objectID:"), nsb_certificateRef.GetHandle (), objectId__handle__), "initWithCertificate:objectID:");
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSData Data {
+ [Export ("data", ArgumentSemantic.Copy)]
+ get {
+ NSData? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("data")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("data")))!;
+ }
+ return ret!;
+ }
+ }
+ } /* class TKTokenKeychainCertificate */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenKeychainContents.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenKeychainContents.g.cs
new file mode 100644
index 0000000..c55eeeb
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenKeychainContents.g.cs
@@ -0,0 +1,192 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKTokenKeychainContents", true)]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKTokenKeychainContents : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKTokenKeychainContents");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKTokenKeychainContents (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKTokenKeychainContents (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("fillWithItems:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void Fill (TKTokenKeychainItem[] items)
+ {
+ if (items is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (items));
+ var nsa_items = NSArray.FromNSObjects (items);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("fillWithItems:"), nsa_items.Handle);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("fillWithItems:"), nsa_items.Handle);
+ }
+ nsa_items.Dispose ();
+ }
+ [Export ("certificateForObjectID:error:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual TKTokenKeychainCertificate? GetCertificate (NSObject objectId, out NSError? error)
+ {
+ var objectId__handle__ = objectId!.GetNonNullHandle (nameof (objectId));
+ NativeHandle errorValue = IntPtr.Zero;
+ TKTokenKeychainCertificate? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<TKTokenKeychainCertificate> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_ref_NativeHandle (this.Handle, Selector.GetHandle ("certificateForObjectID:error:"), objectId__handle__, &errorValue))!;
+ } else {
+ ret = Runtime.GetNSObject<TKTokenKeychainCertificate> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_ref_NativeHandle (this.SuperHandle, Selector.GetHandle ("certificateForObjectID:error:"), objectId__handle__, &errorValue))!;
+ }
+ error = Runtime.GetNSObject<NSError> (errorValue)!;
+ return ret!;
+ }
+ [Export ("keyForObjectID:error:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual TKTokenKeychainKey? GetKey (NSObject objectId, out NSError? error)
+ {
+ var objectId__handle__ = objectId!.GetNonNullHandle (nameof (objectId));
+ NativeHandle errorValue = IntPtr.Zero;
+ TKTokenKeychainKey? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<TKTokenKeychainKey> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_ref_NativeHandle (this.Handle, Selector.GetHandle ("keyForObjectID:error:"), objectId__handle__, &errorValue))!;
+ } else {
+ ret = Runtime.GetNSObject<TKTokenKeychainKey> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_ref_NativeHandle (this.SuperHandle, Selector.GetHandle ("keyForObjectID:error:"), objectId__handle__, &errorValue))!;
+ }
+ error = Runtime.GetNSObject<NSError> (errorValue)!;
+ return ret!;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKTokenKeychainItem[] Items {
+ [Export ("items", ArgumentSemantic.Copy)]
+ get {
+ TKTokenKeychainItem[]? ret;
+ if (IsDirectBinding) {
+ ret = CFArray.ArrayFromHandle<TKTokenKeychainItem>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("items")))!;
+ } else {
+ ret = CFArray.ArrayFromHandle<TKTokenKeychainItem>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("items")))!;
+ }
+ return ret!;
+ }
+ }
+ } /* class TKTokenKeychainContents */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenKeychainItem.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenKeychainItem.g.cs
new file mode 100644
index 0000000..85b311b
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenKeychainItem.g.cs
@@ -0,0 +1,204 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKTokenKeychainItem", true)]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKTokenKeychainItem : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKTokenKeychainItem");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKTokenKeychainItem (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKTokenKeychainItem (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithObjectID:")]
+ [DesignatedInitializer]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public TKTokenKeychainItem (NSObject objectId)
+ : base (NSObjectFlag.Empty)
+ {
+ var objectId__handle__ = objectId!.GetNonNullHandle (nameof (objectId));
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("initWithObjectID:"), objectId__handle__), "initWithObjectID:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithObjectID:"), objectId__handle__), "initWithObjectID:");
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSDictionary<NSNumber, NSObject>? Constraints {
+ [Export ("constraints", ArgumentSemantic.Copy)]
+ get {
+ NSDictionary<NSNumber, NSObject>? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSDictionary<NSNumber, NSObject>> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("constraints")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSDictionary<NSNumber, NSObject>> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("constraints")))!;
+ }
+ return ret!;
+ }
+ [Export ("setConstraints:", ArgumentSemantic.Copy)]
+ set {
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setConstraints:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setConstraints:"), value__handle__);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual string? Label {
+ [Export ("label")]
+ get {
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("label")))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("label")))!;
+ }
+ }
+ [Export ("setLabel:")]
+ set {
+ var nsvalue = CFString.CreateNative (value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setLabel:"), nsvalue);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setLabel:"), nsvalue);
+ }
+ CFString.ReleaseNative (nsvalue);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject ObjectId {
+ [Export ("objectID", ArgumentSemantic.Copy)]
+ get {
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("objectID")))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("objectID")))!;
+ }
+ return ret!;
+ }
+ }
+ } /* class TKTokenKeychainItem */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenKeychainKey.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenKeychainKey.g.cs
new file mode 100644
index 0000000..7b0e8ae
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenKeychainKey.g.cs
@@ -0,0 +1,358 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKTokenKeychainKey", true)]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKTokenKeychainKey : TKTokenKeychainItem {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKTokenKeychainKey");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Creates a new <see cref="TKTokenKeychainKey" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKTokenKeychainKey () : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKTokenKeychainKey (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKTokenKeychainKey (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithCertificate:objectID:")]
+ [DesignatedInitializer]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public TKTokenKeychainKey (nint certificate, NSObject objectId)
+ : base (NSObjectFlag.Empty)
+ {
+ var objectId__handle__ = objectId!.GetNonNullHandle (nameof (objectId));
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_IntPtr_NativeHandle (this.Handle, Selector.GetHandle ("initWithCertificate:objectID:"), certificate, objectId__handle__), "initWithCertificate:objectID:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_IntPtr_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithCertificate:objectID:"), certificate, objectId__handle__), "initWithCertificate:objectID:");
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public TKTokenKeychainKey (global::Security.SecCertificate? certificate, NSObject objectId)
+ : this (certificate.GetHandle (), objectId)
+ {
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSData? ApplicationTag {
+ [Export ("applicationTag", ArgumentSemantic.Copy)]
+ get {
+ NSData? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("applicationTag")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("applicationTag")))!;
+ }
+ return ret!;
+ }
+ [Export ("setApplicationTag:", ArgumentSemantic.Copy)]
+ set {
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setApplicationTag:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setApplicationTag:"), value__handle__);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool CanDecrypt {
+ [Export ("canDecrypt")]
+ get {
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("canDecrypt"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("canDecrypt"));
+ }
+ return ret != 0;
+ }
+ [Export ("setCanDecrypt:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setCanDecrypt:"), value ? (byte) 1 : (byte) 0);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, Selector.GetHandle ("setCanDecrypt:"), value ? (byte) 1 : (byte) 0);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool CanPerformKeyExchange {
+ [Export ("canPerformKeyExchange")]
+ get {
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("canPerformKeyExchange"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("canPerformKeyExchange"));
+ }
+ return ret != 0;
+ }
+ [Export ("setCanPerformKeyExchange:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setCanPerformKeyExchange:"), value ? (byte) 1 : (byte) 0);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, Selector.GetHandle ("setCanPerformKeyExchange:"), value ? (byte) 1 : (byte) 0);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool CanSign {
+ [Export ("canSign")]
+ get {
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("canSign"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("canSign"));
+ }
+ return ret != 0;
+ }
+ [Export ("setCanSign:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setCanSign:"), value ? (byte) 1 : (byte) 0);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, Selector.GetHandle ("setCanSign:"), value ? (byte) 1 : (byte) 0);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nint KeySizeInBits {
+ [Export ("keySizeInBits")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("keySizeInBits"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("keySizeInBits"));
+ }
+ }
+ [Export ("setKeySizeInBits:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setKeySizeInBits:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setKeySizeInBits:"), value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual string KeyType {
+ [Export ("keyType")]
+ get {
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("keyType")))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("keyType")))!;
+ }
+ }
+ [Export ("setKeyType:")]
+ set {
+ if (value is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (value));
+ var nsvalue = CFString.CreateNative (value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setKeyType:"), nsvalue);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setKeyType:"), nsvalue);
+ }
+ CFString.ReleaseNative (nsvalue);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSData? PublicKeyData {
+ [Export ("publicKeyData", ArgumentSemantic.Copy)]
+ get {
+ NSData? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("publicKeyData")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("publicKeyData")))!;
+ }
+ return ret!;
+ }
+ [Export ("setPublicKeyData:", ArgumentSemantic.Copy)]
+ set {
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setPublicKeyData:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setPublicKeyData:"), value__handle__);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSData? PublicKeyHash {
+ [Export ("publicKeyHash", ArgumentSemantic.Copy)]
+ get {
+ NSData? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("publicKeyHash")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("publicKeyHash")))!;
+ }
+ return ret!;
+ }
+ [Export ("setPublicKeyHash:", ArgumentSemantic.Copy)]
+ set {
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setPublicKeyHash:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setPublicKeyHash:"), value__handle__);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool SuitableForLogin {
+ [Export ("isSuitableForLogin")]
+ get {
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("isSuitableForLogin"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("isSuitableForLogin"));
+ }
+ return ret != 0;
+ }
+ [Export ("setSuitableForLogin:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setSuitableForLogin:"), value ? (byte) 1 : (byte) 0);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, Selector.GetHandle ("setSuitableForLogin:"), value ? (byte) 1 : (byte) 0);
+ }
+ }
+ }
+ } /* class TKTokenKeychainKey */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenOperation.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenOperation.g.cs
new file mode 100644
index 0000000..d50bb39
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenOperation.g.cs
@@ -0,0 +1,65 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ [Native]
+ public enum TKTokenOperation : long {
+ None = 0,
+ ReadData = 1,
+ SignData = 2,
+ DecryptData = 3,
+ PerformKeyExchange = 4,
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenPasswordAuthOperation.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenPasswordAuthOperation.g.cs
new file mode 100644
index 0000000..1453bf9
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenPasswordAuthOperation.g.cs
@@ -0,0 +1,189 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKTokenPasswordAuthOperation", true)]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKTokenPasswordAuthOperation : TKTokenAuthOperation {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKTokenPasswordAuthOperation");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Creates a new <see cref="TKTokenPasswordAuthOperation" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKTokenPasswordAuthOperation () : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ }
+
+ /// <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ /// <param name="coder">The unarchiver object.</param>
+ /// <remarks>
+ /// <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="Foundation.NSCoding" /> protocol.</para>
+ /// <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ /// <para>The state of this object can also be serialized by using the <see cref="Foundation.INSCoding.EncodeTo" /> companion method.</para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public TKTokenPasswordAuthOperation (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ }
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKTokenPasswordAuthOperation (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKTokenPasswordAuthOperation (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual string? Password {
+ [Export ("password")]
+ get {
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("password")))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("password")))!;
+ }
+ }
+ [Export ("setPassword:")]
+ set {
+ var nsvalue = CFString.CreateNative (value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setPassword:"), nsvalue);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setPassword:"), nsvalue);
+ }
+ CFString.ReleaseNative (nsvalue);
+ }
+ }
+ } /* class TKTokenPasswordAuthOperation */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenSession.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenSession.g.cs
new file mode 100644
index 0000000..5e4134d
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenSession.g.cs
@@ -0,0 +1,209 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKTokenSession", true)]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKTokenSession : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKTokenSession");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKTokenSession (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKTokenSession (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithToken:")]
+ [DesignatedInitializer]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public TKTokenSession (TKToken token)
+ : base (NSObjectFlag.Empty)
+ {
+ var token__handle__ = token!.GetNonNullHandle (nameof (token));
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("initWithToken:"), token__handle__), "initWithToken:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithToken:"), token__handle__), "initWithToken:");
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public ITKTokenSessionDelegate? Delegate {
+ get {
+ return (WeakDelegate as ITKTokenSessionDelegate)!;
+ }
+ set {
+ var rvalue = value as NSObject;
+ if (!(value is null) && rvalue is null)
+ throw new ArgumentException ("The object passed of type " + value.GetType () + " does not derive from NSObject");
+ WeakDelegate = rvalue;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKToken Token {
+ [Export ("token")]
+ get {
+ TKToken? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<TKToken> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("token")))!;
+ } else {
+ ret = Runtime.GetNSObject<TKToken> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("token")))!;
+ }
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ object? __mt_WeakDelegate_var;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject? WeakDelegate {
+ [Export ("delegate", ArgumentSemantic.Weak)]
+ get {
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("delegate")))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("delegate")))!;
+ }
+ MarkDirty ();
+ __mt_WeakDelegate_var = ret;
+ return ret!;
+ }
+ [Export ("setDelegate:", ArgumentSemantic.Weak)]
+ set {
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setDelegate:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setDelegate:"), value__handle__);
+ }
+ MarkDirty ();
+ __mt_WeakDelegate_var = value;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ protected override void Dispose (bool disposing)
+ {
+ base.Dispose (disposing);
+ if (Handle == IntPtr.Zero) {
+ __mt_WeakDelegate_var = null;
+ }
+ }
+ } /* class TKTokenSession */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenSessionDelegate.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenSessionDelegate.g.cs
new file mode 100644
index 0000000..6d1eea7
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenSessionDelegate.g.cs
@@ -0,0 +1,262 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ [Protocol (Name = "TKTokenSessionDelegate", WrapperType = typeof (TKTokenSessionDelegateWrapper))]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "BeginAuthentication", Selector = "tokenSession:beginAuthForOperation:constraint:error:", ReturnType = typeof (CryptoTokenKit.TKTokenAuthOperation), ParameterType = new Type [] { typeof (CryptoTokenKit.TKTokenSession), typeof (CryptoTokenKit.TKTokenOperation), typeof (NSObject), typeof (NSError) }, ParameterByRef = new bool [] { false, false, false, true })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "SupportsOperation", Selector = "tokenSession:supportsOperation:usingKey:algorithm:", ReturnType = typeof (bool), ParameterType = new Type [] { typeof (CryptoTokenKit.TKTokenSession), typeof (CryptoTokenKit.TKTokenOperation), typeof (NSObject), typeof (CryptoTokenKit.TKTokenKeyAlgorithm) }, ParameterByRef = new bool [] { false, false, false, false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "SignData", Selector = "tokenSession:signData:usingKey:algorithm:error:", ReturnType = typeof (NSData), ParameterType = new Type [] { typeof (CryptoTokenKit.TKTokenSession), typeof (NSData), typeof (NSObject), typeof (CryptoTokenKit.TKTokenKeyAlgorithm), typeof (NSError) }, ParameterByRef = new bool [] { false, false, false, false, true })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DecryptData", Selector = "tokenSession:decryptData:usingKey:algorithm:error:", ReturnType = typeof (NSData), ParameterType = new Type [] { typeof (CryptoTokenKit.TKTokenSession), typeof (NSData), typeof (NSObject), typeof (CryptoTokenKit.TKTokenKeyAlgorithm), typeof (NSError) }, ParameterByRef = new bool [] { false, false, false, false, true })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "PerformKeyExchange", Selector = "tokenSession:performKeyExchangeWithPublicKey:usingKey:algorithm:parameters:error:", ReturnType = typeof (NSData), ParameterType = new Type [] { typeof (CryptoTokenKit.TKTokenSession), typeof (NSData), typeof (NSObject), typeof (CryptoTokenKit.TKTokenKeyAlgorithm), typeof (CryptoTokenKit.TKTokenKeyExchangeParameters), typeof (NSError) }, ParameterByRef = new bool [] { false, false, false, false, false, true })]
+ public partial interface ITKTokenSessionDelegate : INativeObject, IDisposable
+ {
+ }
+ /// <summary>Extension methods to the <see cref="ITKTokenSessionDelegate" /> interface to support all the methods from the TKTokenSessionDelegate protocol.</summary>
+ /// <remarks>
+ /// <para>The extension methods for <see cref="ITKTokenSessionDelegate" /> interface allow developers to treat instances of the interface as having all the optional methods of the original TKTokenSessionDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.</para>
+ /// </remarks>
+ [Experimental ("APL0001")]
+ public unsafe static partial class TKTokenSessionDelegate_Extensions {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe static TKTokenAuthOperation? BeginAuthentication (this ITKTokenSessionDelegate This, TKTokenSession session, TKTokenOperation operation, NSObject constraint, out NSError? error)
+ {
+ var session__handle__ = session!.GetNonNullHandle (nameof (session));
+ var constraint__handle__ = constraint!.GetNonNullHandle (nameof (constraint));
+ NativeHandle errorValue = IntPtr.Zero;
+ TKTokenAuthOperation? ret;
+ ret = Runtime.GetNSObject<TKTokenAuthOperation> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_IntPtr_NativeHandle_ref_NativeHandle (This.Handle, Selector.GetHandle ("tokenSession:beginAuthForOperation:constraint:error:"), session__handle__, (IntPtr) (long) operation, constraint__handle__, &errorValue))!;
+ error = Runtime.GetNSObject<NSError> (errorValue)!;
+ return ret!;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static bool SupportsOperation (this ITKTokenSessionDelegate This, TKTokenSession session, TKTokenOperation operation, NSObject keyObjectId, TKTokenKeyAlgorithm algorithm)
+ {
+ var session__handle__ = session!.GetNonNullHandle (nameof (session));
+ var keyObjectId__handle__ = keyObjectId!.GetNonNullHandle (nameof (keyObjectId));
+ var algorithm__handle__ = algorithm!.GetNonNullHandle (nameof (algorithm));
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle_IntPtr_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("tokenSession:supportsOperation:usingKey:algorithm:"), session__handle__, (IntPtr) (long) operation, keyObjectId__handle__, algorithm__handle__);
+ return ret != 0;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe static NSData? SignData (this ITKTokenSessionDelegate This, TKTokenSession session, NSData dataToSign, NSObject keyObjectId, TKTokenKeyAlgorithm algorithm, out NSError? error)
+ {
+ var session__handle__ = session!.GetNonNullHandle (nameof (session));
+ var dataToSign__handle__ = dataToSign!.GetNonNullHandle (nameof (dataToSign));
+ var keyObjectId__handle__ = keyObjectId!.GetNonNullHandle (nameof (keyObjectId));
+ var algorithm__handle__ = algorithm!.GetNonNullHandle (nameof (algorithm));
+ NativeHandle errorValue = IntPtr.Zero;
+ NSData? ret;
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle_NativeHandle_ref_NativeHandle (This.Handle, Selector.GetHandle ("tokenSession:signData:usingKey:algorithm:error:"), session__handle__, dataToSign__handle__, keyObjectId__handle__, algorithm__handle__, &errorValue))!;
+ error = Runtime.GetNSObject<NSError> (errorValue)!;
+ return ret!;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe static NSData? DecryptData (this ITKTokenSessionDelegate This, TKTokenSession session, NSData ciphertext, NSObject keyObjectId, TKTokenKeyAlgorithm algorithm, out NSError? error)
+ {
+ var session__handle__ = session!.GetNonNullHandle (nameof (session));
+ var ciphertext__handle__ = ciphertext!.GetNonNullHandle (nameof (ciphertext));
+ var keyObjectId__handle__ = keyObjectId!.GetNonNullHandle (nameof (keyObjectId));
+ var algorithm__handle__ = algorithm!.GetNonNullHandle (nameof (algorithm));
+ NativeHandle errorValue = IntPtr.Zero;
+ NSData? ret;
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle_NativeHandle_ref_NativeHandle (This.Handle, Selector.GetHandle ("tokenSession:decryptData:usingKey:algorithm:error:"), session__handle__, ciphertext__handle__, keyObjectId__handle__, algorithm__handle__, &errorValue))!;
+ error = Runtime.GetNSObject<NSError> (errorValue)!;
+ return ret!;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe static NSData? PerformKeyExchange (this ITKTokenSessionDelegate This, TKTokenSession session, NSData otherPartyPublicKeyData, NSObject objectId, TKTokenKeyAlgorithm algorithm, TKTokenKeyExchangeParameters parameters, out NSError? error)
+ {
+ var session__handle__ = session!.GetNonNullHandle (nameof (session));
+ var otherPartyPublicKeyData__handle__ = otherPartyPublicKeyData!.GetNonNullHandle (nameof (otherPartyPublicKeyData));
+ var objectId__handle__ = objectId!.GetNonNullHandle (nameof (objectId));
+ var algorithm__handle__ = algorithm!.GetNonNullHandle (nameof (algorithm));
+ var parameters__handle__ = parameters!.GetNonNullHandle (nameof (parameters));
+ NativeHandle errorValue = IntPtr.Zero;
+ NSData? ret;
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle_ref_NativeHandle (This.Handle, Selector.GetHandle ("tokenSession:performKeyExchangeWithPublicKey:usingKey:algorithm:parameters:error:"), session__handle__, otherPartyPublicKeyData__handle__, objectId__handle__, algorithm__handle__, parameters__handle__, &errorValue))!;
+ error = Runtime.GetNSObject<NSError> (errorValue)!;
+ return ret!;
+ }
+ }
+ [Experimental ("APL0001")]
+ internal unsafe sealed class TKTokenSessionDelegateWrapper : BaseWrapper, ITKTokenSessionDelegate {
+ [Experimental ("APL0001")]
+ [Preserve (Conditional = true)]
+ public TKTokenSessionDelegateWrapper (NativeHandle handle, bool owns)
+ : base (handle, owns)
+ {
+ }
+ }
+}
+namespace CryptoTokenKit {
+ [Protocol()]
+ [Register("Microsoft_iOS__CryptoTokenKit_TKTokenSessionDelegate", false)]
+ [Model]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKTokenSessionDelegate : NSObject, ITKTokenSessionDelegate {
+ /// <summary>Creates a new <see cref="TKTokenSessionDelegate" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKTokenSessionDelegate () : base (NSObjectFlag.Empty)
+ {
+ IsDirectBinding = false;
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKTokenSessionDelegate (NSObjectFlag t) : base (t)
+ {
+ IsDirectBinding = false;
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKTokenSessionDelegate (NativeHandle handle) : base (handle)
+ {
+ IsDirectBinding = false;
+ }
+
+ [Export ("tokenSession:beginAuthForOperation:constraint:error:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual TKTokenAuthOperation? BeginAuthentication (TKTokenSession session, TKTokenOperation operation, NSObject constraint, out NSError? error)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [Export ("tokenSession:decryptData:usingKey:algorithm:error:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual NSData? DecryptData (TKTokenSession session, NSData ciphertext, NSObject keyObjectId, TKTokenKeyAlgorithm algorithm, out NSError? error)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [Export ("tokenSession:performKeyExchangeWithPublicKey:usingKey:algorithm:parameters:error:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual NSData? PerformKeyExchange (TKTokenSession session, NSData otherPartyPublicKeyData, NSObject objectId, TKTokenKeyAlgorithm algorithm, TKTokenKeyExchangeParameters parameters, out NSError? error)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [Export ("tokenSession:signData:usingKey:algorithm:error:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual NSData? SignData (TKTokenSession session, NSData dataToSign, NSObject keyObjectId, TKTokenKeyAlgorithm algorithm, out NSError? error)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [Export ("tokenSession:supportsOperation:usingKey:algorithm:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool SupportsOperation (TKTokenSession session, TKTokenOperation operation, NSObject keyObjectId, TKTokenKeyAlgorithm algorithm)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ } /* class TKTokenSessionDelegate */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenSmartCardPinAuthOperation.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenSmartCardPinAuthOperation.g.cs
new file mode 100644
index 0000000..d15fdb9
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenSmartCardPinAuthOperation.g.cs
@@ -0,0 +1,295 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKTokenSmartCardPINAuthOperation", true)]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKTokenSmartCardPinAuthOperation : TKTokenAuthOperation {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKTokenSmartCardPINAuthOperation");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Creates a new <see cref="TKTokenSmartCardPinAuthOperation" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKTokenSmartCardPinAuthOperation () : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ }
+
+ /// <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ /// <param name="coder">The unarchiver object.</param>
+ /// <remarks>
+ /// <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="Foundation.NSCoding" /> protocol.</para>
+ /// <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ /// <para>The state of this object can also be serialized by using the <see cref="Foundation.INSCoding.EncodeTo" /> companion method.</para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public TKTokenSmartCardPinAuthOperation (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ }
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKTokenSmartCardPinAuthOperation (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKTokenSmartCardPinAuthOperation (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSData? ApduTemplate {
+ [Export ("APDUTemplate", ArgumentSemantic.Copy)]
+ get {
+ NSData? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("APDUTemplate")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("APDUTemplate")))!;
+ }
+ return ret!;
+ }
+ [Export ("setAPDUTemplate:", ArgumentSemantic.Copy)]
+ set {
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setAPDUTemplate:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setAPDUTemplate:"), value__handle__);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual string? Pin {
+ [Export ("PIN")]
+ get {
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("PIN")))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("PIN")))!;
+ }
+ }
+ [Export ("setPIN:")]
+ set {
+ var nsvalue = CFString.CreateNative (value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setPIN:"), nsvalue);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setPIN:"), nsvalue);
+ }
+ CFString.ReleaseNative (nsvalue);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nint PinByteOffset {
+ [Export ("PINByteOffset")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("PINByteOffset"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("PINByteOffset"));
+ }
+ }
+ [Export ("setPINByteOffset:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setPINByteOffset:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setPINByteOffset:"), value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ object? __mt_PinFormat_var;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKSmartCardPinFormat PinFormat {
+ [Export ("PINFormat", ArgumentSemantic.Assign)]
+ get {
+ TKSmartCardPinFormat? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<TKSmartCardPinFormat> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("PINFormat")))!;
+ } else {
+ ret = Runtime.GetNSObject<TKSmartCardPinFormat> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("PINFormat")))!;
+ }
+ MarkDirty ();
+ __mt_PinFormat_var = ret;
+ return ret!;
+ }
+ [Export ("setPINFormat:", ArgumentSemantic.Assign)]
+ set {
+ var value__handle__ = value!.GetNonNullHandle (nameof (value));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setPINFormat:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setPINFormat:"), value__handle__);
+ }
+ MarkDirty ();
+ __mt_PinFormat_var = value;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ object? __mt_SmartCard_var;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKSmartCard? SmartCard {
+ [Export ("smartCard", ArgumentSemantic.Assign)]
+ get {
+ TKSmartCard? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<TKSmartCard> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("smartCard")))!;
+ } else {
+ ret = Runtime.GetNSObject<TKSmartCard> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("smartCard")))!;
+ }
+ MarkDirty ();
+ __mt_SmartCard_var = ret;
+ return ret!;
+ }
+ [Export ("setSmartCard:", ArgumentSemantic.Assign)]
+ set {
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setSmartCard:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setSmartCard:"), value__handle__);
+ }
+ MarkDirty ();
+ __mt_SmartCard_var = value;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ protected override void Dispose (bool disposing)
+ {
+ base.Dispose (disposing);
+ if (Handle == IntPtr.Zero) {
+ __mt_PinFormat_var = null;
+ __mt_SmartCard_var = null;
+ }
+ }
+ } /* class TKTokenSmartCardPinAuthOperation */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenWatcher.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenWatcher.g.cs
new file mode 100644
index 0000000..b60cf12
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenWatcher.g.cs
@@ -0,0 +1,246 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKTokenWatcher", true)]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKTokenWatcher : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKTokenWatcher");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Creates a new <see cref="TKTokenWatcher" /> with default values.</summary>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public TKTokenWatcher () : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKTokenWatcher (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKTokenWatcher (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithInsertionHandler:")]
+ [ObsoletedOSPlatform ("macos10.13", "Use the default constructor followed by a call to the 'SetInsertionHandler' method.")]
+ [ObsoletedOSPlatform ("ios11.0", "Use the default constructor followed by a call to the 'SetInsertionHandler' method.")]
+ [ObsoletedOSPlatform ("tvos11.0", "Use the default constructor followed by a call to the 'SetInsertionHandler' method.")]
+ [ObsoletedOSPlatform ("maccatalyst13.1", "Use the default constructor followed by a call to the 'SetInsertionHandler' method.")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe TKTokenWatcher ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V53))]global::System.Action<NSString> insertionHandler)
+ : base (NSObjectFlag.Empty)
+ {
+ if (insertionHandler is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (insertionHandler));
+ using var block_insertionHandler = Trampolines.SDActionArity1V53.CreateBlock (insertionHandler);
+ BlockLiteral *block_ptr_insertionHandler = &block_insertionHandler;
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("initWithInsertionHandler:"), (IntPtr) block_ptr_insertionHandler), "initWithInsertionHandler:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithInsertionHandler:"), (IntPtr) block_ptr_insertionHandler), "initWithInsertionHandler:");
+ }
+ }
+ [Export ("addRemovalHandler:forTokenID:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual void AddRemovalHandler ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V53))]global::System.Action<NSString> removalHandler, string tokenId)
+ {
+ if (removalHandler is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (removalHandler));
+ if (tokenId is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (tokenId));
+ using var block_removalHandler = Trampolines.SDActionArity1V53.CreateBlock (removalHandler);
+ BlockLiteral *block_ptr_removalHandler = &block_removalHandler;
+ var nstokenId = CFString.CreateNative (tokenId);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("addRemovalHandler:forTokenID:"), (IntPtr) block_ptr_removalHandler, nstokenId);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("addRemovalHandler:forTokenID:"), (IntPtr) block_ptr_removalHandler, nstokenId);
+ }
+ CFString.ReleaseNative (nstokenId);
+ }
+ [Export ("tokenInfoForTokenID:")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos15.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual TKTokenWatcherTokenInfo? GetTokenInfo (string tokenId)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (tokenId is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (tokenId));
+ var nstokenId = CFString.CreateNative (tokenId);
+ TKTokenWatcherTokenInfo? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<TKTokenWatcherTokenInfo> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("tokenInfoForTokenID:"), nstokenId))!;
+ } else {
+ ret = Runtime.GetNSObject<TKTokenWatcherTokenInfo> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("tokenInfoForTokenID:"), nstokenId))!;
+ }
+ CFString.ReleaseNative (nstokenId);
+ return ret!;
+ #endif
+ }
+ [Export ("setInsertionHandler:")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual void SetInsertionHandler ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V53))]global::System.Action<NSString> insertionHandler)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (insertionHandler is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (insertionHandler));
+ using var block_insertionHandler = Trampolines.SDActionArity1V53.CreateBlock (insertionHandler);
+ BlockLiteral *block_ptr_insertionHandler = &block_insertionHandler;
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setInsertionHandler:"), (IntPtr) block_ptr_insertionHandler);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setInsertionHandler:"), (IntPtr) block_ptr_insertionHandler);
+ }
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual string[] TokenIds {
+ [Export ("tokenIDs")]
+ get {
+ if (IsDirectBinding) {
+ return CFArray.StringArrayFromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("tokenIDs")))!;
+ } else {
+ return CFArray.StringArrayFromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("tokenIDs")))!;
+ }
+ }
+ }
+ } /* class TKTokenWatcher */
+}
diff --git a/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenWatcherTokenInfo.g.cs b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenWatcherTokenInfo.g.cs
new file mode 100644
index 0000000..91b2d8c
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CryptoTokenKit/TKTokenWatcherTokenInfo.g.cs
@@ -0,0 +1,186 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CryptoTokenKit {
+ [Register("TKTokenWatcherTokenInfo", true)]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos15.0")]
+ [Experimental ("APL0001")]
+ public unsafe partial class TKTokenWatcherTokenInfo : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("TKTokenWatcherTokenInfo");
+ #endif
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected TKTokenWatcherTokenInfo (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal TKTokenWatcherTokenInfo (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual string? DriverName {
+ [Export ("driverName")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("driverName")))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("driverName")))!;
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual string? SlotName {
+ [Export ("slotName")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("slotName")))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("slotName")))!;
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual string TokenId {
+ [Export ("tokenID")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("tokenID")))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("tokenID")))!;
+ }
+ #endif
+ }
+ }
+ } /* class TKTokenWatcherTokenInfo */
+}
diff --git a/old/dotnet/ios/generated-sources/EventKit/EKEventStore.g.cs b/new/dotnet/ios/generated-sources/EventKit/EKEventStore.g.cs
index 6ec8682..90e5d03 100644
--- a/old/dotnet/ios/generated-sources/EventKit/EKEventStore.g.cs
+++ b/new/dotnet/ios/generated-sources/EventKit/EKEventStore.g.cs
@@ -177,7 +177,7 @@ namespace EventKit {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool Commit (out NSError error)
+ public unsafe virtual bool Commit (out NSError error)
{
NativeHandle errorValue = IntPtr.Zero;
byte ret;
@@ -433,7 +433,7 @@ namespace EventKit {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool RemoveCalendar (EKCalendar calendar, bool commit, out NSError error)
+ public unsafe virtual bool RemoveCalendar (EKCalendar calendar, bool commit, out NSError error)
{
var calendar__handle__ = calendar!.GetNonNullHandle (nameof (calendar));
NativeHandle errorValue = IntPtr.Zero;
@@ -451,7 +451,7 @@ namespace EventKit {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool RemoveEvent (EKEvent ekEvent, EKSpan span, bool commit, out NSError error)
+ public unsafe virtual bool RemoveEvent (EKEvent ekEvent, EKSpan span, bool commit, out NSError error)
{
var ekEvent__handle__ = ekEvent!.GetNonNullHandle (nameof (ekEvent));
NativeHandle errorValue = IntPtr.Zero;
@@ -469,7 +469,7 @@ namespace EventKit {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool RemoveEvents (EKEvent theEvent, EKSpan span, out NSError error)
+ public unsafe virtual bool RemoveEvents (EKEvent theEvent, EKSpan span, out NSError error)
{
var theEvent__handle__ = theEvent!.GetNonNullHandle (nameof (theEvent));
NativeHandle errorValue = IntPtr.Zero;
@@ -487,7 +487,7 @@ namespace EventKit {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool RemoveReminder (EKReminder reminder, bool commit, out NSError error)
+ public unsafe virtual bool RemoveReminder (EKReminder reminder, bool commit, out NSError error)
{
var reminder__handle__ = reminder!.GetNonNullHandle (nameof (reminder));
NativeHandle errorValue = IntPtr.Zero;
@@ -649,7 +649,7 @@ namespace EventKit {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool SaveCalendar (EKCalendar calendar, bool commit, out NSError error)
+ public unsafe virtual bool SaveCalendar (EKCalendar calendar, bool commit, out NSError error)
{
var calendar__handle__ = calendar!.GetNonNullHandle (nameof (calendar));
NativeHandle errorValue = IntPtr.Zero;
@@ -667,7 +667,7 @@ namespace EventKit {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool SaveEvent (EKEvent theEvent, EKSpan span, out NSError error)
+ public unsafe virtual bool SaveEvent (EKEvent theEvent, EKSpan span, out NSError error)
{
var theEvent__handle__ = theEvent!.GetNonNullHandle (nameof (theEvent));
NativeHandle errorValue = IntPtr.Zero;
@@ -685,7 +685,7 @@ namespace EventKit {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool SaveEvent (EKEvent ekEvent, EKSpan span, bool commit, out NSError error)
+ public unsafe virtual bool SaveEvent (EKEvent ekEvent, EKSpan span, bool commit, out NSError error)
{
var ekEvent__handle__ = ekEvent!.GetNonNullHandle (nameof (ekEvent));
NativeHandle errorValue = IntPtr.Zero;
@@ -703,7 +703,7 @@ namespace EventKit {
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool SaveReminder (EKReminder reminder, bool commit, out NSError error)
+ public unsafe virtual bool SaveReminder (EKReminder reminder, bool commit, out NSError error)
{
var reminder__handle__ = reminder!.GetNonNullHandle (nameof (reminder));
NativeHandle errorValue = IntPtr.Zero;
diff --git a/old/dotnet/ios/generated-sources/FileProvider/NSFileProviderEnumerating.g.cs b/new/dotnet/ios/generated-sources/FileProvider/NSFileProviderEnumerating.g.cs
index bb5fea4..4fa0c37 100644
--- a/old/dotnet/ios/generated-sources/FileProvider/NSFileProviderEnumerating.g.cs
+++ b/new/dotnet/ios/generated-sources/FileProvider/NSFileProviderEnumerating.g.cs
@@ -60,7 +60,7 @@ namespace FileProvider {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export ("enumeratorForContainerItemIdentifier:request:error:")]
[Preserve (Conditional = true)]
- INSFileProviderEnumerator? GetEnumerator (string containerItemIdentifier, NSFileProviderRequest request, out NSError? error);
+ unsafe INSFileProviderEnumerator? GetEnumerator (string containerItemIdentifier, NSFileProviderRequest request, out NSError? error);
}
internal unsafe sealed class NSFileProviderEnumeratingWrapper : BaseWrapper, INSFileProviderEnumerating {
[Preserve (Conditional = true)]
@@ -70,7 +70,7 @@ namespace FileProvider {
}
[Export ("enumeratorForContainerItemIdentifier:request:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public INSFileProviderEnumerator? GetEnumerator (string containerItemIdentifier, NSFileProviderRequest request, out NSError? error)
+ public unsafe INSFileProviderEnumerator? GetEnumerator (string containerItemIdentifier, NSFileProviderRequest request, out NSError? error)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
diff --git a/old/dotnet/ios/generated-sources/FileProvider/NSFileProviderExtension.g.cs b/new/dotnet/ios/generated-sources/FileProvider/NSFileProviderExtension.g.cs
index ca206f9..13aeffd 100644
--- a/old/dotnet/ios/generated-sources/FileProvider/NSFileProviderExtension.g.cs
+++ b/new/dotnet/ios/generated-sources/FileProvider/NSFileProviderExtension.g.cs
@@ -258,7 +258,7 @@ namespace FileProvider {
}
[Export ("enumeratorForContainerItemIdentifier:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual INSFileProviderEnumerator? GetEnumerator (string containerItemIdentifier, out NSError error)
+ public unsafe virtual INSFileProviderEnumerator? GetEnumerator (string containerItemIdentifier, out NSError error)
{
if (containerItemIdentifier is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (containerItemIdentifier));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment