Skip to content

Instantly share code, notes, and snippets.

@vs-mobiletools-engineering-service2
Created August 23, 2022 11:14
Show Gist options
  • Save vs-mobiletools-engineering-service2/987d6c8257c0ab501a8069b73d644aaf to your computer and use it in GitHub Desktop.
Save vs-mobiletools-engineering-service2/987d6c8257c0ab501a8069b73d644aaf to your computer and use it in GitHub Desktop.
generator-diff/generator.diff
diff --git a/old/dotnet/ios/generated-sources/PushToTalk/PTChannelManagerDelegate.g.cs b/new/dotnet/ios/generated-sources/PushToTalk/PTChannelManagerDelegate.g.cs
index 0a7de68..fb79fcf 100644
--- a/old/dotnet/ios/generated-sources/PushToTalk/PTChannelManagerDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/PushToTalk/PTChannelManagerDelegate.g.cs
@@ -65,7 +65,7 @@ namespace PushToTalk {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "FailedToJoinChannel", Selector = "channelManager:failedToJoinChannelWithUUID:error:", ParameterType = new Type [] { typeof (PushToTalk.PTChannelManager), typeof (NSUuid), typeof (NSError) }, ParameterByRef = new bool [] { false, false, false })]
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "FailedToLeaveChannel", Selector = "channelManager:failedToLeaveChannelWithUUID:error:", ParameterType = new Type [] { typeof (PushToTalk.PTChannelManager), typeof (NSUuid), typeof (NSError) }, ParameterByRef = new bool [] { false, false, false })]
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "FailedToBeginTransmittingInChannel", Selector = "channelManager:failedToBeginTransmittingInChannelWithUUID:error:", ParameterType = new Type [] { typeof (PushToTalk.PTChannelManager), typeof (NSUuid), typeof (NSError) }, ParameterByRef = new bool [] { false, false, false })]
- [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "failedToStopTransmittingInChannel", Selector = "channelManager:failedToStopTransmittingInChannelWithUUID:error:", ParameterType = new Type [] { typeof (PushToTalk.PTChannelManager), typeof (NSUuid), typeof (NSError) }, ParameterByRef = new bool [] { false, false, false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "FailedToStopTransmittingInChannel", Selector = "channelManager:failedToStopTransmittingInChannelWithUUID:error:", ParameterType = new Type [] { typeof (PushToTalk.PTChannelManager), typeof (NSUuid), typeof (NSError) }, ParameterByRef = new bool [] { false, false, false })]
public partial interface IPTChannelManagerDelegate : INativeObject, IDisposable
{
[UnsupportedOSPlatform ("tvos")]
@@ -187,7 +187,7 @@ namespace PushToTalk {
[SupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("maccatalyst")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static void failedToStopTransmittingInChannel (this IPTChannelManagerDelegate This, PTChannelManager channelManager, NSUuid channelUuid, NSError error)
+ public static void FailedToStopTransmittingInChannel (this IPTChannelManagerDelegate This, PTChannelManager channelManager, NSUuid channelUuid, NSError error)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -496,27 +496,34 @@ namespace PushToTalk {
}
#endif
}
- [Export ("incomingPushResultForChannelManager:channelUUID:pushPayload:")]
+ [Export ("channelManager:failedToStopTransmittingInChannelWithUUID:error:")]
[UnsupportedOSPlatform ("tvos")]
[UnsupportedOSPlatform ("macos")]
[SupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("maccatalyst")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual PTPushResult IncomingPushResult (PTChannelManager channelManager, NSUuid channelUuid, NSDictionary<NSString, NSObject> pushPayload)
+ public virtual void FailedToStopTransmittingInChannel (PTChannelManager channelManager, NSUuid channelUuid, 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 ();
+ var channelManager__handle__ = channelManager!.GetNonNullHandle (nameof (channelManager));
+ var channelUuid__handle__ = channelUuid!.GetNonNullHandle (nameof (channelUuid));
+ var error__handle__ = error!.GetNonNullHandle (nameof (error));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("channelManager:failedToStopTransmittingInChannelWithUUID:error:"), channelManager__handle__, channelUuid__handle__, error__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("channelManager:failedToStopTransmittingInChannelWithUUID:error:"), channelManager__handle__, channelUuid__handle__, error__handle__);
+ }
#endif
}
- [Export ("channelManager:receivedEphemeralPushToken:")]
+ [Export ("incomingPushResultForChannelManager:channelUUID:pushPayload:")]
[UnsupportedOSPlatform ("tvos")]
[UnsupportedOSPlatform ("macos")]
[SupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("maccatalyst")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual void ReceivedEphemeralPushToken (PTChannelManager channelManager, NSData pushToken)
+ public virtual PTPushResult IncomingPushResult (PTChannelManager channelManager, NSUuid channelUuid, NSDictionary<NSString, NSObject> pushPayload)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -524,25 +531,18 @@ namespace PushToTalk {
throw new You_Should_Not_Call_base_In_This_Method ();
#endif
}
- [Export ("channelManager:failedToStopTransmittingInChannelWithUUID:error:")]
+ [Export ("channelManager:receivedEphemeralPushToken:")]
[UnsupportedOSPlatform ("tvos")]
[UnsupportedOSPlatform ("macos")]
[SupportedOSPlatform ("ios16.0")]
[UnsupportedOSPlatform ("maccatalyst")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual void failedToStopTransmittingInChannel (PTChannelManager channelManager, NSUuid channelUuid, NSError error)
+ public virtual void ReceivedEphemeralPushToken (PTChannelManager channelManager, NSData pushToken)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
#else
- var channelManager__handle__ = channelManager!.GetNonNullHandle (nameof (channelManager));
- var channelUuid__handle__ = channelUuid!.GetNonNullHandle (nameof (channelUuid));
- var error__handle__ = error!.GetNonNullHandle (nameof (error));
- if (IsDirectBinding) {
- global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("channelManager:failedToStopTransmittingInChannelWithUUID:error:"), channelManager__handle__, channelUuid__handle__, error__handle__);
- } else {
- global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("channelManager:failedToStopTransmittingInChannelWithUUID:error:"), channelManager__handle__, channelUuid__handle__, error__handle__);
- }
+ throw new You_Should_Not_Call_base_In_This_Method ();
#endif
}
} /* class PTChannelManagerDelegate */
diff --git a/old/ios/native/PushToTalk/PTChannelManagerDelegate.g.cs b/new/ios/native/PushToTalk/PTChannelManagerDelegate.g.cs
index 7a4f748..56172a2 100644
--- a/old/ios/native/PushToTalk/PTChannelManagerDelegate.g.cs
+++ b/new/ios/native/PushToTalk/PTChannelManagerDelegate.g.cs
@@ -65,7 +65,7 @@ namespace PushToTalk {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "FailedToJoinChannel", Selector = "channelManager:failedToJoinChannelWithUUID:error:", ParameterType = new Type [] { typeof (PushToTalk.PTChannelManager), typeof (NSUuid), typeof (NSError) }, ParameterByRef = new bool [] { false, false, false })]
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "FailedToLeaveChannel", Selector = "channelManager:failedToLeaveChannelWithUUID:error:", ParameterType = new Type [] { typeof (PushToTalk.PTChannelManager), typeof (NSUuid), typeof (NSError) }, ParameterByRef = new bool [] { false, false, false })]
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "FailedToBeginTransmittingInChannel", Selector = "channelManager:failedToBeginTransmittingInChannelWithUUID:error:", ParameterType = new Type [] { typeof (PushToTalk.PTChannelManager), typeof (NSUuid), typeof (NSError) }, ParameterByRef = new bool [] { false, false, false })]
- [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "failedToStopTransmittingInChannel", Selector = "channelManager:failedToStopTransmittingInChannelWithUUID:error:", ParameterType = new Type [] { typeof (PushToTalk.PTChannelManager), typeof (NSUuid), typeof (NSError) }, ParameterByRef = new bool [] { false, false, false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "FailedToStopTransmittingInChannel", Selector = "channelManager:failedToStopTransmittingInChannelWithUUID:error:", ParameterType = new Type [] { typeof (PushToTalk.PTChannelManager), typeof (NSUuid), typeof (NSError) }, ParameterByRef = new bool [] { false, false, false })]
public partial interface IPTChannelManagerDelegate : INativeObject, IDisposable
{
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -139,7 +139,7 @@ namespace PushToTalk {
#endif
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static void failedToStopTransmittingInChannel (this IPTChannelManagerDelegate This, PTChannelManager channelManager, NSUuid channelUuid, NSError error)
+ public static void FailedToStopTransmittingInChannel (this IPTChannelManagerDelegate This, PTChannelManager channelManager, NSUuid channelUuid, NSError error)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -371,15 +371,9 @@ namespace PushToTalk {
}
#endif
}
- [Export ("incomingPushResultForChannelManager:channelUUID:pushPayload:")]
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public abstract PTPushResult IncomingPushResult (PTChannelManager channelManager, NSUuid channelUuid, NSDictionary<NSString, NSObject> pushPayload);
- [Export ("channelManager:receivedEphemeralPushToken:")]
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public abstract void ReceivedEphemeralPushToken (PTChannelManager channelManager, NSData pushToken);
[Export ("channelManager:failedToStopTransmittingInChannelWithUUID:error:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual void failedToStopTransmittingInChannel (PTChannelManager channelManager, NSUuid channelUuid, NSError error)
+ public virtual void FailedToStopTransmittingInChannel (PTChannelManager channelManager, NSUuid channelUuid, NSError error)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -394,5 +388,11 @@ namespace PushToTalk {
}
#endif
}
+ [Export ("incomingPushResultForChannelManager:channelUUID:pushPayload:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public abstract PTPushResult IncomingPushResult (PTChannelManager channelManager, NSUuid channelUuid, NSDictionary<NSString, NSObject> pushPayload);
+ [Export ("channelManager:receivedEphemeralPushToken:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public abstract void ReceivedEphemeralPushToken (PTChannelManager channelManager, NSData pushToken);
} /* class PTChannelManagerDelegate */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment