Skip to content

Instantly share code, notes, and snippets.

@vs-mobiletools-engineering-service2
Created August 4, 2022 23:31
Show Gist options
  • Save vs-mobiletools-engineering-service2/eef70af2a7cc25624ef059391b0bac16 to your computer and use it in GitHub Desktop.
Save vs-mobiletools-engineering-service2/eef70af2a7cc25624ef059391b0bac16 to your computer and use it in GitHub Desktop.
generator-diff/generator.diff
diff --git a/old/dotnet/ios/generated-sources/Speech/SFSpeechRecognitionRequest.g.cs b/new/dotnet/ios/generated-sources/Speech/SFSpeechRecognitionRequest.g.cs
index 57cb4d6..8c1291a 100644
--- a/old/dotnet/ios/generated-sources/Speech/SFSpeechRecognitionRequest.g.cs
+++ b/new/dotnet/ios/generated-sources/Speech/SFSpeechRecognitionRequest.g.cs
@@ -69,6 +69,42 @@ namespace Speech {
{
}
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual bool AddsPunctuation {
+ [Export ("addsPunctuation")]
+ [SupportedOSPlatform ("ios10.0.0")]
+ [SupportedOSPlatform ("macos10.15.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("addsPunctuation"));
+ } else {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("addsPunctuation"));
+ }
+ #endif
+ }
+ [Export ("setAddsPunctuation:")]
+ [SupportedOSPlatform ("ios10.0.0")]
+ [SupportedOSPlatform ("macos10.15.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ 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 ("setAddsPunctuation:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, Selector.GetHandle ("setAddsPunctuation:"), value);
+ }
+ #endif
+ }
+ }
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios10.0.0")]
[SupportedOSPlatform ("macos10.15.0")]
diff --git a/old/dotnet/maccatalyst/generated-sources/Speech/SFSpeechRecognitionRequest.g.cs b/new/dotnet/maccatalyst/generated-sources/Speech/SFSpeechRecognitionRequest.g.cs
index a548db3..a4abc8d 100644
--- a/old/dotnet/maccatalyst/generated-sources/Speech/SFSpeechRecognitionRequest.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/Speech/SFSpeechRecognitionRequest.g.cs
@@ -69,6 +69,34 @@ namespace Speech {
{
}
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual bool AddsPunctuation {
+ [Export ("addsPunctuation")]
+ [SupportedOSPlatform ("ios10.0.0")]
+ [SupportedOSPlatform ("macos10.15.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("addsPunctuation"));
+ } else {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("addsPunctuation"));
+ }
+ }
+ [Export ("setAddsPunctuation:")]
+ [SupportedOSPlatform ("ios10.0.0")]
+ [SupportedOSPlatform ("macos10.15.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setAddsPunctuation:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, Selector.GetHandle ("setAddsPunctuation:"), value);
+ }
+ }
+ }
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios10.0.0")]
[SupportedOSPlatform ("macos10.15.0")]
diff --git a/old/dotnet/macos/generated-sources/Speech/SFSpeechRecognitionRequest.g.cs b/new/dotnet/macos/generated-sources/Speech/SFSpeechRecognitionRequest.g.cs
index 2f57b6b..b3cd5d2 100644
--- a/old/dotnet/macos/generated-sources/Speech/SFSpeechRecognitionRequest.g.cs
+++ b/new/dotnet/macos/generated-sources/Speech/SFSpeechRecognitionRequest.g.cs
@@ -49,6 +49,9 @@ namespace Speech {
[SupportedOSPlatform ("macos10.15")]
[SupportedOSPlatform ("maccatalyst10.0.0")]
public unsafe partial class SFSpeechRecognitionRequest : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selAddsPunctuation = "addsPunctuation";
+ static readonly NativeHandle selAddsPunctuationHandle = Selector.GetHandle ("addsPunctuation");
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
const string selContextualStrings = "contextualStrings";
static readonly NativeHandle selContextualStringsHandle = Selector.GetHandle ("contextualStrings");
@@ -59,6 +62,9 @@ namespace Speech {
const string selRequiresOnDeviceRecognition = "requiresOnDeviceRecognition";
static readonly NativeHandle selRequiresOnDeviceRecognitionHandle = Selector.GetHandle ("requiresOnDeviceRecognition");
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetAddsPunctuation_ = "setAddsPunctuation:";
+ static readonly NativeHandle selSetAddsPunctuation_Handle = Selector.GetHandle ("setAddsPunctuation:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
const string selSetContextualStrings_ = "setContextualStrings:";
static readonly NativeHandle selSetContextualStrings_Handle = Selector.GetHandle ("setContextualStrings:");
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -94,6 +100,34 @@ namespace Speech {
{
}
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual bool AddsPunctuation {
+ [Export ("addsPunctuation")]
+ [SupportedOSPlatform ("ios10.0.0")]
+ [SupportedOSPlatform ("macos10.15.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, selAddsPunctuationHandle);
+ } else {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, selAddsPunctuationHandle);
+ }
+ }
+ [Export ("setAddsPunctuation:")]
+ [SupportedOSPlatform ("ios10.0.0")]
+ [SupportedOSPlatform ("macos10.15.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, selSetAddsPunctuation_Handle, value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, selSetAddsPunctuation_Handle, value);
+ }
+ }
+ }
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios10.0.0")]
[SupportedOSPlatform ("macos10.15.0")]
diff --git a/old/ios/native/Speech/SFSpeechRecognitionRequest.g.cs b/new/ios/native/Speech/SFSpeechRecognitionRequest.g.cs
index a661bfa..9939746 100644
--- a/old/ios/native/Speech/SFSpeechRecognitionRequest.g.cs
+++ b/new/ios/native/Speech/SFSpeechRecognitionRequest.g.cs
@@ -67,6 +67,42 @@ namespace Speech {
{
}
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [Introduced (PlatformName.MacOSX, 13,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 16,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacCatalyst, 16,0, ObjCRuntime.PlatformArchitecture.All)]
+ public virtual bool AddsPunctuation {
+ [Introduced (PlatformName.MacOSX, 13,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 16,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacCatalyst, 16,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Export ("addsPunctuation")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("addsPunctuation"));
+ } else {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("addsPunctuation"));
+ }
+ #endif
+ }
+ [Introduced (PlatformName.MacOSX, 13,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 16,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacCatalyst, 16,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Export ("setAddsPunctuation:")]
+ 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 ("setAddsPunctuation:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, Selector.GetHandle ("setAddsPunctuation:"), value);
+ }
+ #endif
+ }
+ }
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual string[] ContextualStrings {
[Export ("contextualStrings", ArgumentSemantic.Copy)]
diff --git a/old/mac/full/Speech/SFSpeechRecognitionRequest.g.cs b/new/mac/full/Speech/SFSpeechRecognitionRequest.g.cs
index c1ad345..22eefcc 100644
--- a/old/mac/full/Speech/SFSpeechRecognitionRequest.g.cs
+++ b/new/mac/full/Speech/SFSpeechRecognitionRequest.g.cs
@@ -47,6 +47,9 @@ namespace Speech {
[Introduced (PlatformName.iOS, 10,0, ObjCRuntime.PlatformArchitecture.All)]
[Introduced (PlatformName.MacOSX, 10,15, ObjCRuntime.PlatformArchitecture.All)]
public unsafe abstract partial class SFSpeechRecognitionRequest : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selAddsPunctuation = "addsPunctuation";
+ static readonly IntPtr selAddsPunctuationHandle = Selector.GetHandle ("addsPunctuation");
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
const string selContextualStrings = "contextualStrings";
static readonly IntPtr selContextualStringsHandle = Selector.GetHandle ("contextualStrings");
@@ -57,6 +60,9 @@ namespace Speech {
const string selRequiresOnDeviceRecognition = "requiresOnDeviceRecognition";
static readonly IntPtr selRequiresOnDeviceRecognitionHandle = Selector.GetHandle ("requiresOnDeviceRecognition");
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetAddsPunctuation_ = "setAddsPunctuation:";
+ static readonly IntPtr selSetAddsPunctuation_Handle = Selector.GetHandle ("setAddsPunctuation:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
const string selSetContextualStrings_ = "setContextualStrings:";
static readonly IntPtr selSetContextualStrings_Handle = Selector.GetHandle ("setContextualStrings:");
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -92,6 +98,34 @@ namespace Speech {
{
}
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [Introduced (PlatformName.MacOSX, 13,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 16,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacCatalyst, 16,0, ObjCRuntime.PlatformArchitecture.All)]
+ public virtual bool AddsPunctuation {
+ [Introduced (PlatformName.MacOSX, 13,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 16,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacCatalyst, 16,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Export ("addsPunctuation")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, selAddsPunctuationHandle);
+ } else {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, selAddsPunctuationHandle);
+ }
+ }
+ [Introduced (PlatformName.MacOSX, 13,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 16,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacCatalyst, 16,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Export ("setAddsPunctuation:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, selSetAddsPunctuation_Handle, value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, selSetAddsPunctuation_Handle, value);
+ }
+ }
+ }
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual string[] ContextualStrings {
[Export ("contextualStrings", ArgumentSemantic.Copy)]
diff --git a/old/mac/mobile/Speech/SFSpeechRecognitionRequest.g.cs b/new/mac/mobile/Speech/SFSpeechRecognitionRequest.g.cs
index c1ad345..22eefcc 100644
--- a/old/mac/mobile/Speech/SFSpeechRecognitionRequest.g.cs
+++ b/new/mac/mobile/Speech/SFSpeechRecognitionRequest.g.cs
@@ -47,6 +47,9 @@ namespace Speech {
[Introduced (PlatformName.iOS, 10,0, ObjCRuntime.PlatformArchitecture.All)]
[Introduced (PlatformName.MacOSX, 10,15, ObjCRuntime.PlatformArchitecture.All)]
public unsafe abstract partial class SFSpeechRecognitionRequest : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selAddsPunctuation = "addsPunctuation";
+ static readonly IntPtr selAddsPunctuationHandle = Selector.GetHandle ("addsPunctuation");
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
const string selContextualStrings = "contextualStrings";
static readonly IntPtr selContextualStringsHandle = Selector.GetHandle ("contextualStrings");
@@ -57,6 +60,9 @@ namespace Speech {
const string selRequiresOnDeviceRecognition = "requiresOnDeviceRecognition";
static readonly IntPtr selRequiresOnDeviceRecognitionHandle = Selector.GetHandle ("requiresOnDeviceRecognition");
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetAddsPunctuation_ = "setAddsPunctuation:";
+ static readonly IntPtr selSetAddsPunctuation_Handle = Selector.GetHandle ("setAddsPunctuation:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
const string selSetContextualStrings_ = "setContextualStrings:";
static readonly IntPtr selSetContextualStrings_Handle = Selector.GetHandle ("setContextualStrings:");
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -92,6 +98,34 @@ namespace Speech {
{
}
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [Introduced (PlatformName.MacOSX, 13,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 16,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacCatalyst, 16,0, ObjCRuntime.PlatformArchitecture.All)]
+ public virtual bool AddsPunctuation {
+ [Introduced (PlatformName.MacOSX, 13,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 16,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacCatalyst, 16,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Export ("addsPunctuation")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, selAddsPunctuationHandle);
+ } else {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, selAddsPunctuationHandle);
+ }
+ }
+ [Introduced (PlatformName.MacOSX, 13,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 16,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacCatalyst, 16,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Export ("setAddsPunctuation:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, selSetAddsPunctuation_Handle, value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, selSetAddsPunctuation_Handle, value);
+ }
+ }
+ }
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual string[] ContextualStrings {
[Export ("contextualStrings", ArgumentSemantic.Copy)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment