From f46c2affce0b54a30bf7ce7f67a3366990b5c98a Mon Sep 17 00:00:00 2001 From: Glenn <5834289+glennawatson@users.noreply.github.com> Date: Fri, 14 Jun 2019 21:20:39 +1000 Subject: [PATCH] performance: Change all over to using FromEvent rather than FromEventPattern (#14) performance: Change all over to using FromEvent rather than FromEventPattern. This has a performance boost of 3x The original research was done by @gluck This fixes issue #11 --- .../Generators/EventGeneratorBase.cs | 84 +- .../Tizen.NET.API4.4.0.1.14152.approved.txt | 3936 ++++++++++++++--- .../Xamarin.Essentials.1.1.0.approved.txt | 91 +- .../Xamarin.Forms.4.0.0.482894.approved.txt | 1216 ++++- .../Xamarin.Forms.4.0.0.497661.approved.txt | 1216 ++++- 5 files changed, 5653 insertions(+), 890 deletions(-) diff --git a/src/Pharmacist.Core/Generation/Generators/EventGeneratorBase.cs b/src/Pharmacist.Core/Generation/Generators/EventGeneratorBase.cs index cb1ba84..a14f2b6 100644 --- a/src/Pharmacist.Core/Generation/Generators/EventGeneratorBase.cs +++ b/src/Pharmacist.Core/Generation/Generators/EventGeneratorBase.cs @@ -41,29 +41,14 @@ protected static PropertyDeclarationSyntax GenerateEventWrapperObservable(IEvent // public System.IObservable EventName => System.Reactive.Linq.Observable.FromEventPattern(); var invokeMethod = eventDetails.GetEventType().GetDelegateInvokeMethod(); - ArrowExpressionClauseSyntax expressionBody; - TypeSyntax observableEventArgType; - // Events must have a valid return type. if (invokeMethod == null || invokeMethod.ReturnType.FullName != "System.Void") { return null; } - // If we are using a standard approach of using 2 parameters use the "FromEventPattern", otherwise, use "FromEvent" where we have to use converters. - if (invokeMethod.Parameters.Count == 2 && invokeMethod.Parameters[0].Type.FullName == "System.Object") - { - (expressionBody, observableEventArgType) = GenerateFromEventPatternExpressionClauseAndType(eventDetails, dataObjectName, invokeMethod); - } - else if (invokeMethod.Parameters.Count == 0) - { - observableEventArgType = SyntaxFactory.IdentifierName(RoslynHelpers.ObservableUnitName).GenerateObservableType(); - expressionBody = GenerateUnitFromEventExpression(eventDetails, dataObjectName); - } - else - { - (expressionBody, observableEventArgType) = GenerateFromEventExpression(eventDetails, invokeMethod, dataObjectName); - } + // Create "Observable.FromEvent" for our method. + var (expressionBody, observableEventArgType) = GenerateFromEventExpression(eventDetails, invokeMethod, dataObjectName); if (observableEventArgType == null || expressionBody == null) { @@ -143,71 +128,6 @@ private static (ArrowExpressionClauseSyntax, TypeSyntax) GenerateFromEventExpres return (expression, eventArgsType.GenerateObservableType()); } - private static ArrowExpressionClauseSyntax GenerateUnitFromEventExpression(IEvent eventDetails, string dataObjectName) - { - // This produces "=> global::System.Reactive.Linq.Observable.FromEvent(x => dataObjectName.EventName += x, x => dataObjectName.EventName -= x)". - // It uses the observable Unit form of the method. - var eventName = eventDetails.Name; - return SyntaxFactory.ArrowExpressionClause( - SyntaxFactory.InvocationExpression( - SyntaxFactory.MemberAccessExpression( - SyntaxKind.SimpleMemberAccessExpression, - SyntaxFactory.IdentifierName("global::System.Reactive.Linq.Observable"), - SyntaxFactory.IdentifierName("FromEvent"))) - .WithArgumentList( - SyntaxFactory.ArgumentList( - SyntaxFactory.SeparatedList( - new SyntaxNodeOrToken[] - { - GenerateArgumentEventAccessor(SyntaxKind.AddAssignmentExpression, eventName, dataObjectName), - SyntaxFactory.Token(SyntaxKind.CommaToken), - GenerateArgumentEventAccessor(SyntaxKind.SubtractAssignmentExpression, eventName, dataObjectName) - })))); - } - - private static (ArrowExpressionClauseSyntax, TypeSyntax) GenerateFromEventPatternExpressionClauseAndType(IEvent eventDetails, string dataObjectName, IMethod invokeMethod) - { - // This produces "=> global::System.Reactive.Linq.Observable.FromEventPattern, TEventArgs>(x => dataObject.EventName += x; x => dataObject.EventName -= x)". - var param = invokeMethod.Parameters[1]; - - var eventArgsName = param.Type.GenerateFullGenericName(); - var eventName = eventDetails.Name; - var eventArgsType = SyntaxFactory.IdentifierName(eventArgsName); - var observableEventArgType = eventArgsType.GenerateObservableType(); - - var returnType = SyntaxFactory.IdentifierName(eventDetails.ReturnType.GenerateFullGenericName()); - - var expression = SyntaxFactory.ArrowExpressionClause( - SyntaxFactory.InvocationExpression( - SyntaxFactory.MemberAccessExpression( - SyntaxKind.SimpleMemberAccessExpression, - SyntaxFactory.InvocationExpression( - SyntaxFactory.MemberAccessExpression( - SyntaxKind.SimpleMemberAccessExpression, - SyntaxFactory.IdentifierName("global::System.Reactive.Linq.Observable"), - SyntaxFactory.GenericName(SyntaxFactory.Identifier("FromEventPattern")) - .WithTypeArgumentList( - SyntaxFactory.TypeArgumentList( - SyntaxFactory.SeparatedList(new SyntaxNodeOrToken[] { returnType, SyntaxFactory.Token(SyntaxKind.CommaToken), eventArgsType }))))) - .WithArgumentList( - SyntaxFactory.ArgumentList( - SyntaxFactory.SeparatedList( - new SyntaxNodeOrToken[] { GenerateArgumentEventAccessor(SyntaxKind.AddAssignmentExpression, eventName, dataObjectName), SyntaxFactory.Token(SyntaxKind.CommaToken), GenerateArgumentEventAccessor(SyntaxKind.SubtractAssignmentExpression, eventName, dataObjectName) }))), - SyntaxFactory.IdentifierName("Select"))) - .WithArgumentList( - SyntaxFactory.ArgumentList( - SyntaxFactory.SingletonSeparatedList( - SyntaxFactory.Argument( - SyntaxFactory.SimpleLambdaExpression( - SyntaxFactory.Parameter(SyntaxFactory.Identifier("x")), - SyntaxFactory.MemberAccessExpression( - SyntaxKind.SimpleMemberAccessExpression, - SyntaxFactory.IdentifierName("x"), - SyntaxFactory.IdentifierName("EventArgs")))))))); - - return (expression, observableEventArgType); - } - private static ArgumentSyntax GenerateArgumentEventAccessor(SyntaxKind accessor, string eventName, string dataObjectName) { // This produces "x => dataObject.EventName += x" and also "x => dataObject.EventName -= x" depending on the accessor passed in. diff --git a/src/Pharmacist.Tests/IntegrationTests/Approved/Tizen.NET.API4.4.0.1.14152.approved.txt b/src/Pharmacist.Tests/IntegrationTests/Approved/Tizen.NET.API4.4.0.1.14152.approved.txt index 758549a..d242618 100644 --- a/src/Pharmacist.Tests/IntegrationTests/Approved/Tizen.NET.API4.4.0.1.14152.approved.txt +++ b/src/Pharmacist.Tests/IntegrationTests/Approved/Tizen.NET.API4.4.0.1.14152.approved.txt @@ -194,19 +194,43 @@ namespace ElmSharp /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Clicked += x, x => _data.Clicked -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Clicked => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Clicked += x, x => _data.Clicked -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Pressed => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Pressed += x, x => _data.Pressed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Pressed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Pressed += x, x => _data.Pressed -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Released => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Released += x, x => _data.Released -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Released => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Released += x, x => _data.Released -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Repeated => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Repeated += x, x => _data.Repeated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Repeated => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Repeated += x, x => _data.Repeated -= x); } /// @@ -227,11 +251,23 @@ namespace ElmSharp /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::ElmSharp.DateChangedEventArgs>(x => _data.DateChanged += x, x => _data.DateChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::ElmSharp.DateChangedEventArgs)> DateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::ElmSharp.DateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::ElmSharp.DateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DateChanged += x, x => _data.DateChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DisplayedMonthChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::ElmSharp.DisplayedMonthChangedEventArgs>(x => _data.DisplayedMonthChanged += x, x => _data.DisplayedMonthChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::ElmSharp.DisplayedMonthChangedEventArgs)> DisplayedMonthChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::ElmSharp.DisplayedMonthChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::ElmSharp.DisplayedMonthChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DisplayedMonthChanged += x, x => _data.DisplayedMonthChanged -= x); } /// @@ -252,7 +288,13 @@ namespace ElmSharp /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable StateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::ElmSharp.CheckStateChangedEventArgs>(x => _data.StateChanged += x, x => _data.StateChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::ElmSharp.CheckStateChangedEventArgs)> StateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::ElmSharp.CheckStateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::ElmSharp.CheckStateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.StateChanged += x, x => _data.StateChanged -= x); } /// @@ -273,7 +315,13 @@ namespace ElmSharp /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ColorChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::ElmSharp.ColorChangedEventArgs>(x => _data.ColorChanged += x, x => _data.ColorChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::ElmSharp.ColorChangedEventArgs)> ColorChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::ElmSharp.ColorChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::ElmSharp.ColorChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ColorChanged += x, x => _data.ColorChanged -= x); } /// @@ -294,7 +342,13 @@ namespace ElmSharp /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Dismissed => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Dismissed += x, x => _data.Dismissed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Dismissed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Dismissed += x, x => _data.Dismissed -= x); } /// @@ -315,7 +369,13 @@ namespace ElmSharp /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Selected => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Selected += x, x => _data.Selected -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Selected => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Selected += x, x => _data.Selected -= x); } /// @@ -336,7 +396,13 @@ namespace ElmSharp /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DateTimeChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::ElmSharp.DateChangedEventArgs>(x => _data.DateTimeChanged += x, x => _data.DateTimeChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::ElmSharp.DateChangedEventArgs)> DateTimeChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::ElmSharp.DateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::ElmSharp.DateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DateTimeChanged += x, x => _data.DateTimeChanged -= x); } /// @@ -357,7 +423,13 @@ namespace ElmSharp /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Finished => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Finished += x, x => _data.Finished -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Finished => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Finished += x, x => _data.Finished -= x); } /// @@ -378,7 +450,13 @@ namespace ElmSharp /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable EffectEnded => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.EffectEnded += x, x => _data.EffectEnded -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> EffectEnded => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.EffectEnded += x, x => _data.EffectEnded -= x); } /// @@ -399,19 +477,43 @@ namespace ElmSharp /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Activated => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Activated += x, x => _data.Activated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Activated => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Activated += x, x => _data.Activated -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ChangedByUser => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.ChangedByUser += x, x => _data.ChangedByUser -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> ChangedByUser => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ChangedByUser += x, x => _data.ChangedByUser -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Clicked += x, x => _data.Clicked -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Clicked => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Clicked += x, x => _data.Clicked -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable CursorChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.CursorChanged += x, x => _data.CursorChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> CursorChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.CursorChanged += x, x => _data.CursorChanged -= x); } /// @@ -432,35 +534,83 @@ namespace ElmSharp /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable BackButtonPressed => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.BackButtonPressed += x, x => _data.BackButtonPressed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> BackButtonPressed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.BackButtonPressed += x, x => _data.BackButtonPressed -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Deleted => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Deleted += x, x => _data.Deleted -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Deleted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Deleted += x, x => _data.Deleted -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable KeyDown => global::System.Reactive.Linq.Observable.FromEventPattern, global::ElmSharp.EvasKeyEventArgs>(x => _data.KeyDown += x, x => _data.KeyDown -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::ElmSharp.EvasKeyEventArgs)> KeyDown => global::System.Reactive.Linq.Observable.FromEvent, (object, global::ElmSharp.EvasKeyEventArgs)>(eventHandler => + { + void Handler(object sender, global::ElmSharp.EvasKeyEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.KeyDown += x, x => _data.KeyDown -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable KeyUp => global::System.Reactive.Linq.Observable.FromEventPattern, global::ElmSharp.EvasKeyEventArgs>(x => _data.KeyUp += x, x => _data.KeyUp -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::ElmSharp.EvasKeyEventArgs)> KeyUp => global::System.Reactive.Linq.Observable.FromEvent, (object, global::ElmSharp.EvasKeyEventArgs)>(eventHandler => + { + void Handler(object sender, global::ElmSharp.EvasKeyEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.KeyUp += x, x => _data.KeyUp -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable MoreButtonPressed => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.MoreButtonPressed += x, x => _data.MoreButtonPressed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> MoreButtonPressed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.MoreButtonPressed += x, x => _data.MoreButtonPressed -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Moved => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Moved += x, x => _data.Moved -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Moved => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Moved += x, x => _data.Moved -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable RenderPost => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.RenderPost += x, x => _data.RenderPost -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> RenderPost => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.RenderPost += x, x => _data.RenderPost -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Resized => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Resized += x, x => _data.Resized -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Resized => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Resized += x, x => _data.Resized -= x); } /// @@ -481,7 +631,13 @@ namespace ElmSharp /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable On => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.On += x, x => _data.On -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> On => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.On += x, x => _data.On -= x); } /// @@ -502,15 +658,33 @@ namespace ElmSharp /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Overflowed => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Overflowed += x, x => _data.Overflowed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Overflowed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Overflowed += x, x => _data.Overflowed -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Selected => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Selected += x, x => _data.Selected -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Selected => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Selected += x, x => _data.Selected -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Underflowed => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Underflowed += x, x => _data.Underflowed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Underflowed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Underflowed += x, x => _data.Underflowed -= x); } /// @@ -531,7 +705,13 @@ namespace ElmSharp /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Selected => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Selected += x, x => _data.Selected -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Selected => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Selected += x, x => _data.Selected -= x); } /// @@ -552,43 +732,103 @@ namespace ElmSharp /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Changed => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Changed += x, x => _data.Changed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Changed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Changed += x, x => _data.Changed -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ItemActivated => global::System.Reactive.Linq.Observable.FromEventPattern, global::ElmSharp.GenGridItemEventArgs>(x => _data.ItemActivated += x, x => _data.ItemActivated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::ElmSharp.GenGridItemEventArgs)> ItemActivated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::ElmSharp.GenGridItemEventArgs)>(eventHandler => + { + void Handler(object sender, global::ElmSharp.GenGridItemEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ItemActivated += x, x => _data.ItemActivated -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ItemDoubleClicked => global::System.Reactive.Linq.Observable.FromEventPattern, global::ElmSharp.GenGridItemEventArgs>(x => _data.ItemDoubleClicked += x, x => _data.ItemDoubleClicked -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::ElmSharp.GenGridItemEventArgs)> ItemDoubleClicked => global::System.Reactive.Linq.Observable.FromEvent, (object, global::ElmSharp.GenGridItemEventArgs)>(eventHandler => + { + void Handler(object sender, global::ElmSharp.GenGridItemEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ItemDoubleClicked += x, x => _data.ItemDoubleClicked -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ItemLongPressed => global::System.Reactive.Linq.Observable.FromEventPattern, global::ElmSharp.GenGridItemEventArgs>(x => _data.ItemLongPressed += x, x => _data.ItemLongPressed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::ElmSharp.GenGridItemEventArgs)> ItemLongPressed => global::System.Reactive.Linq.Observable.FromEvent, (object, global::ElmSharp.GenGridItemEventArgs)>(eventHandler => + { + void Handler(object sender, global::ElmSharp.GenGridItemEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ItemLongPressed += x, x => _data.ItemLongPressed -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ItemPressed => global::System.Reactive.Linq.Observable.FromEventPattern, global::ElmSharp.GenGridItemEventArgs>(x => _data.ItemPressed += x, x => _data.ItemPressed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::ElmSharp.GenGridItemEventArgs)> ItemPressed => global::System.Reactive.Linq.Observable.FromEvent, (object, global::ElmSharp.GenGridItemEventArgs)>(eventHandler => + { + void Handler(object sender, global::ElmSharp.GenGridItemEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ItemPressed += x, x => _data.ItemPressed -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ItemRealized => global::System.Reactive.Linq.Observable.FromEventPattern, global::ElmSharp.GenGridItemEventArgs>(x => _data.ItemRealized += x, x => _data.ItemRealized -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::ElmSharp.GenGridItemEventArgs)> ItemRealized => global::System.Reactive.Linq.Observable.FromEvent, (object, global::ElmSharp.GenGridItemEventArgs)>(eventHandler => + { + void Handler(object sender, global::ElmSharp.GenGridItemEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ItemRealized += x, x => _data.ItemRealized -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ItemReleased => global::System.Reactive.Linq.Observable.FromEventPattern, global::ElmSharp.GenGridItemEventArgs>(x => _data.ItemReleased += x, x => _data.ItemReleased -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::ElmSharp.GenGridItemEventArgs)> ItemReleased => global::System.Reactive.Linq.Observable.FromEvent, (object, global::ElmSharp.GenGridItemEventArgs)>(eventHandler => + { + void Handler(object sender, global::ElmSharp.GenGridItemEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ItemReleased += x, x => _data.ItemReleased -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ItemSelected => global::System.Reactive.Linq.Observable.FromEventPattern, global::ElmSharp.GenGridItemEventArgs>(x => _data.ItemSelected += x, x => _data.ItemSelected -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::ElmSharp.GenGridItemEventArgs)> ItemSelected => global::System.Reactive.Linq.Observable.FromEvent, (object, global::ElmSharp.GenGridItemEventArgs)>(eventHandler => + { + void Handler(object sender, global::ElmSharp.GenGridItemEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ItemSelected += x, x => _data.ItemSelected -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ItemUnrealized => global::System.Reactive.Linq.Observable.FromEventPattern, global::ElmSharp.GenGridItemEventArgs>(x => _data.ItemUnrealized += x, x => _data.ItemUnrealized -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::ElmSharp.GenGridItemEventArgs)> ItemUnrealized => global::System.Reactive.Linq.Observable.FromEvent, (object, global::ElmSharp.GenGridItemEventArgs)>(eventHandler => + { + void Handler(object sender, global::ElmSharp.GenGridItemEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ItemUnrealized += x, x => _data.ItemUnrealized -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ItemUnselected => global::System.Reactive.Linq.Observable.FromEventPattern, global::ElmSharp.GenGridItemEventArgs>(x => _data.ItemUnselected += x, x => _data.ItemUnselected -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::ElmSharp.GenGridItemEventArgs)> ItemUnselected => global::System.Reactive.Linq.Observable.FromEvent, (object, global::ElmSharp.GenGridItemEventArgs)>(eventHandler => + { + void Handler(object sender, global::ElmSharp.GenGridItemEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ItemUnselected += x, x => _data.ItemUnselected -= x); } /// @@ -609,67 +849,163 @@ namespace ElmSharp /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Changed => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Changed += x, x => _data.Changed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Changed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Changed += x, x => _data.Changed -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ItemActivated => global::System.Reactive.Linq.Observable.FromEventPattern, global::ElmSharp.GenListItemEventArgs>(x => _data.ItemActivated += x, x => _data.ItemActivated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::ElmSharp.GenListItemEventArgs)> ItemActivated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::ElmSharp.GenListItemEventArgs)>(eventHandler => + { + void Handler(object sender, global::ElmSharp.GenListItemEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ItemActivated += x, x => _data.ItemActivated -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ItemDoubleClicked => global::System.Reactive.Linq.Observable.FromEventPattern, global::ElmSharp.GenListItemEventArgs>(x => _data.ItemDoubleClicked += x, x => _data.ItemDoubleClicked -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::ElmSharp.GenListItemEventArgs)> ItemDoubleClicked => global::System.Reactive.Linq.Observable.FromEvent, (object, global::ElmSharp.GenListItemEventArgs)>(eventHandler => + { + void Handler(object sender, global::ElmSharp.GenListItemEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ItemDoubleClicked += x, x => _data.ItemDoubleClicked -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ItemExpanded => global::System.Reactive.Linq.Observable.FromEventPattern, global::ElmSharp.GenListItemEventArgs>(x => _data.ItemExpanded += x, x => _data.ItemExpanded -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::ElmSharp.GenListItemEventArgs)> ItemExpanded => global::System.Reactive.Linq.Observable.FromEvent, (object, global::ElmSharp.GenListItemEventArgs)>(eventHandler => + { + void Handler(object sender, global::ElmSharp.GenListItemEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ItemExpanded += x, x => _data.ItemExpanded -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ItemLongPressed => global::System.Reactive.Linq.Observable.FromEventPattern, global::ElmSharp.GenListItemEventArgs>(x => _data.ItemLongPressed += x, x => _data.ItemLongPressed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::ElmSharp.GenListItemEventArgs)> ItemLongPressed => global::System.Reactive.Linq.Observable.FromEvent, (object, global::ElmSharp.GenListItemEventArgs)>(eventHandler => + { + void Handler(object sender, global::ElmSharp.GenListItemEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ItemLongPressed += x, x => _data.ItemLongPressed -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ItemMoved => global::System.Reactive.Linq.Observable.FromEventPattern, global::ElmSharp.GenListItemEventArgs>(x => _data.ItemMoved += x, x => _data.ItemMoved -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::ElmSharp.GenListItemEventArgs)> ItemMoved => global::System.Reactive.Linq.Observable.FromEvent, (object, global::ElmSharp.GenListItemEventArgs)>(eventHandler => + { + void Handler(object sender, global::ElmSharp.GenListItemEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ItemMoved += x, x => _data.ItemMoved -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ItemMovedAfter => global::System.Reactive.Linq.Observable.FromEventPattern, global::ElmSharp.GenListItemEventArgs>(x => _data.ItemMovedAfter += x, x => _data.ItemMovedAfter -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::ElmSharp.GenListItemEventArgs)> ItemMovedAfter => global::System.Reactive.Linq.Observable.FromEvent, (object, global::ElmSharp.GenListItemEventArgs)>(eventHandler => + { + void Handler(object sender, global::ElmSharp.GenListItemEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ItemMovedAfter += x, x => _data.ItemMovedAfter -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ItemMovedBefore => global::System.Reactive.Linq.Observable.FromEventPattern, global::ElmSharp.GenListItemEventArgs>(x => _data.ItemMovedBefore += x, x => _data.ItemMovedBefore -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::ElmSharp.GenListItemEventArgs)> ItemMovedBefore => global::System.Reactive.Linq.Observable.FromEvent, (object, global::ElmSharp.GenListItemEventArgs)>(eventHandler => + { + void Handler(object sender, global::ElmSharp.GenListItemEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ItemMovedBefore += x, x => _data.ItemMovedBefore -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ItemPressed => global::System.Reactive.Linq.Observable.FromEventPattern, global::ElmSharp.GenListItemEventArgs>(x => _data.ItemPressed += x, x => _data.ItemPressed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::ElmSharp.GenListItemEventArgs)> ItemPressed => global::System.Reactive.Linq.Observable.FromEvent, (object, global::ElmSharp.GenListItemEventArgs)>(eventHandler => + { + void Handler(object sender, global::ElmSharp.GenListItemEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ItemPressed += x, x => _data.ItemPressed -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ItemRealized => global::System.Reactive.Linq.Observable.FromEventPattern, global::ElmSharp.GenListItemEventArgs>(x => _data.ItemRealized += x, x => _data.ItemRealized -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::ElmSharp.GenListItemEventArgs)> ItemRealized => global::System.Reactive.Linq.Observable.FromEvent, (object, global::ElmSharp.GenListItemEventArgs)>(eventHandler => + { + void Handler(object sender, global::ElmSharp.GenListItemEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ItemRealized += x, x => _data.ItemRealized -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ItemReleased => global::System.Reactive.Linq.Observable.FromEventPattern, global::ElmSharp.GenListItemEventArgs>(x => _data.ItemReleased += x, x => _data.ItemReleased -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::ElmSharp.GenListItemEventArgs)> ItemReleased => global::System.Reactive.Linq.Observable.FromEvent, (object, global::ElmSharp.GenListItemEventArgs)>(eventHandler => + { + void Handler(object sender, global::ElmSharp.GenListItemEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ItemReleased += x, x => _data.ItemReleased -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ItemSelected => global::System.Reactive.Linq.Observable.FromEventPattern, global::ElmSharp.GenListItemEventArgs>(x => _data.ItemSelected += x, x => _data.ItemSelected -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::ElmSharp.GenListItemEventArgs)> ItemSelected => global::System.Reactive.Linq.Observable.FromEvent, (object, global::ElmSharp.GenListItemEventArgs)>(eventHandler => + { + void Handler(object sender, global::ElmSharp.GenListItemEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ItemSelected += x, x => _data.ItemSelected -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ItemUnrealized => global::System.Reactive.Linq.Observable.FromEventPattern, global::ElmSharp.GenListItemEventArgs>(x => _data.ItemUnrealized += x, x => _data.ItemUnrealized -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::ElmSharp.GenListItemEventArgs)> ItemUnrealized => global::System.Reactive.Linq.Observable.FromEvent, (object, global::ElmSharp.GenListItemEventArgs)>(eventHandler => + { + void Handler(object sender, global::ElmSharp.GenListItemEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ItemUnrealized += x, x => _data.ItemUnrealized -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ItemUnselected => global::System.Reactive.Linq.Observable.FromEventPattern, global::ElmSharp.GenListItemEventArgs>(x => _data.ItemUnselected += x, x => _data.ItemUnselected -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::ElmSharp.GenListItemEventArgs)> ItemUnselected => global::System.Reactive.Linq.Observable.FromEvent, (object, global::ElmSharp.GenListItemEventArgs)>(eventHandler => + { + void Handler(object sender, global::ElmSharp.GenListItemEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ItemUnselected += x, x => _data.ItemUnselected -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ScrollAnimationStarted => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.ScrollAnimationStarted += x, x => _data.ScrollAnimationStarted -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> ScrollAnimationStarted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ScrollAnimationStarted += x, x => _data.ScrollAnimationStarted -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ScrollAnimationStopped => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.ScrollAnimationStopped += x, x => _data.ScrollAnimationStopped -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> ScrollAnimationStopped => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ScrollAnimationStopped += x, x => _data.ScrollAnimationStopped -= x); } /// @@ -690,19 +1026,43 @@ namespace ElmSharp /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Clicked += x, x => _data.Clicked -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Clicked => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Clicked += x, x => _data.Clicked -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Dismissed => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Dismissed += x, x => _data.Dismissed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Dismissed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Dismissed += x, x => _data.Dismissed -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Expanded => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Expanded += x, x => _data.Expanded -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Expanded => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Expanded += x, x => _data.Expanded -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ItemSelected => global::System.Reactive.Linq.Observable.FromEventPattern, global::ElmSharp.HoverselItemEventArgs>(x => _data.ItemSelected += x, x => _data.ItemSelected -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::ElmSharp.HoverselItemEventArgs)> ItemSelected => global::System.Reactive.Linq.Observable.FromEvent, (object, global::ElmSharp.HoverselItemEventArgs)>(eventHandler => + { + void Handler(object sender, global::ElmSharp.HoverselItemEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ItemSelected += x, x => _data.ItemSelected -= x); } /// @@ -723,7 +1083,13 @@ namespace ElmSharp /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ItemSelected => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.ItemSelected += x, x => _data.ItemSelected -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> ItemSelected => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ItemSelected += x, x => _data.ItemSelected -= x); } /// @@ -744,15 +1110,33 @@ namespace ElmSharp /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Clicked += x, x => _data.Clicked -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Clicked => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Clicked += x, x => _data.Clicked -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable LoadingCompleted => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.LoadingCompleted += x, x => _data.LoadingCompleted -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> LoadingCompleted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.LoadingCompleted += x, x => _data.LoadingCompleted -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable LoadingFailed => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.LoadingFailed += x, x => _data.LoadingFailed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> LoadingFailed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.LoadingFailed += x, x => _data.LoadingFailed -= x); } /// @@ -773,7 +1157,13 @@ namespace ElmSharp /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Changed => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Changed += x, x => _data.Changed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Changed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Changed += x, x => _data.Changed -= x); } /// @@ -794,7 +1184,13 @@ namespace ElmSharp /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Selected => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Selected += x, x => _data.Selected -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Selected => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Selected += x, x => _data.Selected -= x); } /// @@ -815,7 +1211,13 @@ namespace ElmSharp /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Deleted => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Deleted += x, x => _data.Deleted -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Deleted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Deleted += x, x => _data.Deleted -= x); } /// @@ -836,7 +1238,13 @@ namespace ElmSharp /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable SlideCompleted => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.SlideCompleted += x, x => _data.SlideCompleted -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> SlideCompleted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.SlideCompleted += x, x => _data.SlideCompleted -= x); } /// @@ -857,11 +1265,23 @@ namespace ElmSharp /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable LanguageChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.LanguageChanged += x, x => _data.LanguageChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> LanguageChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.LanguageChanged += x, x => _data.LanguageChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ThemeChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.ThemeChanged += x, x => _data.ThemeChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> ThemeChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ThemeChanged += x, x => _data.ThemeChanged -= x); } /// @@ -882,23 +1302,53 @@ namespace ElmSharp /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ItemActivated => global::System.Reactive.Linq.Observable.FromEventPattern, global::ElmSharp.ListItemEventArgs>(x => _data.ItemActivated += x, x => _data.ItemActivated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::ElmSharp.ListItemEventArgs)> ItemActivated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::ElmSharp.ListItemEventArgs)>(eventHandler => + { + void Handler(object sender, global::ElmSharp.ListItemEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ItemActivated += x, x => _data.ItemActivated -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ItemDoubleClicked => global::System.Reactive.Linq.Observable.FromEventPattern, global::ElmSharp.ListItemEventArgs>(x => _data.ItemDoubleClicked += x, x => _data.ItemDoubleClicked -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::ElmSharp.ListItemEventArgs)> ItemDoubleClicked => global::System.Reactive.Linq.Observable.FromEvent, (object, global::ElmSharp.ListItemEventArgs)>(eventHandler => + { + void Handler(object sender, global::ElmSharp.ListItemEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ItemDoubleClicked += x, x => _data.ItemDoubleClicked -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ItemLongPressed => global::System.Reactive.Linq.Observable.FromEventPattern, global::ElmSharp.ListItemEventArgs>(x => _data.ItemLongPressed += x, x => _data.ItemLongPressed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::ElmSharp.ListItemEventArgs)> ItemLongPressed => global::System.Reactive.Linq.Observable.FromEvent, (object, global::ElmSharp.ListItemEventArgs)>(eventHandler => + { + void Handler(object sender, global::ElmSharp.ListItemEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ItemLongPressed += x, x => _data.ItemLongPressed -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ItemSelected => global::System.Reactive.Linq.Observable.FromEventPattern, global::ElmSharp.ListItemEventArgs>(x => _data.ItemSelected += x, x => _data.ItemSelected -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::ElmSharp.ListItemEventArgs)> ItemSelected => global::System.Reactive.Linq.Observable.FromEvent, (object, global::ElmSharp.ListItemEventArgs)>(eventHandler => + { + void Handler(object sender, global::ElmSharp.ListItemEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ItemSelected += x, x => _data.ItemSelected -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ItemUnselected => global::System.Reactive.Linq.Observable.FromEventPattern, global::ElmSharp.ListItemEventArgs>(x => _data.ItemUnselected += x, x => _data.ItemUnselected -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::ElmSharp.ListItemEventArgs)> ItemUnselected => global::System.Reactive.Linq.Observable.FromEvent, (object, global::ElmSharp.ListItemEventArgs)>(eventHandler => + { + void Handler(object sender, global::ElmSharp.ListItemEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ItemUnselected += x, x => _data.ItemUnselected -= x); } /// @@ -919,39 +1369,93 @@ namespace ElmSharp /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Clicked += x, x => _data.Clicked -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Clicked => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Clicked += x, x => _data.Clicked -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Contracted => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Contracted += x, x => _data.Contracted -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Contracted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Contracted += x, x => _data.Contracted -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Expanded => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Expanded += x, x => _data.Expanded -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Expanded => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Expanded += x, x => _data.Expanded -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ExpandedStateChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.ExpandedStateChanged += x, x => _data.ExpandedStateChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> ExpandedStateChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ExpandedStateChanged += x, x => _data.ExpandedStateChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ItemAdded => global::System.Reactive.Linq.Observable.FromEventPattern, global::ElmSharp.MultiButtonEntryItemEventArgs>(x => _data.ItemAdded += x, x => _data.ItemAdded -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::ElmSharp.MultiButtonEntryItemEventArgs)> ItemAdded => global::System.Reactive.Linq.Observable.FromEvent, (object, global::ElmSharp.MultiButtonEntryItemEventArgs)>(eventHandler => + { + void Handler(object sender, global::ElmSharp.MultiButtonEntryItemEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ItemAdded += x, x => _data.ItemAdded -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ItemClicked => global::System.Reactive.Linq.Observable.FromEventPattern, global::ElmSharp.MultiButtonEntryItemEventArgs>(x => _data.ItemClicked += x, x => _data.ItemClicked -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::ElmSharp.MultiButtonEntryItemEventArgs)> ItemClicked => global::System.Reactive.Linq.Observable.FromEvent, (object, global::ElmSharp.MultiButtonEntryItemEventArgs)>(eventHandler => + { + void Handler(object sender, global::ElmSharp.MultiButtonEntryItemEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ItemClicked += x, x => _data.ItemClicked -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ItemDeleted => global::System.Reactive.Linq.Observable.FromEventPattern, global::ElmSharp.MultiButtonEntryItemEventArgs>(x => _data.ItemDeleted += x, x => _data.ItemDeleted -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::ElmSharp.MultiButtonEntryItemEventArgs)> ItemDeleted => global::System.Reactive.Linq.Observable.FromEvent, (object, global::ElmSharp.MultiButtonEntryItemEventArgs)>(eventHandler => + { + void Handler(object sender, global::ElmSharp.MultiButtonEntryItemEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ItemDeleted += x, x => _data.ItemDeleted -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ItemLongPressed => global::System.Reactive.Linq.Observable.FromEventPattern, global::ElmSharp.MultiButtonEntryItemEventArgs>(x => _data.ItemLongPressed += x, x => _data.ItemLongPressed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::ElmSharp.MultiButtonEntryItemEventArgs)> ItemLongPressed => global::System.Reactive.Linq.Observable.FromEvent, (object, global::ElmSharp.MultiButtonEntryItemEventArgs)>(eventHandler => + { + void Handler(object sender, global::ElmSharp.MultiButtonEntryItemEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ItemLongPressed += x, x => _data.ItemLongPressed -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ItemSelected => global::System.Reactive.Linq.Observable.FromEventPattern, global::ElmSharp.MultiButtonEntryItemEventArgs>(x => _data.ItemSelected += x, x => _data.ItemSelected -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::ElmSharp.MultiButtonEntryItemEventArgs)> ItemSelected => global::System.Reactive.Linq.Observable.FromEvent, (object, global::ElmSharp.MultiButtonEntryItemEventArgs)>(eventHandler => + { + void Handler(object sender, global::ElmSharp.MultiButtonEntryItemEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ItemSelected += x, x => _data.ItemSelected -= x); } /// @@ -972,11 +1476,23 @@ namespace ElmSharp /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable AnimationFinished => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.AnimationFinished += x, x => _data.AnimationFinished -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> AnimationFinished => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.AnimationFinished += x, x => _data.AnimationFinished -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Popped => global::System.Reactive.Linq.Observable.FromEventPattern, global::ElmSharp.NaviframeEventArgs>(x => _data.Popped += x, x => _data.Popped -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::ElmSharp.NaviframeEventArgs)> Popped => global::System.Reactive.Linq.Observable.FromEvent, (object, global::ElmSharp.NaviframeEventArgs)>(eventHandler => + { + void Handler(object sender, global::ElmSharp.NaviframeEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Popped += x, x => _data.Popped -= x); } /// @@ -997,7 +1513,13 @@ namespace ElmSharp /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Popped => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Popped += x, x => _data.Popped -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Popped => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Popped += x, x => _data.Popped -= x); } /// @@ -1018,7 +1540,13 @@ namespace ElmSharp /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Toggled => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Toggled += x, x => _data.Toggled -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Toggled => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Toggled += x, x => _data.Toggled -= x); } /// @@ -1039,11 +1567,23 @@ namespace ElmSharp /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Pressed => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Pressed += x, x => _data.Pressed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Pressed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Pressed += x, x => _data.Pressed -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Unpressed => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Unpressed += x, x => _data.Unpressed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Unpressed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Unpressed += x, x => _data.Unpressed -= x); } /// @@ -1064,19 +1604,43 @@ namespace ElmSharp /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Dismissed => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Dismissed += x, x => _data.Dismissed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Dismissed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Dismissed += x, x => _data.Dismissed -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable OutsideClicked => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.OutsideClicked += x, x => _data.OutsideClicked -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> OutsideClicked => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.OutsideClicked += x, x => _data.OutsideClicked -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ShowAnimationFinished => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.ShowAnimationFinished += x, x => _data.ShowAnimationFinished -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> ShowAnimationFinished => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ShowAnimationFinished += x, x => _data.ShowAnimationFinished -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable TimedOut => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.TimedOut += x, x => _data.TimedOut -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> TimedOut => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.TimedOut += x, x => _data.TimedOut -= x); } /// @@ -1097,7 +1661,13 @@ namespace ElmSharp /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ValueChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.ValueChanged += x, x => _data.ValueChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> ValueChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ValueChanged += x, x => _data.ValueChanged -= x); } /// @@ -1118,7 +1688,13 @@ namespace ElmSharp /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ValueChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.ValueChanged += x, x => _data.ValueChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> ValueChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ValueChanged += x, x => _data.ValueChanged -= x); } /// @@ -1139,19 +1715,43 @@ namespace ElmSharp /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DragStart => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.DragStart += x, x => _data.DragStart -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> DragStart => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DragStart += x, x => _data.DragStart -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DragStop => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.DragStop += x, x => _data.DragStop -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> DragStop => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DragStop += x, x => _data.DragStop -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable PageScrolled => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.PageScrolled += x, x => _data.PageScrolled -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> PageScrolled => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.PageScrolled += x, x => _data.PageScrolled -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Scrolled => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Scrolled += x, x => _data.Scrolled -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Scrolled => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Scrolled += x, x => _data.Scrolled -= x); } /// @@ -1172,19 +1772,43 @@ namespace ElmSharp /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DelayedValueChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.DelayedValueChanged += x, x => _data.DelayedValueChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> DelayedValueChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DelayedValueChanged += x, x => _data.DelayedValueChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DragStarted => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.DragStarted += x, x => _data.DragStarted -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> DragStarted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DragStarted += x, x => _data.DragStarted -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DragStopped => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.DragStopped += x, x => _data.DragStopped -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> DragStopped => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DragStopped += x, x => _data.DragStopped -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ValueChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.ValueChanged += x, x => _data.ValueChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> ValueChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ValueChanged += x, x => _data.ValueChanged -= x); } /// @@ -1205,7 +1829,13 @@ namespace ElmSharp /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable On => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.On += x, x => _data.On -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> On => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.On += x, x => _data.On -= x); } /// @@ -1226,11 +1856,23 @@ namespace ElmSharp /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DelayedValueChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.DelayedValueChanged += x, x => _data.DelayedValueChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> DelayedValueChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DelayedValueChanged += x, x => _data.DelayedValueChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ValueChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.ValueChanged += x, x => _data.ValueChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> ValueChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ValueChanged += x, x => _data.ValueChanged -= x); } /// @@ -1251,7 +1893,13 @@ namespace ElmSharp /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Selected => global::System.Reactive.Linq.Observable.FromEventPattern, global::ElmSharp.ToolbarItemEventArgs>(x => _data.Selected += x, x => _data.Selected -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::ElmSharp.ToolbarItemEventArgs)> Selected => global::System.Reactive.Linq.Observable.FromEvent, (object, global::ElmSharp.ToolbarItemEventArgs)>(eventHandler => + { + void Handler(object sender, global::ElmSharp.ToolbarItemEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Selected += x, x => _data.Selected -= x); } /// @@ -1272,15 +1920,33 @@ namespace ElmSharp /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Clicked += x, x => _data.Clicked -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Clicked => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Clicked += x, x => _data.Clicked -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable LongPressed => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.LongPressed += x, x => _data.LongPressed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> LongPressed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.LongPressed += x, x => _data.LongPressed -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Selected => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Selected += x, x => _data.Selected -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Selected => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Selected += x, x => _data.Selected -= x); } /// @@ -1301,7 +1967,13 @@ namespace ElmSharp /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Deleted => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Deleted += x, x => _data.Deleted -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Deleted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Deleted += x, x => _data.Deleted -= x); } /// @@ -1322,11 +1994,23 @@ namespace ElmSharp /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Focused => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Focused += x, x => _data.Focused -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Focused => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Focused += x, x => _data.Focused -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Unfocused => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Unfocused += x, x => _data.Unfocused -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Unfocused => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Unfocused += x, x => _data.Unfocused -= x); } /// @@ -1347,11 +2031,23 @@ namespace ElmSharp /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable CloseRequested => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.CloseRequested += x, x => _data.CloseRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> CloseRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.CloseRequested += x, x => _data.CloseRequested -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable RotationChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.RotationChanged += x, x => _data.RotationChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> RotationChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.RotationChanged += x, x => _data.RotationChanged -= x); } } @@ -1394,7 +2090,13 @@ namespace ElmSharp.Wearable /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ValueChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.ValueChanged += x, x => _data.ValueChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> ValueChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ValueChanged += x, x => _data.ValueChanged -= x); } /// @@ -1415,19 +2117,43 @@ namespace ElmSharp.Wearable /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEventPattern, global::ElmSharp.Wearable.MoreOptionItemEventArgs>(x => _data.Clicked += x, x => _data.Clicked -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::ElmSharp.Wearable.MoreOptionItemEventArgs)> Clicked => global::System.Reactive.Linq.Observable.FromEvent, (object, global::ElmSharp.Wearable.MoreOptionItemEventArgs)>(eventHandler => + { + void Handler(object sender, global::ElmSharp.Wearable.MoreOptionItemEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Clicked += x, x => _data.Clicked -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Closed => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Closed += x, x => _data.Closed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Closed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Closed += x, x => _data.Closed -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Opened => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Opened += x, x => _data.Opened -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Opened => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Opened += x, x => _data.Opened -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Selected => global::System.Reactive.Linq.Observable.FromEventPattern, global::ElmSharp.Wearable.MoreOptionItemEventArgs>(x => _data.Selected += x, x => _data.Selected -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::ElmSharp.Wearable.MoreOptionItemEventArgs)> Selected => global::System.Reactive.Linq.Observable.FromEvent, (object, global::ElmSharp.Wearable.MoreOptionItemEventArgs)>(eventHandler => + { + void Handler(object sender, global::ElmSharp.Wearable.MoreOptionItemEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Selected += x, x => _data.Selected -= x); } /// @@ -1448,11 +2174,23 @@ namespace ElmSharp.Wearable /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEventPattern, global::ElmSharp.Wearable.RotarySelectorItemEventArgs>(x => _data.Clicked += x, x => _data.Clicked -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::ElmSharp.Wearable.RotarySelectorItemEventArgs)> Clicked => global::System.Reactive.Linq.Observable.FromEvent, (object, global::ElmSharp.Wearable.RotarySelectorItemEventArgs)>(eventHandler => + { + void Handler(object sender, global::ElmSharp.Wearable.RotarySelectorItemEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Clicked += x, x => _data.Clicked -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Selected => global::System.Reactive.Linq.Observable.FromEventPattern, global::ElmSharp.Wearable.RotarySelectorItemEventArgs>(x => _data.Selected += x, x => _data.Selected -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::ElmSharp.Wearable.RotarySelectorItemEventArgs)> Selected => global::System.Reactive.Linq.Observable.FromEvent, (object, global::ElmSharp.Wearable.RotarySelectorItemEventArgs)>(eventHandler => + { + void Handler(object sender, global::ElmSharp.Wearable.RotarySelectorItemEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Selected += x, x => _data.Selected -= x); } } @@ -1503,35 +2241,83 @@ namespace Tizen.Applications /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable AppControlReceived => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Applications.AppControlReceivedEventArgs>(x => _data.AppControlReceived += x, x => _data.AppControlReceived -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Applications.AppControlReceivedEventArgs)> AppControlReceived => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Applications.AppControlReceivedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Applications.AppControlReceivedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.AppControlReceived += x, x => _data.AppControlReceived -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Created => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Created += x, x => _data.Created -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Created => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Created += x, x => _data.Created -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DeviceOrientationChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Applications.DeviceOrientationEventArgs>(x => _data.DeviceOrientationChanged += x, x => _data.DeviceOrientationChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Applications.DeviceOrientationEventArgs)> DeviceOrientationChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Applications.DeviceOrientationEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Applications.DeviceOrientationEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DeviceOrientationChanged += x, x => _data.DeviceOrientationChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable LocaleChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Applications.LocaleChangedEventArgs>(x => _data.LocaleChanged += x, x => _data.LocaleChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Applications.LocaleChangedEventArgs)> LocaleChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Applications.LocaleChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Applications.LocaleChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.LocaleChanged += x, x => _data.LocaleChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable LowBattery => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Applications.LowBatteryEventArgs>(x => _data.LowBattery += x, x => _data.LowBattery -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Applications.LowBatteryEventArgs)> LowBattery => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Applications.LowBatteryEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Applications.LowBatteryEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.LowBattery += x, x => _data.LowBattery -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable LowMemory => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Applications.LowMemoryEventArgs>(x => _data.LowMemory += x, x => _data.LowMemory -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Applications.LowMemoryEventArgs)> LowMemory => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Applications.LowMemoryEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Applications.LowMemoryEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.LowMemory += x, x => _data.LowMemory -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable RegionFormatChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Applications.RegionFormatChangedEventArgs>(x => _data.RegionFormatChanged += x, x => _data.RegionFormatChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Applications.RegionFormatChangedEventArgs)> RegionFormatChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Applications.RegionFormatChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Applications.RegionFormatChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.RegionFormatChanged += x, x => _data.RegionFormatChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Terminated => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Terminated += x, x => _data.Terminated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Terminated => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Terminated += x, x => _data.Terminated -= x); } /// @@ -1552,11 +2338,23 @@ namespace Tizen.Applications /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Paused => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Paused += x, x => _data.Paused -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Paused => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Paused += x, x => _data.Paused -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Resumed => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Resumed += x, x => _data.Resumed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Resumed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Resumed += x, x => _data.Resumed -= x); } /// @@ -1577,7 +2375,13 @@ namespace Tizen.Applications /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Changed => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Applications.PreferenceChangedEventArgs>(x => _data.Changed += x, x => _data.Changed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Applications.PreferenceChangedEventArgs)> Changed => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Applications.PreferenceChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Applications.PreferenceChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Changed += x, x => _data.Changed -= x); } /// @@ -1598,23 +2402,53 @@ namespace Tizen.Applications /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable AmbientChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Applications.AmbientEventArgs>(x => _data.AmbientChanged += x, x => _data.AmbientChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Applications.AmbientEventArgs)> AmbientChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Applications.AmbientEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Applications.AmbientEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.AmbientChanged += x, x => _data.AmbientChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable AmbientTick => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Applications.TimeEventArgs>(x => _data.AmbientTick += x, x => _data.AmbientTick -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Applications.TimeEventArgs)> AmbientTick => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Applications.TimeEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Applications.TimeEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.AmbientTick += x, x => _data.AmbientTick -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Paused => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Paused += x, x => _data.Paused -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Paused => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Paused += x, x => _data.Paused -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Resumed => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Resumed += x, x => _data.Resumed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Resumed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Resumed += x, x => _data.Resumed -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable TimeTick => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Applications.TimeEventArgs>(x => _data.TimeTick += x, x => _data.TimeTick -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Applications.TimeEventArgs)> TimeTick => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Applications.TimeEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Applications.TimeEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.TimeTick += x, x => _data.TimeTick -= x); } /// @@ -1635,19 +2469,43 @@ namespace Tizen.Applications /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Created => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Applications.WidgetLifecycleEventArgs>(x => _data.Created += x, x => _data.Created -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Applications.WidgetLifecycleEventArgs)> Created => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Applications.WidgetLifecycleEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Applications.WidgetLifecycleEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Created += x, x => _data.Created -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Destroyed => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Applications.WidgetLifecycleEventArgs>(x => _data.Destroyed += x, x => _data.Destroyed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Applications.WidgetLifecycleEventArgs)> Destroyed => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Applications.WidgetLifecycleEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Applications.WidgetLifecycleEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Destroyed += x, x => _data.Destroyed -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Paused => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Applications.WidgetLifecycleEventArgs>(x => _data.Paused += x, x => _data.Paused -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Applications.WidgetLifecycleEventArgs)> Paused => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Applications.WidgetLifecycleEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Applications.WidgetLifecycleEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Paused += x, x => _data.Paused -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Resumed => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Applications.WidgetLifecycleEventArgs>(x => _data.Resumed += x, x => _data.Resumed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Applications.WidgetLifecycleEventArgs)> Resumed => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Applications.WidgetLifecycleEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Applications.WidgetLifecycleEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Resumed += x, x => _data.Resumed -= x); } } @@ -1682,11 +2540,23 @@ namespace Tizen.Applications.AttachPanel /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable EventChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Applications.AttachPanel.StateEventArgs>(x => _data.EventChanged += x, x => _data.EventChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Applications.AttachPanel.StateEventArgs)> EventChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Applications.AttachPanel.StateEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Applications.AttachPanel.StateEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.EventChanged += x, x => _data.EventChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ResultCallback => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Applications.AttachPanel.ResultEventArgs>(x => _data.ResultCallback += x, x => _data.ResultCallback -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Applications.AttachPanel.ResultEventArgs)> ResultCallback => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Applications.AttachPanel.ResultEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Applications.AttachPanel.ResultEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ResultCallback += x, x => _data.ResultCallback -= x); } } @@ -1725,7 +2595,13 @@ namespace Tizen.Applications.Messages /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable MessageReceived => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Applications.Messages.MessageReceivedEventArgs>(x => _data.MessageReceived += x, x => _data.MessageReceived -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Applications.Messages.MessageReceivedEventArgs)> MessageReceived => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Applications.Messages.MessageReceivedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Applications.Messages.MessageReceivedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.MessageReceived += x, x => _data.MessageReceived -= x); } /// @@ -1746,7 +2622,13 @@ namespace Tizen.Applications.Messages /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable RemotePortStateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Applications.Messages.RemotePortStateChangedEventArgs>(x => _data.RemotePortStateChanged += x, x => _data.RemotePortStateChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Applications.Messages.RemotePortStateChangedEventArgs)> RemotePortStateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Applications.Messages.RemotePortStateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Applications.Messages.RemotePortStateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.RemotePortStateChanged += x, x => _data.RemotePortStateChanged -= x); } } @@ -1781,11 +2663,23 @@ namespace Tizen.Content.Download /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ProgressChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Content.Download.ProgressChangedEventArgs>(x => _data.ProgressChanged += x, x => _data.ProgressChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Content.Download.ProgressChangedEventArgs)> ProgressChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Content.Download.ProgressChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Content.Download.ProgressChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ProgressChanged += x, x => _data.ProgressChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable StateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Content.Download.StateChangedEventArgs>(x => _data.StateChanged += x, x => _data.StateChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Content.Download.StateChangedEventArgs)> StateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Content.Download.StateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Content.Download.StateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.StateChanged += x, x => _data.StateChanged -= x); } } @@ -1824,7 +2718,13 @@ namespace Tizen.Location /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable SatelliteStatusUpdated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Location.SatelliteStatusChangedEventArgs>(x => _data.SatelliteStatusUpdated += x, x => _data.SatelliteStatusUpdated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Location.SatelliteStatusChangedEventArgs)> SatelliteStatusUpdated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Location.SatelliteStatusChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Location.SatelliteStatusChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.SatelliteStatusUpdated += x, x => _data.SatelliteStatusUpdated -= x); } /// @@ -1845,23 +2745,53 @@ namespace Tizen.Location /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DistanceBasedLocationChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Location.LocationChangedEventArgs>(x => _data.DistanceBasedLocationChanged += x, x => _data.DistanceBasedLocationChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Location.LocationChangedEventArgs)> DistanceBasedLocationChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Location.LocationChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Location.LocationChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DistanceBasedLocationChanged += x, x => _data.DistanceBasedLocationChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable LocationChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Location.LocationChangedEventArgs>(x => _data.LocationChanged += x, x => _data.LocationChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Location.LocationChangedEventArgs)> LocationChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Location.LocationChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Location.LocationChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.LocationChanged += x, x => _data.LocationChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ServiceStateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Location.ServiceStateChangedEventArgs>(x => _data.ServiceStateChanged += x, x => _data.ServiceStateChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Location.ServiceStateChangedEventArgs)> ServiceStateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Location.ServiceStateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Location.ServiceStateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ServiceStateChanged += x, x => _data.ServiceStateChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable SettingChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Location.SettingChangedEventArgs>(x => _data.SettingChanged += x, x => _data.SettingChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Location.SettingChangedEventArgs)> SettingChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Location.SettingChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Location.SettingChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.SettingChanged += x, x => _data.SettingChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ZoneChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Location.ZoneChangedEventArgs>(x => _data.ZoneChanged += x, x => _data.ZoneChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Location.ZoneChangedEventArgs)> ZoneChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Location.ZoneChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Location.ZoneChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ZoneChanged += x, x => _data.ZoneChanged -= x); } } @@ -1896,15 +2826,33 @@ namespace Tizen.Location.Geofence /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable GeofenceEventChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Location.Geofence.GeofenceResponseEventArgs>(x => _data.GeofenceEventChanged += x, x => _data.GeofenceEventChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Location.Geofence.GeofenceResponseEventArgs)> GeofenceEventChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Location.Geofence.GeofenceResponseEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Location.Geofence.GeofenceResponseEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.GeofenceEventChanged += x, x => _data.GeofenceEventChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ProximityChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Location.Geofence.ProximityStateEventArgs>(x => _data.ProximityChanged += x, x => _data.ProximityChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Location.Geofence.ProximityStateEventArgs)> ProximityChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Location.Geofence.ProximityStateEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Location.Geofence.ProximityStateEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ProximityChanged += x, x => _data.ProximityChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable StateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Location.Geofence.GeofenceStateEventArgs>(x => _data.StateChanged += x, x => _data.StateChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Location.Geofence.GeofenceStateEventArgs)> StateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Location.Geofence.GeofenceStateEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Location.Geofence.GeofenceStateEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.StateChanged += x, x => _data.StateChanged -= x); } } @@ -1951,35 +2899,83 @@ namespace Tizen.Maps /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Maps.MapGestureEventArgs>(x => _data.Clicked += x, x => _data.Clicked -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Maps.MapGestureEventArgs)> Clicked => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Maps.MapGestureEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Maps.MapGestureEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Clicked += x, x => _data.Clicked -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DoubleClicked => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Maps.MapGestureEventArgs>(x => _data.DoubleClicked += x, x => _data.DoubleClicked -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Maps.MapGestureEventArgs)> DoubleClicked => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Maps.MapGestureEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Maps.MapGestureEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DoubleClicked += x, x => _data.DoubleClicked -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable LongPressed => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Maps.MapGestureEventArgs>(x => _data.LongPressed += x, x => _data.LongPressed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Maps.MapGestureEventArgs)> LongPressed => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Maps.MapGestureEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Maps.MapGestureEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.LongPressed += x, x => _data.LongPressed -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Scrolled => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Maps.MapGestureEventArgs>(x => _data.Scrolled += x, x => _data.Scrolled -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Maps.MapGestureEventArgs)> Scrolled => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Maps.MapGestureEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Maps.MapGestureEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Scrolled += x, x => _data.Scrolled -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable TwoFingerClicked => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Maps.MapGestureEventArgs>(x => _data.TwoFingerClicked += x, x => _data.TwoFingerClicked -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Maps.MapGestureEventArgs)> TwoFingerClicked => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Maps.MapGestureEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Maps.MapGestureEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.TwoFingerClicked += x, x => _data.TwoFingerClicked -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable TwoFingerRotated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Maps.MapGestureEventArgs>(x => _data.TwoFingerRotated += x, x => _data.TwoFingerRotated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Maps.MapGestureEventArgs)> TwoFingerRotated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Maps.MapGestureEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Maps.MapGestureEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.TwoFingerRotated += x, x => _data.TwoFingerRotated -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable TwoFingerZoomed => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Maps.MapGestureEventArgs>(x => _data.TwoFingerZoomed += x, x => _data.TwoFingerZoomed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Maps.MapGestureEventArgs)> TwoFingerZoomed => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Maps.MapGestureEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Maps.MapGestureEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.TwoFingerZoomed += x, x => _data.TwoFingerZoomed -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ViewReady => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.ViewReady += x, x => _data.ViewReady -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> ViewReady => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ViewReady += x, x => _data.ViewReady -= x); } /// @@ -2000,7 +2996,13 @@ namespace Tizen.Maps /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Clicked += x, x => _data.Clicked -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Clicked => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Clicked += x, x => _data.Clicked -= x); } /// @@ -2021,7 +3023,13 @@ namespace Tizen.Maps /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Clicked += x, x => _data.Clicked -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Clicked => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Clicked += x, x => _data.Clicked -= x); } /// @@ -2042,7 +3050,13 @@ namespace Tizen.Maps /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Clicked += x, x => _data.Clicked -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Clicked => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Clicked += x, x => _data.Clicked -= x); } } @@ -2117,7 +3131,13 @@ namespace Tizen.Multimedia /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DataAvailable => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.AudioDataAvailableEventArgs>(x => _data.DataAvailable += x, x => _data.DataAvailable -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.AudioDataAvailableEventArgs)> DataAvailable => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.AudioDataAvailableEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.AudioDataAvailableEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DataAvailable += x, x => _data.DataAvailable -= x); } /// @@ -2138,7 +3158,13 @@ namespace Tizen.Multimedia /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable StateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.AudioIOStateChangedEventArgs>(x => _data.StateChanged += x, x => _data.StateChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.AudioIOStateChangedEventArgs)> StateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.AudioIOStateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.AudioIOStateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.StateChanged += x, x => _data.StateChanged -= x); } /// @@ -2159,11 +3185,23 @@ namespace Tizen.Multimedia /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable BufferAvailable => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.AudioPlaybackBufferAvailableEventArgs>(x => _data.BufferAvailable += x, x => _data.BufferAvailable -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.AudioPlaybackBufferAvailableEventArgs)> BufferAvailable => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.AudioPlaybackBufferAvailableEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.AudioPlaybackBufferAvailableEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.BufferAvailable += x, x => _data.BufferAvailable -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable StateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.AudioIOStateChangedEventArgs>(x => _data.StateChanged += x, x => _data.StateChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.AudioIOStateChangedEventArgs)> StateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.AudioIOStateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.AudioIOStateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.StateChanged += x, x => _data.StateChanged -= x); } /// @@ -2184,7 +3222,13 @@ namespace Tizen.Multimedia /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable FocusStateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.AudioStreamPolicyFocusStateChangedEventArgs>(x => _data.FocusStateChanged += x, x => _data.FocusStateChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.AudioStreamPolicyFocusStateChangedEventArgs)> FocusStateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.AudioStreamPolicyFocusStateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.AudioStreamPolicyFocusStateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.FocusStateChanged += x, x => _data.FocusStateChanged -= x); } /// @@ -2205,7 +3249,13 @@ namespace Tizen.Multimedia /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Changed => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.VolumeChangedEventArgs>(x => _data.Changed += x, x => _data.Changed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.VolumeChangedEventArgs)> Changed => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.VolumeChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.VolumeChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Changed += x, x => _data.Changed -= x); } /// @@ -2226,47 +3276,113 @@ namespace Tizen.Multimedia /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable CaptureCompleted => global::System.Reactive.Linq.Observable.FromEventPattern, global::System.EventArgs>(x => _data.CaptureCompleted += x, x => _data.CaptureCompleted -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> CaptureCompleted => global::System.Reactive.Linq.Observable.FromEvent, (object, global::System.EventArgs)>(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.CaptureCompleted += x, x => _data.CaptureCompleted -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Capturing => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.CameraCapturingEventArgs>(x => _data.Capturing += x, x => _data.Capturing -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.CameraCapturingEventArgs)> Capturing => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.CameraCapturingEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.CameraCapturingEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Capturing += x, x => _data.Capturing -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ErrorOccurred => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.CameraErrorOccurredEventArgs>(x => _data.ErrorOccurred += x, x => _data.ErrorOccurred -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.CameraErrorOccurredEventArgs)> ErrorOccurred => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.CameraErrorOccurredEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.CameraErrorOccurredEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ErrorOccurred += x, x => _data.ErrorOccurred -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable FaceDetected => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.FaceDetectedEventArgs>(x => _data.FaceDetected += x, x => _data.FaceDetected -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.FaceDetectedEventArgs)> FaceDetected => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.FaceDetectedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.FaceDetectedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.FaceDetected += x, x => _data.FaceDetected -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable FocusStateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.CameraFocusStateChangedEventArgs>(x => _data.FocusStateChanged += x, x => _data.FocusStateChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.CameraFocusStateChangedEventArgs)> FocusStateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.CameraFocusStateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.CameraFocusStateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.FocusStateChanged += x, x => _data.FocusStateChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable HdrCaptureProgress => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.HdrCaptureProgressEventArgs>(x => _data.HdrCaptureProgress += x, x => _data.HdrCaptureProgress -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.HdrCaptureProgressEventArgs)> HdrCaptureProgress => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.HdrCaptureProgressEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.HdrCaptureProgressEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.HdrCaptureProgress += x, x => _data.HdrCaptureProgress -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Interrupted => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.CameraInterruptedEventArgs>(x => _data.Interrupted += x, x => _data.Interrupted -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.CameraInterruptedEventArgs)> Interrupted => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.CameraInterruptedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.CameraInterruptedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Interrupted += x, x => _data.Interrupted -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable InterruptStarted => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.CameraInterruptStartedEventArgs>(x => _data.InterruptStarted += x, x => _data.InterruptStarted -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.CameraInterruptStartedEventArgs)> InterruptStarted => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.CameraInterruptStartedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.CameraInterruptStartedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.InterruptStarted += x, x => _data.InterruptStarted -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable MediaPacketPreview => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.MediaPacketPreviewEventArgs>(x => _data.MediaPacketPreview += x, x => _data.MediaPacketPreview -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.MediaPacketPreviewEventArgs)> MediaPacketPreview => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.MediaPacketPreviewEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.MediaPacketPreviewEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.MediaPacketPreview += x, x => _data.MediaPacketPreview -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Preview => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.PreviewEventArgs>(x => _data.Preview += x, x => _data.Preview -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.PreviewEventArgs)> Preview => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.PreviewEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.PreviewEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Preview += x, x => _data.Preview -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable StateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.CameraStateChangedEventArgs>(x => _data.StateChanged += x, x => _data.StateChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.CameraStateChangedEventArgs)> StateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.CameraStateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.CameraStateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.StateChanged += x, x => _data.StateChanged -= x); } /// @@ -2287,11 +3403,23 @@ namespace Tizen.Multimedia /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable BufferStatusChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.MediaStreamBufferStatusChangedEventArgs>(x => _data.BufferStatusChanged += x, x => _data.BufferStatusChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.MediaStreamBufferStatusChangedEventArgs)> BufferStatusChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.MediaStreamBufferStatusChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.MediaStreamBufferStatusChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.BufferStatusChanged += x, x => _data.BufferStatusChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable SeekingOccurred => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.MediaStreamSeekingOccurredEventArgs>(x => _data.SeekingOccurred += x, x => _data.SeekingOccurred -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.MediaStreamSeekingOccurredEventArgs)> SeekingOccurred => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.MediaStreamSeekingOccurredEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.MediaStreamSeekingOccurredEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.SeekingOccurred += x, x => _data.SeekingOccurred -= x); } /// @@ -2312,31 +3440,73 @@ namespace Tizen.Multimedia /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable BufferingProgressChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.BufferingProgressChangedEventArgs>(x => _data.BufferingProgressChanged += x, x => _data.BufferingProgressChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.BufferingProgressChangedEventArgs)> BufferingProgressChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.BufferingProgressChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.BufferingProgressChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.BufferingProgressChanged += x, x => _data.BufferingProgressChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ErrorOccurred => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.PlayerErrorOccurredEventArgs>(x => _data.ErrorOccurred += x, x => _data.ErrorOccurred -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.PlayerErrorOccurredEventArgs)> ErrorOccurred => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.PlayerErrorOccurredEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.PlayerErrorOccurredEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ErrorOccurred += x, x => _data.ErrorOccurred -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable PlaybackCompleted => global::System.Reactive.Linq.Observable.FromEventPattern, global::System.EventArgs>(x => _data.PlaybackCompleted += x, x => _data.PlaybackCompleted -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> PlaybackCompleted => global::System.Reactive.Linq.Observable.FromEvent, (object, global::System.EventArgs)>(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.PlaybackCompleted += x, x => _data.PlaybackCompleted -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable PlaybackInterrupted => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.PlaybackInterruptedEventArgs>(x => _data.PlaybackInterrupted += x, x => _data.PlaybackInterrupted -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.PlaybackInterruptedEventArgs)> PlaybackInterrupted => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.PlaybackInterruptedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.PlaybackInterruptedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.PlaybackInterrupted += x, x => _data.PlaybackInterrupted -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable SubtitleUpdated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.SubtitleUpdatedEventArgs>(x => _data.SubtitleUpdated += x, x => _data.SubtitleUpdated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.SubtitleUpdatedEventArgs)> SubtitleUpdated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.SubtitleUpdatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.SubtitleUpdatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.SubtitleUpdated += x, x => _data.SubtitleUpdated -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable VideoFrameDecoded => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.VideoFrameDecodedEventArgs>(x => _data.VideoFrameDecoded += x, x => _data.VideoFrameDecoded -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.VideoFrameDecodedEventArgs)> VideoFrameDecoded => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.VideoFrameDecodedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.VideoFrameDecodedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.VideoFrameDecoded += x, x => _data.VideoFrameDecoded -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable VideoStreamChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.VideoStreamChangedEventArgs>(x => _data.VideoStreamChanged += x, x => _data.VideoStreamChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.VideoStreamChangedEventArgs)> VideoStreamChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.VideoStreamChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.VideoStreamChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.VideoStreamChanged += x, x => _data.VideoStreamChanged -= x); } /// @@ -2357,19 +3527,43 @@ namespace Tizen.Multimedia /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Interrupted => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.RadioInterruptedEventArgs>(x => _data.Interrupted += x, x => _data.Interrupted -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.RadioInterruptedEventArgs)> Interrupted => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.RadioInterruptedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.RadioInterruptedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Interrupted += x, x => _data.Interrupted -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ScanCompleted => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.ScanCompleted += x, x => _data.ScanCompleted -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> ScanCompleted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ScanCompleted += x, x => _data.ScanCompleted -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ScanStopped => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.ScanStopped += x, x => _data.ScanStopped -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> ScanStopped => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ScanStopped += x, x => _data.ScanStopped -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ScanUpdated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.ScanUpdatedEventArgs>(x => _data.ScanUpdated += x, x => _data.ScanUpdated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.ScanUpdatedEventArgs)> ScanUpdated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.ScanUpdatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.ScanUpdatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ScanUpdated += x, x => _data.ScanUpdated -= x); } /// @@ -2390,35 +3584,83 @@ namespace Tizen.Multimedia /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable AudioStreamStoring => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.AudioStreamStoringEventArgs>(x => _data.AudioStreamStoring += x, x => _data.AudioStreamStoring -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.AudioStreamStoringEventArgs)> AudioStreamStoring => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.AudioStreamStoringEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.AudioStreamStoringEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.AudioStreamStoring += x, x => _data.AudioStreamStoring -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ErrorOccurred => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.RecordingErrorOccurredEventArgs>(x => _data.ErrorOccurred += x, x => _data.ErrorOccurred -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.RecordingErrorOccurredEventArgs)> ErrorOccurred => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.RecordingErrorOccurredEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.RecordingErrorOccurredEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ErrorOccurred += x, x => _data.ErrorOccurred -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Interrupted => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.RecorderInterruptedEventArgs>(x => _data.Interrupted += x, x => _data.Interrupted -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.RecorderInterruptedEventArgs)> Interrupted => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.RecorderInterruptedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.RecorderInterruptedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Interrupted += x, x => _data.Interrupted -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Interrupting => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.RecorderInterruptingEventArgs>(x => _data.Interrupting += x, x => _data.Interrupting -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.RecorderInterruptingEventArgs)> Interrupting => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.RecorderInterruptingEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.RecorderInterruptingEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Interrupting += x, x => _data.Interrupting -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable MuxedStreamDelivered => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.MuxedStreamDeliveredEventArgs>(x => _data.MuxedStreamDelivered += x, x => _data.MuxedStreamDelivered -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.MuxedStreamDeliveredEventArgs)> MuxedStreamDelivered => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.MuxedStreamDeliveredEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.MuxedStreamDeliveredEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.MuxedStreamDelivered += x, x => _data.MuxedStreamDelivered -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable RecordingLimitReached => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.RecordingLimitReachedEventArgs>(x => _data.RecordingLimitReached += x, x => _data.RecordingLimitReached -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.RecordingLimitReachedEventArgs)> RecordingLimitReached => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.RecordingLimitReachedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.RecordingLimitReachedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.RecordingLimitReached += x, x => _data.RecordingLimitReached -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable RecordingStatusChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.RecordingStatusChangedEventArgs>(x => _data.RecordingStatusChanged += x, x => _data.RecordingStatusChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.RecordingStatusChangedEventArgs)> RecordingStatusChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.RecordingStatusChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.RecordingStatusChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.RecordingStatusChanged += x, x => _data.RecordingStatusChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable StateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.RecorderStateChangedEventArgs>(x => _data.StateChanged += x, x => _data.StateChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.RecorderStateChangedEventArgs)> StateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.RecorderStateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.RecorderStateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.StateChanged += x, x => _data.StateChanged -= x); } /// @@ -2439,23 +3681,53 @@ namespace Tizen.Multimedia /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable BufferConsumed => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.StreamRecorderBufferConsumedEventArgs>(x => _data.BufferConsumed += x, x => _data.BufferConsumed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.StreamRecorderBufferConsumedEventArgs)> BufferConsumed => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.StreamRecorderBufferConsumedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.StreamRecorderBufferConsumedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.BufferConsumed += x, x => _data.BufferConsumed -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ErrorOccurred => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.StreamRecorderErrorOccurredEventArgs>(x => _data.ErrorOccurred += x, x => _data.ErrorOccurred -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.StreamRecorderErrorOccurredEventArgs)> ErrorOccurred => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.StreamRecorderErrorOccurredEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.StreamRecorderErrorOccurredEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ErrorOccurred += x, x => _data.ErrorOccurred -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable RecordingLimitReached => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.RecordingLimitReachedEventArgs>(x => _data.RecordingLimitReached += x, x => _data.RecordingLimitReached -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.RecordingLimitReachedEventArgs)> RecordingLimitReached => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.RecordingLimitReachedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.RecordingLimitReachedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.RecordingLimitReached += x, x => _data.RecordingLimitReached -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable RecordingStatusChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.RecordingStatusChangedEventArgs>(x => _data.RecordingStatusChanged += x, x => _data.RecordingStatusChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.RecordingStatusChangedEventArgs)> RecordingStatusChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.RecordingStatusChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.RecordingStatusChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.RecordingStatusChanged += x, x => _data.RecordingStatusChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable StateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.StreamRecorderStateChangedEventArgs>(x => _data.StateChanged += x, x => _data.StateChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.StreamRecorderStateChangedEventArgs)> StateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.StreamRecorderStateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.StreamRecorderStateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.StateChanged += x, x => _data.StateChanged -= x); } } @@ -2490,23 +3762,53 @@ namespace Tizen.Multimedia.MediaCodec /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable BufferStatusChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.MediaCodec.BufferStatusChangedEventArgs>(x => _data.BufferStatusChanged += x, x => _data.BufferStatusChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.MediaCodec.BufferStatusChangedEventArgs)> BufferStatusChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.MediaCodec.BufferStatusChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.MediaCodec.BufferStatusChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.BufferStatusChanged += x, x => _data.BufferStatusChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable EosReached => global::System.Reactive.Linq.Observable.FromEventPattern, global::System.EventArgs>(x => _data.EosReached += x, x => _data.EosReached -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> EosReached => global::System.Reactive.Linq.Observable.FromEvent, (object, global::System.EventArgs)>(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.EosReached += x, x => _data.EosReached -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ErrorOccurred => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.MediaCodec.MediaCodecErrorOccurredEventArgs>(x => _data.ErrorOccurred += x, x => _data.ErrorOccurred -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.MediaCodec.MediaCodecErrorOccurredEventArgs)> ErrorOccurred => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.MediaCodec.MediaCodecErrorOccurredEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.MediaCodec.MediaCodecErrorOccurredEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ErrorOccurred += x, x => _data.ErrorOccurred -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable InputProcessed => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.MediaCodec.InputProcessedEventArgs>(x => _data.InputProcessed += x, x => _data.InputProcessed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.MediaCodec.InputProcessedEventArgs)> InputProcessed => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.MediaCodec.InputProcessedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.MediaCodec.InputProcessedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.InputProcessed += x, x => _data.InputProcessed -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable OutputAvailable => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.MediaCodec.OutputAvailableEventArgs>(x => _data.OutputAvailable += x, x => _data.OutputAvailable -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.MediaCodec.OutputAvailableEventArgs)> OutputAvailable => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.MediaCodec.OutputAvailableEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.MediaCodec.OutputAvailableEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.OutputAvailable += x, x => _data.OutputAvailable -= x); } } @@ -2549,23 +3851,53 @@ namespace Tizen.Multimedia.Remoting /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable MetadataUpdated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.Remoting.MetadataUpdatedEventArgs>(x => _data.MetadataUpdated += x, x => _data.MetadataUpdated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.Remoting.MetadataUpdatedEventArgs)> MetadataUpdated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.Remoting.MetadataUpdatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.Remoting.MetadataUpdatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.MetadataUpdated += x, x => _data.MetadataUpdated -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable PlaybackStateUpdated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.Remoting.PlaybackStateUpdatedEventArgs>(x => _data.PlaybackStateUpdated += x, x => _data.PlaybackStateUpdated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.Remoting.PlaybackStateUpdatedEventArgs)> PlaybackStateUpdated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.Remoting.PlaybackStateUpdatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.Remoting.PlaybackStateUpdatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.PlaybackStateUpdated += x, x => _data.PlaybackStateUpdated -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable RepeatModeUpdated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.Remoting.RepeatModeUpdatedEventArgs>(x => _data.RepeatModeUpdated += x, x => _data.RepeatModeUpdated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.Remoting.RepeatModeUpdatedEventArgs)> RepeatModeUpdated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.Remoting.RepeatModeUpdatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.Remoting.RepeatModeUpdatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.RepeatModeUpdated += x, x => _data.RepeatModeUpdated -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ServerStopped => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.ServerStopped += x, x => _data.ServerStopped -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> ServerStopped => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ServerStopped += x, x => _data.ServerStopped -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ShuffleModeUpdated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.Remoting.ShuffleModeUpdatedEventArgs>(x => _data.ShuffleModeUpdated += x, x => _data.ShuffleModeUpdated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.Remoting.ShuffleModeUpdatedEventArgs)> ShuffleModeUpdated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.Remoting.ShuffleModeUpdatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.Remoting.ShuffleModeUpdatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ShuffleModeUpdated += x, x => _data.ShuffleModeUpdated -= x); } /// @@ -2586,11 +3918,23 @@ namespace Tizen.Multimedia.Remoting /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ServerStarted => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.Remoting.MediaControlServerStartedEventArgs>(x => _data.ServerStarted += x, x => _data.ServerStarted -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.Remoting.MediaControlServerStartedEventArgs)> ServerStarted => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.Remoting.MediaControlServerStartedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.Remoting.MediaControlServerStartedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ServerStarted += x, x => _data.ServerStarted -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ServerStopped => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.Remoting.MediaControlServerStoppedEventArgs>(x => _data.ServerStopped += x, x => _data.ServerStopped -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.Remoting.MediaControlServerStoppedEventArgs)> ServerStopped => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.Remoting.MediaControlServerStoppedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.Remoting.MediaControlServerStoppedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ServerStopped += x, x => _data.ServerStopped -= x); } /// @@ -2611,11 +3955,23 @@ namespace Tizen.Multimedia.Remoting /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ErrorOccurred => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.Remoting.ScreenMirroringErrorOccurredEventArgs>(x => _data.ErrorOccurred += x, x => _data.ErrorOccurred -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.Remoting.ScreenMirroringErrorOccurredEventArgs)> ErrorOccurred => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.Remoting.ScreenMirroringErrorOccurredEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.Remoting.ScreenMirroringErrorOccurredEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ErrorOccurred += x, x => _data.ErrorOccurred -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable StateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.Remoting.ScreenMirroringStateChangedEventArgs>(x => _data.StateChanged += x, x => _data.StateChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.Remoting.ScreenMirroringStateChangedEventArgs)> StateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.Remoting.ScreenMirroringStateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.Remoting.ScreenMirroringStateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.StateChanged += x, x => _data.StateChanged -= x); } } @@ -2658,7 +4014,13 @@ namespace Tizen.Multimedia.Vision /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Detected => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.Vision.MovementDetectedEventArgs>(x => _data.Detected += x, x => _data.Detected -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.Vision.MovementDetectedEventArgs)> Detected => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.Vision.MovementDetectedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.Vision.MovementDetectedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Detected += x, x => _data.Detected -= x); } /// @@ -2679,7 +4041,13 @@ namespace Tizen.Multimedia.Vision /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Detected => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.Vision.PersonAppearanceDetectedEventArgs>(x => _data.Detected += x, x => _data.Detected -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.Vision.PersonAppearanceDetectedEventArgs)> Detected => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.Vision.PersonAppearanceDetectedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.Vision.PersonAppearanceDetectedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Detected += x, x => _data.Detected -= x); } /// @@ -2700,7 +4068,13 @@ namespace Tizen.Multimedia.Vision /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Recognized => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.Vision.PersonRecognizedEventArgs>(x => _data.Recognized += x, x => _data.Recognized -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Multimedia.Vision.PersonRecognizedEventArgs)> Recognized => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.Vision.PersonRecognizedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.Vision.PersonRecognizedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Recognized += x, x => _data.Recognized -= x); } } @@ -2783,7 +4157,13 @@ namespace Tizen.Network.Bluetooth /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable AudioConnectionStateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Bluetooth.AudioConnectionStateChangedEventArgs>(x => _data.AudioConnectionStateChanged += x, x => _data.AudioConnectionStateChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Network.Bluetooth.AudioConnectionStateChangedEventArgs)> AudioConnectionStateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Bluetooth.AudioConnectionStateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Bluetooth.AudioConnectionStateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.AudioConnectionStateChanged += x, x => _data.AudioConnectionStateChanged -= x); } /// @@ -2804,23 +4184,53 @@ namespace Tizen.Network.Bluetooth /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable EqualizerStateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Bluetooth.EqualizerStateChangedEventArgs>(x => _data.EqualizerStateChanged += x, x => _data.EqualizerStateChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Network.Bluetooth.EqualizerStateChangedEventArgs)> EqualizerStateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Bluetooth.EqualizerStateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Bluetooth.EqualizerStateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.EqualizerStateChanged += x, x => _data.EqualizerStateChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable RepeatModeChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Bluetooth.RepeatModeChangedEventArgs>(x => _data.RepeatModeChanged += x, x => _data.RepeatModeChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Network.Bluetooth.RepeatModeChangedEventArgs)> RepeatModeChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Bluetooth.RepeatModeChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Bluetooth.RepeatModeChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.RepeatModeChanged += x, x => _data.RepeatModeChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ScanModeChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Bluetooth.ScanModeChangedEventArgs>(x => _data.ScanModeChanged += x, x => _data.ScanModeChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Network.Bluetooth.ScanModeChangedEventArgs)> ScanModeChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Bluetooth.ScanModeChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Bluetooth.ScanModeChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ScanModeChanged += x, x => _data.ScanModeChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ShuffleModeChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Bluetooth.ShuffleModeChangedeventArgs>(x => _data.ShuffleModeChanged += x, x => _data.ShuffleModeChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Network.Bluetooth.ShuffleModeChangedeventArgs)> ShuffleModeChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Bluetooth.ShuffleModeChangedeventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Bluetooth.ShuffleModeChangedeventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ShuffleModeChanged += x, x => _data.ShuffleModeChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable TargetConnectionStateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Bluetooth.TargetConnectionStateChangedEventArgs>(x => _data.TargetConnectionStateChanged += x, x => _data.TargetConnectionStateChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Network.Bluetooth.TargetConnectionStateChangedEventArgs)> TargetConnectionStateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Bluetooth.TargetConnectionStateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Bluetooth.TargetConnectionStateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.TargetConnectionStateChanged += x, x => _data.TargetConnectionStateChanged -= x); } /// @@ -2841,23 +4251,53 @@ namespace Tizen.Network.Bluetooth /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable AuthorizationChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Bluetooth.AuthorizationChangedEventArgs>(x => _data.AuthorizationChanged += x, x => _data.AuthorizationChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Network.Bluetooth.AuthorizationChangedEventArgs)> AuthorizationChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Bluetooth.AuthorizationChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Bluetooth.AuthorizationChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.AuthorizationChanged += x, x => _data.AuthorizationChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable BondCreated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Bluetooth.BondCreatedEventArgs>(x => _data.BondCreated += x, x => _data.BondCreated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Network.Bluetooth.BondCreatedEventArgs)> BondCreated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Bluetooth.BondCreatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Bluetooth.BondCreatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.BondCreated += x, x => _data.BondCreated -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable BondDestroyed => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Bluetooth.BondDestroyedEventArgs>(x => _data.BondDestroyed += x, x => _data.BondDestroyed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Network.Bluetooth.BondDestroyedEventArgs)> BondDestroyed => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Bluetooth.BondDestroyedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Bluetooth.BondDestroyedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.BondDestroyed += x, x => _data.BondDestroyed -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ConnectionStateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Bluetooth.DeviceConnectionStateChangedEventArgs>(x => _data.ConnectionStateChanged += x, x => _data.ConnectionStateChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Network.Bluetooth.DeviceConnectionStateChangedEventArgs)> ConnectionStateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Bluetooth.DeviceConnectionStateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Bluetooth.DeviceConnectionStateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ConnectionStateChanged += x, x => _data.ConnectionStateChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ServiceSearched => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Bluetooth.ServiceSearchedEventArgs>(x => _data.ServiceSearched += x, x => _data.ServiceSearched -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Network.Bluetooth.ServiceSearchedEventArgs)> ServiceSearched => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Bluetooth.ServiceSearchedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Bluetooth.ServiceSearchedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ServiceSearched += x, x => _data.ServiceSearched -= x); } /// @@ -2878,11 +4318,23 @@ namespace Tizen.Network.Bluetooth /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ReadRequested => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Bluetooth.ReadRequestedEventArgs>(x => _data.ReadRequested += x, x => _data.ReadRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Network.Bluetooth.ReadRequestedEventArgs)> ReadRequested => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Bluetooth.ReadRequestedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Bluetooth.ReadRequestedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ReadRequested += x, x => _data.ReadRequested -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable WriteRequested => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Bluetooth.WriteRequestedEventArgs>(x => _data.WriteRequested += x, x => _data.WriteRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Network.Bluetooth.WriteRequestedEventArgs)> WriteRequested => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Bluetooth.WriteRequestedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Bluetooth.WriteRequestedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.WriteRequested += x, x => _data.WriteRequested -= x); } /// @@ -2903,11 +4355,23 @@ namespace Tizen.Network.Bluetooth /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable NotificationStateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Bluetooth.NotificationStateChangedEventArg>(x => _data.NotificationStateChanged += x, x => _data.NotificationStateChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Network.Bluetooth.NotificationStateChangedEventArg)> NotificationStateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Bluetooth.NotificationStateChangedEventArg)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Bluetooth.NotificationStateChangedEventArg e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.NotificationStateChanged += x, x => _data.NotificationStateChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ValueChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Bluetooth.ValueChangedEventArgs>(x => _data.ValueChanged += x, x => _data.ValueChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Network.Bluetooth.ValueChangedEventArgs)> ValueChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Bluetooth.ValueChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Bluetooth.ValueChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ValueChanged += x, x => _data.ValueChanged -= x); } /// @@ -2928,7 +4392,13 @@ namespace Tizen.Network.Bluetooth /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable NotificationSent => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Bluetooth.NotificationSentEventArg>(x => _data.NotificationSent += x, x => _data.NotificationSent -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Network.Bluetooth.NotificationSentEventArg)> NotificationSent => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Bluetooth.NotificationSentEventArg)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Bluetooth.NotificationSentEventArg e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.NotificationSent += x, x => _data.NotificationSent -= x); } /// @@ -2949,7 +4419,13 @@ namespace Tizen.Network.Bluetooth /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable HidConnectionStateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Bluetooth.HidConnectionStateChangedEventArgs>(x => _data.HidConnectionStateChanged += x, x => _data.HidConnectionStateChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Network.Bluetooth.HidConnectionStateChangedEventArgs)> HidConnectionStateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Bluetooth.HidConnectionStateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Bluetooth.HidConnectionStateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.HidConnectionStateChanged += x, x => _data.HidConnectionStateChanged -= x); } /// @@ -2970,7 +4446,13 @@ namespace Tizen.Network.Bluetooth /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable AdvertisingStateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Bluetooth.AdvertisingStateChangedEventArgs>(x => _data.AdvertisingStateChanged += x, x => _data.AdvertisingStateChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Network.Bluetooth.AdvertisingStateChangedEventArgs)> AdvertisingStateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Bluetooth.AdvertisingStateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Bluetooth.AdvertisingStateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.AdvertisingStateChanged += x, x => _data.AdvertisingStateChanged -= x); } /// @@ -2991,7 +4473,13 @@ namespace Tizen.Network.Bluetooth /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable GattConnectionStateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Bluetooth.GattConnectionStateChangedEventArgs>(x => _data.GattConnectionStateChanged += x, x => _data.GattConnectionStateChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Network.Bluetooth.GattConnectionStateChangedEventArgs)> GattConnectionStateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Bluetooth.GattConnectionStateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Bluetooth.GattConnectionStateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.GattConnectionStateChanged += x, x => _data.GattConnectionStateChanged -= x); } /// @@ -3012,15 +4500,33 @@ namespace Tizen.Network.Bluetooth /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable PushFinished => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Bluetooth.PushFinishedEventArgs>(x => _data.PushFinished += x, x => _data.PushFinished -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Network.Bluetooth.PushFinishedEventArgs)> PushFinished => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Bluetooth.PushFinishedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Bluetooth.PushFinishedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.PushFinished += x, x => _data.PushFinished -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable PushProgress => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Bluetooth.PushProgressEventArgs>(x => _data.PushProgress += x, x => _data.PushProgress -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Network.Bluetooth.PushProgressEventArgs)> PushProgress => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Bluetooth.PushProgressEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Bluetooth.PushProgressEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.PushProgress += x, x => _data.PushProgress -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable PushResponded => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Bluetooth.PushRespondedEventArgs>(x => _data.PushResponded += x, x => _data.PushResponded -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Network.Bluetooth.PushRespondedEventArgs)> PushResponded => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Bluetooth.PushRespondedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Bluetooth.PushRespondedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.PushResponded += x, x => _data.PushResponded -= x); } /// @@ -3041,15 +4547,33 @@ namespace Tizen.Network.Bluetooth /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ConnectionRequested => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Bluetooth.ConnectionRequestedEventArgs>(x => _data.ConnectionRequested += x, x => _data.ConnectionRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Network.Bluetooth.ConnectionRequestedEventArgs)> ConnectionRequested => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Bluetooth.ConnectionRequestedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Bluetooth.ConnectionRequestedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ConnectionRequested += x, x => _data.ConnectionRequested -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable TransferFinished => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Bluetooth.TransferFinishedEventArgs>(x => _data.TransferFinished += x, x => _data.TransferFinished -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Network.Bluetooth.TransferFinishedEventArgs)> TransferFinished => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Bluetooth.TransferFinishedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Bluetooth.TransferFinishedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.TransferFinished += x, x => _data.TransferFinished -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable TransferProgress => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Bluetooth.TransferProgressEventArgs>(x => _data.TransferProgress += x, x => _data.TransferProgress -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Network.Bluetooth.TransferProgressEventArgs)> TransferProgress => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Bluetooth.TransferProgressEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Bluetooth.TransferProgressEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.TransferProgress += x, x => _data.TransferProgress -= x); } /// @@ -3070,7 +4594,13 @@ namespace Tizen.Network.Bluetooth /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable AcceptStateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Bluetooth.AcceptStateChangedEventArgs>(x => _data.AcceptStateChanged += x, x => _data.AcceptStateChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Network.Bluetooth.AcceptStateChangedEventArgs)> AcceptStateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Bluetooth.AcceptStateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Bluetooth.AcceptStateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.AcceptStateChanged += x, x => _data.AcceptStateChanged -= x); } /// @@ -3091,11 +4621,23 @@ namespace Tizen.Network.Bluetooth /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ConnectionStateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Bluetooth.SocketConnectionStateChangedEventArgs>(x => _data.ConnectionStateChanged += x, x => _data.ConnectionStateChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Network.Bluetooth.SocketConnectionStateChangedEventArgs)> ConnectionStateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Bluetooth.SocketConnectionStateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Bluetooth.SocketConnectionStateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ConnectionStateChanged += x, x => _data.ConnectionStateChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DataReceived => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Bluetooth.SocketDataReceivedEventArgs>(x => _data.DataReceived += x, x => _data.DataReceived -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Network.Bluetooth.SocketDataReceivedEventArgs)> DataReceived => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Bluetooth.SocketDataReceivedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Bluetooth.SocketDataReceivedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DataReceived += x, x => _data.DataReceived -= x); } } @@ -3130,7 +4672,13 @@ namespace Tizen.Network.Connection /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ProfileStateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Connection.ProfileStateEventArgs>(x => _data.ProfileStateChanged += x, x => _data.ProfileStateChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Network.Connection.ProfileStateEventArgs)> ProfileStateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Connection.ProfileStateEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Connection.ProfileStateEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ProfileStateChanged += x, x => _data.ProfileStateChanged -= x); } } @@ -3165,15 +4713,33 @@ namespace Tizen.Network.IoTConnectivity /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable CacheUpdated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.IoTConnectivity.CacheUpdatedEventArgs>(x => _data.CacheUpdated += x, x => _data.CacheUpdated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Network.IoTConnectivity.CacheUpdatedEventArgs)> CacheUpdated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.IoTConnectivity.CacheUpdatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.IoTConnectivity.CacheUpdatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.CacheUpdated += x, x => _data.CacheUpdated -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ObserverNotified => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.IoTConnectivity.ObserverNotifiedEventArgs>(x => _data.ObserverNotified += x, x => _data.ObserverNotified -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Network.IoTConnectivity.ObserverNotifiedEventArgs)> ObserverNotified => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.IoTConnectivity.ObserverNotifiedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.IoTConnectivity.ObserverNotifiedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ObserverNotified += x, x => _data.ObserverNotified -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable StateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.IoTConnectivity.StateChangedEventArgs>(x => _data.StateChanged += x, x => _data.StateChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Network.IoTConnectivity.StateChangedEventArgs)> StateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.IoTConnectivity.StateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.IoTConnectivity.StateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.StateChanged += x, x => _data.StateChanged -= x); } } @@ -3220,19 +4786,43 @@ namespace Tizen.Network.Nfc /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable EseSecureElementTransactionEvent => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Nfc.SecureElementTranscationEventArgs>(x => _data.EseSecureElementTransactionEvent += x, x => _data.EseSecureElementTransactionEvent -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Network.Nfc.SecureElementTranscationEventArgs)> EseSecureElementTransactionEvent => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Nfc.SecureElementTranscationEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Nfc.SecureElementTranscationEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.EseSecureElementTransactionEvent += x, x => _data.EseSecureElementTransactionEvent -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable HostCardEmulationEvent => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Nfc.HostCardEmulationEventArgs>(x => _data.HostCardEmulationEvent += x, x => _data.HostCardEmulationEvent -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Network.Nfc.HostCardEmulationEventArgs)> HostCardEmulationEvent => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Nfc.HostCardEmulationEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Nfc.HostCardEmulationEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.HostCardEmulationEvent += x, x => _data.HostCardEmulationEvent -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable SecureElementEvent => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Nfc.SecureElementEventArgs>(x => _data.SecureElementEvent += x, x => _data.SecureElementEvent -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Network.Nfc.SecureElementEventArgs)> SecureElementEvent => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Nfc.SecureElementEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Nfc.SecureElementEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.SecureElementEvent += x, x => _data.SecureElementEvent -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable UiccSecureElementTransactionEvent => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Nfc.SecureElementTranscationEventArgs>(x => _data.UiccSecureElementTransactionEvent += x, x => _data.UiccSecureElementTransactionEvent -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Network.Nfc.SecureElementTranscationEventArgs)> UiccSecureElementTransactionEvent => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Nfc.SecureElementTranscationEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Nfc.SecureElementTranscationEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.UiccSecureElementTransactionEvent += x, x => _data.UiccSecureElementTransactionEvent -= x); } /// @@ -3253,7 +4843,13 @@ namespace Tizen.Network.Nfc /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable P2pDataReceived => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Nfc.P2pDataReceivedEventArgs>(x => _data.P2pDataReceived += x, x => _data.P2pDataReceived -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Network.Nfc.P2pDataReceivedEventArgs)> P2pDataReceived => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Nfc.P2pDataReceivedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Nfc.P2pDataReceivedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.P2pDataReceived += x, x => _data.P2pDataReceived -= x); } /// @@ -3274,7 +4870,13 @@ namespace Tizen.Network.Nfc /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable P2pTargetDiscovered => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Nfc.P2pTargetDiscoveredEventArgs>(x => _data.P2pTargetDiscovered += x, x => _data.P2pTargetDiscovered -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Network.Nfc.P2pTargetDiscoveredEventArgs)> P2pTargetDiscovered => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Nfc.P2pTargetDiscoveredEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Nfc.P2pTargetDiscoveredEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.P2pTargetDiscovered += x, x => _data.P2pTargetDiscovered -= x); } /// @@ -3295,7 +4897,13 @@ namespace Tizen.Network.Nfc /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable TagDiscovered => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Nfc.TagDiscoveredEventArgs>(x => _data.TagDiscovered += x, x => _data.TagDiscovered -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Network.Nfc.TagDiscoveredEventArgs)> TagDiscovered => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Nfc.TagDiscoveredEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Nfc.TagDiscoveredEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.TagDiscovered += x, x => _data.TagDiscovered -= x); } } @@ -3334,7 +4942,13 @@ namespace Tizen.Network.Nsd /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ServiceFound => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Nsd.DnssdServiceFoundEventArgs>(x => _data.ServiceFound += x, x => _data.ServiceFound -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Network.Nsd.DnssdServiceFoundEventArgs)> ServiceFound => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Nsd.DnssdServiceFoundEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Nsd.DnssdServiceFoundEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ServiceFound += x, x => _data.ServiceFound -= x); } /// @@ -3355,7 +4969,13 @@ namespace Tizen.Network.Nsd /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ServiceFound => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Nsd.SsdpServiceFoundEventArgs>(x => _data.ServiceFound += x, x => _data.ServiceFound -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Network.Nsd.SsdpServiceFoundEventArgs)> ServiceFound => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Nsd.SsdpServiceFoundEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Nsd.SsdpServiceFoundEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ServiceFound += x, x => _data.ServiceFound -= x); } } @@ -3390,15 +5010,33 @@ namespace Tizen.Network.WiFiDirect /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ConnectionStateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.WiFiDirect.ConnectionStateChangedEventArgs>(x => _data.ConnectionStateChanged += x, x => _data.ConnectionStateChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Network.WiFiDirect.ConnectionStateChangedEventArgs)> ConnectionStateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.WiFiDirect.ConnectionStateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.WiFiDirect.ConnectionStateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ConnectionStateChanged += x, x => _data.ConnectionStateChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable IpAddressAssigned => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.WiFiDirect.IpAddressAssignedEventArgs>(x => _data.IpAddressAssigned += x, x => _data.IpAddressAssigned -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Network.WiFiDirect.IpAddressAssignedEventArgs)> IpAddressAssigned => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.WiFiDirect.IpAddressAssignedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.WiFiDirect.IpAddressAssignedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.IpAddressAssigned += x, x => _data.IpAddressAssigned -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ServiceStateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.WiFiDirect.ServiceStateChangedEventArgs>(x => _data.ServiceStateChanged += x, x => _data.ServiceStateChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Network.WiFiDirect.ServiceStateChangedEventArgs)> ServiceStateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.WiFiDirect.ServiceStateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.WiFiDirect.ServiceStateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ServiceStateChanged += x, x => _data.ServiceStateChanged -= x); } } @@ -3473,11 +5111,23 @@ namespace Tizen.NUI /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Finished => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Finished += x, x => _data.Finished -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Finished => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Finished += x, x => _data.Finished -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ProgressReached => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.ProgressReached += x, x => _data.ProgressReached -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> ProgressReached => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ProgressReached += x, x => _data.ProgressReached -= x); } /// @@ -3498,20 +5148,44 @@ namespace Tizen.NUI /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable FocusChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.NUI.FocusManager.FocusChangedEventArgs>(x => _data.FocusChanged += x, x => _data.FocusChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.NUI.FocusManager.FocusChangedEventArgs)> FocusChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.NUI.FocusManager.FocusChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.NUI.FocusManager.FocusChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.FocusChanged += x, x => _data.FocusChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable FocusedViewActivated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.NUI.FocusManager.FocusedViewActivatedEventArgs>(x => _data.FocusedViewActivated += x, x => _data.FocusedViewActivated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.NUI.FocusManager.FocusedViewActivatedEventArgs)> FocusedViewActivated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.NUI.FocusManager.FocusedViewActivatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.NUI.FocusManager.FocusedViewActivatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.FocusedViewActivated += x, x => _data.FocusedViewActivated -= x); /// /// Gets an observable which signals when the event triggers. /// [global::System.ObsoleteAttribute("Please do not use! This will be deprecated! Please use FocusManager.FocusedViewActivated instead! Like: FocusManager.Instance.FocusedViewActivated = OnFocusedViewActivated; private void OnFocusedViewActivated(object source, FocusManager.FocusedViewActivatedEventArgs args) {...}", false)] - public global::System.IObservable FocusedViewEnterKeyPressed => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.NUI.FocusManager.FocusedViewEnterKeyEventArgs>(x => _data.FocusedViewEnterKeyPressed += x, x => _data.FocusedViewEnterKeyPressed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.NUI.FocusManager.FocusedViewEnterKeyEventArgs)> FocusedViewEnterKeyPressed => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.NUI.FocusManager.FocusedViewEnterKeyEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.NUI.FocusManager.FocusedViewEnterKeyEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.FocusedViewEnterKeyPressed += x, x => _data.FocusedViewEnterKeyPressed -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable FocusGroupChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.NUI.FocusManager.FocusGroupChangedEventArgs>(x => _data.FocusGroupChanged += x, x => _data.FocusGroupChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.NUI.FocusManager.FocusGroupChangedEventArgs)> FocusGroupChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.NUI.FocusManager.FocusGroupChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.NUI.FocusManager.FocusGroupChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.FocusGroupChanged += x, x => _data.FocusGroupChanged -= x); } /// @@ -3532,23 +5206,53 @@ namespace Tizen.NUI /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Activated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.NUI.ImfManager.ActivatedEventArgs>(x => _data.Activated += x, x => _data.Activated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.NUI.ImfManager.ActivatedEventArgs)> Activated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.NUI.ImfManager.ActivatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.NUI.ImfManager.ActivatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Activated += x, x => _data.Activated -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable KeyboardTypeChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.NUI.ImfManager.KeyboardTypeChangedEventArgs>(x => _data.KeyboardTypeChanged += x, x => _data.KeyboardTypeChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.NUI.ImfManager.KeyboardTypeChangedEventArgs)> KeyboardTypeChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.NUI.ImfManager.KeyboardTypeChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.NUI.ImfManager.KeyboardTypeChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.KeyboardTypeChanged += x, x => _data.KeyboardTypeChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable LanguageChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.NUI.ImfManager.LanguageChangedEventArgs>(x => _data.LanguageChanged += x, x => _data.LanguageChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.NUI.ImfManager.LanguageChangedEventArgs)> LanguageChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.NUI.ImfManager.LanguageChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.NUI.ImfManager.LanguageChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.LanguageChanged += x, x => _data.LanguageChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Resized => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.NUI.ImfManager.ResizedEventArgs>(x => _data.Resized += x, x => _data.Resized -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.NUI.ImfManager.ResizedEventArgs)> Resized => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.NUI.ImfManager.ResizedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.NUI.ImfManager.ResizedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Resized += x, x => _data.Resized -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable StatusChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.NUI.ImfManager.StatusChangedEventArgs>(x => _data.StatusChanged += x, x => _data.StatusChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.NUI.ImfManager.StatusChangedEventArgs)> StatusChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.NUI.ImfManager.StatusChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.NUI.ImfManager.StatusChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.StatusChanged += x, x => _data.StatusChanged -= x); } /// @@ -3569,11 +5273,23 @@ namespace Tizen.NUI /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Paused => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Paused += x, x => _data.Paused -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Paused => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Paused += x, x => _data.Paused -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Resumed => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Resumed += x, x => _data.Resumed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Resumed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Resumed += x, x => _data.Resumed -= x); } /// @@ -3594,7 +5310,13 @@ namespace Tizen.NUI /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Notified => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.NUI.PropertyNotification.NotifyEventArgs>(x => _data.Notified += x, x => _data.Notified -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.NUI.PropertyNotification.NotifyEventArgs)> Notified => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.NUI.PropertyNotification.NotifyEventArgs)>(eventHandler => + { + void Handler(object source, global::Tizen.NUI.PropertyNotification.NotifyEventArgs e) => eventHandler((source, e)); + return Handler; + } + + , x => _data.Notified += x, x => _data.Notified -= x); } /// @@ -3615,7 +5337,13 @@ namespace Tizen.NUI /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable SnapStarted => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.NUI.ScrollView.SnapStartedEventArgs>(x => _data.SnapStarted += x, x => _data.SnapStarted -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.NUI.ScrollView.SnapStartedEventArgs)> SnapStarted => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.NUI.ScrollView.SnapStartedEventArgs)>(eventHandler => + { + void Handler(object source, global::Tizen.NUI.ScrollView.SnapStartedEventArgs e) => eventHandler((source, e)); + return Handler; + } + + , x => _data.SnapStarted += x, x => _data.SnapStarted -= x); } /// @@ -3636,7 +5364,13 @@ namespace Tizen.NUI /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable StyleChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.NUI.StyleManager.StyleChangedEventArgs>(x => _data.StyleChanged += x, x => _data.StyleChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.NUI.StyleManager.StyleChangedEventArgs)> StyleChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.NUI.StyleManager.StyleChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.NUI.StyleManager.StyleChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.StyleChanged += x, x => _data.StyleChanged -= x); } /// @@ -3673,7 +5407,13 @@ namespace Tizen.NUI /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable StateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.NUI.TTSPlayer.StateChangedEventArgs>(x => _data.StateChanged += x, x => _data.StateChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.NUI.TTSPlayer.StateChangedEventArgs)> StateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.NUI.TTSPlayer.StateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.NUI.TTSPlayer.StateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.StateChanged += x, x => _data.StateChanged -= x); } /// @@ -3694,27 +5434,63 @@ namespace Tizen.NUI /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable WidgetAdded => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.NUI.WidgetView.WidgetViewEventArgs>(x => _data.WidgetAdded += x, x => _data.WidgetAdded -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.NUI.WidgetView.WidgetViewEventArgs)> WidgetAdded => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.NUI.WidgetView.WidgetViewEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.NUI.WidgetView.WidgetViewEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.WidgetAdded += x, x => _data.WidgetAdded -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable WidgetContentUpdated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.NUI.WidgetView.WidgetViewEventArgs>(x => _data.WidgetContentUpdated += x, x => _data.WidgetContentUpdated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.NUI.WidgetView.WidgetViewEventArgs)> WidgetContentUpdated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.NUI.WidgetView.WidgetViewEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.NUI.WidgetView.WidgetViewEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.WidgetContentUpdated += x, x => _data.WidgetContentUpdated -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable WidgetCreationAborted => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.NUI.WidgetView.WidgetViewEventArgs>(x => _data.WidgetCreationAborted += x, x => _data.WidgetCreationAborted -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.NUI.WidgetView.WidgetViewEventArgs)> WidgetCreationAborted => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.NUI.WidgetView.WidgetViewEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.NUI.WidgetView.WidgetViewEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.WidgetCreationAborted += x, x => _data.WidgetCreationAborted -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable WidgetDeleted => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.NUI.WidgetView.WidgetViewEventArgs>(x => _data.WidgetDeleted += x, x => _data.WidgetDeleted -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.NUI.WidgetView.WidgetViewEventArgs)> WidgetDeleted => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.NUI.WidgetView.WidgetViewEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.NUI.WidgetView.WidgetViewEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.WidgetDeleted += x, x => _data.WidgetDeleted -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable WidgetFaulted => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.NUI.WidgetView.WidgetViewEventArgs>(x => _data.WidgetFaulted += x, x => _data.WidgetFaulted -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.NUI.WidgetView.WidgetViewEventArgs)> WidgetFaulted => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.NUI.WidgetView.WidgetViewEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.NUI.WidgetView.WidgetViewEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.WidgetFaulted += x, x => _data.WidgetFaulted -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable WidgetUpdatePeriodChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.NUI.WidgetView.WidgetViewEventArgs>(x => _data.WidgetUpdatePeriodChanged += x, x => _data.WidgetUpdatePeriodChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.NUI.WidgetView.WidgetViewEventArgs)> WidgetUpdatePeriodChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.NUI.WidgetView.WidgetViewEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.NUI.WidgetView.WidgetViewEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.WidgetUpdatePeriodChanged += x, x => _data.WidgetUpdatePeriodChanged -= x); } /// @@ -3735,28 +5511,64 @@ namespace Tizen.NUI /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable FocusChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.NUI.Window.FocusChangedEventArgs>(x => _data.FocusChanged += x, x => _data.FocusChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.NUI.Window.FocusChangedEventArgs)> FocusChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.NUI.Window.FocusChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.NUI.Window.FocusChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.FocusChanged += x, x => _data.FocusChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable KeyEvent => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.NUI.Window.KeyEventArgs>(x => _data.KeyEvent += x, x => _data.KeyEvent -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.NUI.Window.KeyEventArgs)> KeyEvent => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.NUI.Window.KeyEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.NUI.Window.KeyEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.KeyEvent += x, x => _data.KeyEvent -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Resized => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.NUI.Window.ResizedEventArgs>(x => _data.Resized += x, x => _data.Resized -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.NUI.Window.ResizedEventArgs)> Resized => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.NUI.Window.ResizedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.NUI.Window.ResizedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Resized += x, x => _data.Resized -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable TouchEvent => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.NUI.Window.TouchEventArgs>(x => _data.TouchEvent += x, x => _data.TouchEvent -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.NUI.Window.TouchEventArgs)> TouchEvent => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.NUI.Window.TouchEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.NUI.Window.TouchEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.TouchEvent += x, x => _data.TouchEvent -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable WheelEvent => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.NUI.Window.WheelEventArgs>(x => _data.WheelEvent += x, x => _data.WheelEvent -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.NUI.Window.WheelEventArgs)> WheelEvent => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.NUI.Window.WheelEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.NUI.Window.WheelEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.WheelEvent += x, x => _data.WheelEvent -= x); /// /// Gets an observable which signals when the event triggers. /// [global::System.ObsoleteAttribute("Please do not use! This will be deprecated! Please use FocusChanged instead! Like: Window.Instance.FocusChanged = OnFocusChanged; private void OnFocusChanged(object source, Window.FocusChangedEventArgs args) {...}", false)] - public global::System.IObservable WindowFocusChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.NUI.Window.WindowFocusChangedEventArgs>(x => _data.WindowFocusChanged += x, x => _data.WindowFocusChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.NUI.Window.WindowFocusChangedEventArgs)> WindowFocusChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.NUI.Window.WindowFocusChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.NUI.Window.WindowFocusChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.WindowFocusChanged += x, x => _data.WindowFocusChanged -= x); } } @@ -3811,7 +5623,13 @@ namespace Tizen.NUI.BaseComponents /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ResourceReady => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.NUI.BaseComponents.ImageView.ResourceReadyEventArgs>(x => _data.ResourceReady += x, x => _data.ResourceReady -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.NUI.BaseComponents.ImageView.ResourceReadyEventArgs)> ResourceReady => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.NUI.BaseComponents.ImageView.ResourceReadyEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.NUI.BaseComponents.ImageView.ResourceReadyEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ResourceReady += x, x => _data.ResourceReady -= x); } /// @@ -3832,15 +5650,33 @@ namespace Tizen.NUI.BaseComponents /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ScrollCompleted => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.NUI.BaseComponents.Scrollable.CompletedEventArgs>(x => _data.ScrollCompleted += x, x => _data.ScrollCompleted -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.NUI.BaseComponents.Scrollable.CompletedEventArgs)> ScrollCompleted => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.NUI.BaseComponents.Scrollable.CompletedEventArgs)>(eventHandler => + { + void Handler(object source, global::Tizen.NUI.BaseComponents.Scrollable.CompletedEventArgs e) => eventHandler((source, e)); + return Handler; + } + + , x => _data.ScrollCompleted += x, x => _data.ScrollCompleted -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ScrollStarted => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.NUI.BaseComponents.Scrollable.StartedEventArgs>(x => _data.ScrollStarted += x, x => _data.ScrollStarted -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.NUI.BaseComponents.Scrollable.StartedEventArgs)> ScrollStarted => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.NUI.BaseComponents.Scrollable.StartedEventArgs)>(eventHandler => + { + void Handler(object source, global::Tizen.NUI.BaseComponents.Scrollable.StartedEventArgs e) => eventHandler((source, e)); + return Handler; + } + + , x => _data.ScrollStarted += x, x => _data.ScrollStarted -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ScrollUpdated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.NUI.BaseComponents.Scrollable.UpdatedEventArgs>(x => _data.ScrollUpdated += x, x => _data.ScrollUpdated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.NUI.BaseComponents.Scrollable.UpdatedEventArgs)> ScrollUpdated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.NUI.BaseComponents.Scrollable.UpdatedEventArgs)>(eventHandler => + { + void Handler(object source, global::Tizen.NUI.BaseComponents.Scrollable.UpdatedEventArgs e) => eventHandler((source, e)); + return Handler; + } + + , x => _data.ScrollUpdated += x, x => _data.ScrollUpdated -= x); } /// @@ -3861,11 +5697,23 @@ namespace Tizen.NUI.BaseComponents /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ScrollStateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.NUI.BaseComponents.TextEditor.ScrollStateChangedEventArgs>(x => _data.ScrollStateChanged += x, x => _data.ScrollStateChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.NUI.BaseComponents.TextEditor.ScrollStateChangedEventArgs)> ScrollStateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.NUI.BaseComponents.TextEditor.ScrollStateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.NUI.BaseComponents.TextEditor.ScrollStateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ScrollStateChanged += x, x => _data.ScrollStateChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable TextChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.NUI.BaseComponents.TextEditor.TextChangedEventArgs>(x => _data.TextChanged += x, x => _data.TextChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.NUI.BaseComponents.TextEditor.TextChangedEventArgs)> TextChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.NUI.BaseComponents.TextEditor.TextChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.NUI.BaseComponents.TextEditor.TextChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.TextChanged += x, x => _data.TextChanged -= x); } /// @@ -3886,11 +5734,23 @@ namespace Tizen.NUI.BaseComponents /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable MaxLengthReached => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.NUI.BaseComponents.TextField.MaxLengthReachedEventArgs>(x => _data.MaxLengthReached += x, x => _data.MaxLengthReached -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.NUI.BaseComponents.TextField.MaxLengthReachedEventArgs)> MaxLengthReached => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.NUI.BaseComponents.TextField.MaxLengthReachedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.NUI.BaseComponents.TextField.MaxLengthReachedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.MaxLengthReached += x, x => _data.MaxLengthReached -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable TextChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.NUI.BaseComponents.TextField.TextChangedEventArgs>(x => _data.TextChanged += x, x => _data.TextChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.NUI.BaseComponents.TextField.TextChangedEventArgs)> TextChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.NUI.BaseComponents.TextField.TextChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.NUI.BaseComponents.TextField.TextChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.TextChanged += x, x => _data.TextChanged -= x); } /// @@ -3911,7 +5771,13 @@ namespace Tizen.NUI.BaseComponents /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Finished => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.NUI.BaseComponents.VideoView.FinishedEventArgs>(x => _data.Finished += x, x => _data.Finished -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.NUI.BaseComponents.VideoView.FinishedEventArgs)> Finished => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.NUI.BaseComponents.VideoView.FinishedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.NUI.BaseComponents.VideoView.FinishedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Finished += x, x => _data.Finished -= x); } /// @@ -3932,35 +5798,83 @@ namespace Tizen.NUI.BaseComponents /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable AddedToWindow => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.AddedToWindow += x, x => _data.AddedToWindow -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> AddedToWindow => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.AddedToWindow += x, x => _data.AddedToWindow -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable FocusGained => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.FocusGained += x, x => _data.FocusGained -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> FocusGained => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.FocusGained += x, x => _data.FocusGained -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable FocusLost => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.FocusLost += x, x => _data.FocusLost -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> FocusLost => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.FocusLost += x, x => _data.FocusLost -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable LayoutDirectionChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.NUI.BaseComponents.View.LayoutDirectionChangedEventArgs>(x => _data.LayoutDirectionChanged += x, x => _data.LayoutDirectionChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.NUI.BaseComponents.View.LayoutDirectionChangedEventArgs)> LayoutDirectionChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.NUI.BaseComponents.View.LayoutDirectionChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.NUI.BaseComponents.View.LayoutDirectionChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.LayoutDirectionChanged += x, x => _data.LayoutDirectionChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Relayout => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Relayout += x, x => _data.Relayout -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Relayout => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Relayout += x, x => _data.Relayout -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable RemovedFromWindow => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.RemovedFromWindow += x, x => _data.RemovedFromWindow -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> RemovedFromWindow => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.RemovedFromWindow += x, x => _data.RemovedFromWindow -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ResourcesLoaded => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.ResourcesLoaded += x, x => _data.ResourcesLoaded -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> ResourcesLoaded => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ResourcesLoaded += x, x => _data.ResourcesLoaded -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable VisibilityChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.NUI.BaseComponents.View.VisibilityChangedEventArgs>(x => _data.VisibilityChanged += x, x => _data.VisibilityChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.NUI.BaseComponents.View.VisibilityChangedEventArgs)> VisibilityChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.NUI.BaseComponents.View.VisibilityChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.NUI.BaseComponents.View.VisibilityChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.VisibilityChanged += x, x => _data.VisibilityChanged -= x); } } @@ -4027,23 +5941,53 @@ namespace Tizen.NUI.UIComponents /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Hidden => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.NUI.UIComponents.Popup.HiddenEventArgs>(x => _data.Hidden += x, x => _data.Hidden -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.NUI.UIComponents.Popup.HiddenEventArgs)> Hidden => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.NUI.UIComponents.Popup.HiddenEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.NUI.UIComponents.Popup.HiddenEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Hidden += x, x => _data.Hidden -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Hiding => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.NUI.UIComponents.Popup.HidingEventArgs>(x => _data.Hiding += x, x => _data.Hiding -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.NUI.UIComponents.Popup.HidingEventArgs)> Hiding => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.NUI.UIComponents.Popup.HidingEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.NUI.UIComponents.Popup.HidingEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Hiding += x, x => _data.Hiding -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Showing => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.NUI.UIComponents.Popup.ShowingEventArgs>(x => _data.Showing += x, x => _data.Showing -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.NUI.UIComponents.Popup.ShowingEventArgs)> Showing => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.NUI.UIComponents.Popup.ShowingEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.NUI.UIComponents.Popup.ShowingEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Showing += x, x => _data.Showing -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Shown => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.NUI.UIComponents.Popup.ShownEventArgs>(x => _data.Shown += x, x => _data.Shown -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.NUI.UIComponents.Popup.ShownEventArgs)> Shown => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.NUI.UIComponents.Popup.ShownEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.NUI.UIComponents.Popup.ShownEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Shown += x, x => _data.Shown -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable TouchedOutside => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.NUI.UIComponents.Popup.TouchedOutsideEventArgs>(x => _data.TouchedOutside += x, x => _data.TouchedOutside -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.NUI.UIComponents.Popup.TouchedOutsideEventArgs)> TouchedOutside => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.NUI.UIComponents.Popup.TouchedOutsideEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.NUI.UIComponents.Popup.TouchedOutsideEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.TouchedOutside += x, x => _data.TouchedOutside -= x); } /// @@ -4064,7 +6008,13 @@ namespace Tizen.NUI.UIComponents /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ValueChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.NUI.UIComponents.ProgressBar.ValueChangedEventArgs>(x => _data.ValueChanged += x, x => _data.ValueChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.NUI.UIComponents.ProgressBar.ValueChangedEventArgs)> ValueChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.NUI.UIComponents.ProgressBar.ValueChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.NUI.UIComponents.ProgressBar.ValueChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ValueChanged += x, x => _data.ValueChanged -= x); } /// @@ -4085,11 +6035,23 @@ namespace Tizen.NUI.UIComponents /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable PanFinished => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.NUI.UIComponents.ScrollBar.PanFinishedEventArgs>(x => _data.PanFinished += x, x => _data.PanFinished -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.NUI.UIComponents.ScrollBar.PanFinishedEventArgs)> PanFinished => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.NUI.UIComponents.ScrollBar.PanFinishedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.NUI.UIComponents.ScrollBar.PanFinishedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.PanFinished += x, x => _data.PanFinished -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ScrollInterval => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.NUI.UIComponents.ScrollBar.ScrollIntervalEventArgs>(x => _data.ScrollInterval += x, x => _data.ScrollInterval -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.NUI.UIComponents.ScrollBar.ScrollIntervalEventArgs)> ScrollInterval => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.NUI.UIComponents.ScrollBar.ScrollIntervalEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.NUI.UIComponents.ScrollBar.ScrollIntervalEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ScrollInterval += x, x => _data.ScrollInterval -= x); } /// @@ -4144,7 +6106,13 @@ namespace Tizen.Pims.Contacts /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DBStatusChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Pims.Contacts.DBStatusChangedEventArgs>(x => _data.DBStatusChanged += x, x => _data.DBStatusChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Pims.Contacts.DBStatusChangedEventArgs)> DBStatusChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Pims.Contacts.DBStatusChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Pims.Contacts.DBStatusChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DBStatusChanged += x, x => _data.DBStatusChanged -= x); } /// @@ -4165,11 +6133,23 @@ namespace Tizen.Pims.Contacts /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable NameDisplayOrderChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Pims.Contacts.NameDisplayOrderChangedEventArgs>(x => _data.NameDisplayOrderChanged += x, x => _data.NameDisplayOrderChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Pims.Contacts.NameDisplayOrderChangedEventArgs)> NameDisplayOrderChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Pims.Contacts.NameDisplayOrderChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Pims.Contacts.NameDisplayOrderChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.NameDisplayOrderChanged += x, x => _data.NameDisplayOrderChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable NameSortingOrderChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Pims.Contacts.NameSortingOrderChangedEventArgs>(x => _data.NameSortingOrderChanged += x, x => _data.NameSortingOrderChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Pims.Contacts.NameSortingOrderChangedEventArgs)> NameSortingOrderChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Pims.Contacts.NameSortingOrderChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Pims.Contacts.NameSortingOrderChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.NameSortingOrderChanged += x, x => _data.NameSortingOrderChanged -= x); } } @@ -4204,7 +6184,13 @@ namespace Tizen.Security /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ResponseFetched => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Security.RequestResponseEventArgs>(x => _data.ResponseFetched += x, x => _data.ResponseFetched -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Security.RequestResponseEventArgs)> ResponseFetched => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Security.RequestResponseEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Security.RequestResponseEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ResponseFetched += x, x => _data.ResponseFetched -= x); } } @@ -4343,7 +6329,13 @@ namespace Tizen.Sensor /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DataUpdated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Sensor.AccelerometerDataUpdatedEventArgs>(x => _data.DataUpdated += x, x => _data.DataUpdated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Sensor.AccelerometerDataUpdatedEventArgs)> DataUpdated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Sensor.AccelerometerDataUpdatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Sensor.AccelerometerDataUpdatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DataUpdated += x, x => _data.DataUpdated -= x); } /// @@ -4364,7 +6356,13 @@ namespace Tizen.Sensor /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DataUpdated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Sensor.FaceDownGestureDetectorDataUpdatedEventArgs>(x => _data.DataUpdated += x, x => _data.DataUpdated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Sensor.FaceDownGestureDetectorDataUpdatedEventArgs)> DataUpdated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Sensor.FaceDownGestureDetectorDataUpdatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Sensor.FaceDownGestureDetectorDataUpdatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DataUpdated += x, x => _data.DataUpdated -= x); } /// @@ -4385,11 +6383,23 @@ namespace Tizen.Sensor /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable AccuracyChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Sensor.SensorAccuracyChangedEventArgs>(x => _data.AccuracyChanged += x, x => _data.AccuracyChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Sensor.SensorAccuracyChangedEventArgs)> AccuracyChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Sensor.SensorAccuracyChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Sensor.SensorAccuracyChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.AccuracyChanged += x, x => _data.AccuracyChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DataUpdated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Sensor.GravitySensorDataUpdatedEventArgs>(x => _data.DataUpdated += x, x => _data.DataUpdated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Sensor.GravitySensorDataUpdatedEventArgs)> DataUpdated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Sensor.GravitySensorDataUpdatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Sensor.GravitySensorDataUpdatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DataUpdated += x, x => _data.DataUpdated -= x); } /// @@ -4410,7 +6420,13 @@ namespace Tizen.Sensor /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DataUpdated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Sensor.GyroscopeDataUpdatedEventArgs>(x => _data.DataUpdated += x, x => _data.DataUpdated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Sensor.GyroscopeDataUpdatedEventArgs)> DataUpdated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Sensor.GyroscopeDataUpdatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Sensor.GyroscopeDataUpdatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DataUpdated += x, x => _data.DataUpdated -= x); } /// @@ -4431,7 +6447,13 @@ namespace Tizen.Sensor /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DataUpdated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Sensor.GyroscopeRotationVectorSensorDataUpdatedEventArgs>(x => _data.DataUpdated += x, x => _data.DataUpdated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Sensor.GyroscopeRotationVectorSensorDataUpdatedEventArgs)> DataUpdated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Sensor.GyroscopeRotationVectorSensorDataUpdatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Sensor.GyroscopeRotationVectorSensorDataUpdatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DataUpdated += x, x => _data.DataUpdated -= x); } /// @@ -4452,7 +6474,13 @@ namespace Tizen.Sensor /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DataUpdated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Sensor.HeartRateMonitorDataUpdatedEventArgs>(x => _data.DataUpdated += x, x => _data.DataUpdated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Sensor.HeartRateMonitorDataUpdatedEventArgs)> DataUpdated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Sensor.HeartRateMonitorDataUpdatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Sensor.HeartRateMonitorDataUpdatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DataUpdated += x, x => _data.DataUpdated -= x); } /// @@ -4473,7 +6501,13 @@ namespace Tizen.Sensor /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DataUpdated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Sensor.HumiditySensorDataUpdatedEventArgs>(x => _data.DataUpdated += x, x => _data.DataUpdated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Sensor.HumiditySensorDataUpdatedEventArgs)> DataUpdated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Sensor.HumiditySensorDataUpdatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Sensor.HumiditySensorDataUpdatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DataUpdated += x, x => _data.DataUpdated -= x); } /// @@ -4494,7 +6528,13 @@ namespace Tizen.Sensor /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DataUpdated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Sensor.InVehicleActivityDetectorDataUpdatedEventArgs>(x => _data.DataUpdated += x, x => _data.DataUpdated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Sensor.InVehicleActivityDetectorDataUpdatedEventArgs)> DataUpdated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Sensor.InVehicleActivityDetectorDataUpdatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Sensor.InVehicleActivityDetectorDataUpdatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DataUpdated += x, x => _data.DataUpdated -= x); } /// @@ -4515,7 +6555,13 @@ namespace Tizen.Sensor /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DataUpdated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Sensor.LightSensorDataUpdatedEventArgs>(x => _data.DataUpdated += x, x => _data.DataUpdated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Sensor.LightSensorDataUpdatedEventArgs)> DataUpdated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Sensor.LightSensorDataUpdatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Sensor.LightSensorDataUpdatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DataUpdated += x, x => _data.DataUpdated -= x); } /// @@ -4536,11 +6582,23 @@ namespace Tizen.Sensor /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable AccuracyChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Sensor.SensorAccuracyChangedEventArgs>(x => _data.AccuracyChanged += x, x => _data.AccuracyChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Sensor.SensorAccuracyChangedEventArgs)> AccuracyChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Sensor.SensorAccuracyChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Sensor.SensorAccuracyChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.AccuracyChanged += x, x => _data.AccuracyChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DataUpdated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Sensor.LinearAccelerationSensorDataUpdatedEventArgs>(x => _data.DataUpdated += x, x => _data.DataUpdated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Sensor.LinearAccelerationSensorDataUpdatedEventArgs)> DataUpdated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Sensor.LinearAccelerationSensorDataUpdatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Sensor.LinearAccelerationSensorDataUpdatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DataUpdated += x, x => _data.DataUpdated -= x); } /// @@ -4561,11 +6619,23 @@ namespace Tizen.Sensor /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable AccuracyChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Sensor.SensorAccuracyChangedEventArgs>(x => _data.AccuracyChanged += x, x => _data.AccuracyChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Sensor.SensorAccuracyChangedEventArgs)> AccuracyChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Sensor.SensorAccuracyChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Sensor.SensorAccuracyChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.AccuracyChanged += x, x => _data.AccuracyChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DataUpdated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Sensor.MagnetometerDataUpdatedEventArgs>(x => _data.DataUpdated += x, x => _data.DataUpdated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Sensor.MagnetometerDataUpdatedEventArgs)> DataUpdated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Sensor.MagnetometerDataUpdatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Sensor.MagnetometerDataUpdatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DataUpdated += x, x => _data.DataUpdated -= x); } /// @@ -4586,11 +6656,23 @@ namespace Tizen.Sensor /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable AccuracyChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Sensor.SensorAccuracyChangedEventArgs>(x => _data.AccuracyChanged += x, x => _data.AccuracyChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Sensor.SensorAccuracyChangedEventArgs)> AccuracyChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Sensor.SensorAccuracyChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Sensor.SensorAccuracyChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.AccuracyChanged += x, x => _data.AccuracyChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DataUpdated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Sensor.MagnetometerRotationVectorSensorDataUpdatedEventArgs>(x => _data.DataUpdated += x, x => _data.DataUpdated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Sensor.MagnetometerRotationVectorSensorDataUpdatedEventArgs)> DataUpdated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Sensor.MagnetometerRotationVectorSensorDataUpdatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Sensor.MagnetometerRotationVectorSensorDataUpdatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DataUpdated += x, x => _data.DataUpdated -= x); } /// @@ -4611,11 +6693,23 @@ namespace Tizen.Sensor /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable AccuracyChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Sensor.SensorAccuracyChangedEventArgs>(x => _data.AccuracyChanged += x, x => _data.AccuracyChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Sensor.SensorAccuracyChangedEventArgs)> AccuracyChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Sensor.SensorAccuracyChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Sensor.SensorAccuracyChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.AccuracyChanged += x, x => _data.AccuracyChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DataUpdated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Sensor.OrientationSensorDataUpdatedEventArgs>(x => _data.DataUpdated += x, x => _data.DataUpdated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Sensor.OrientationSensorDataUpdatedEventArgs)> DataUpdated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Sensor.OrientationSensorDataUpdatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Sensor.OrientationSensorDataUpdatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DataUpdated += x, x => _data.DataUpdated -= x); } /// @@ -4636,7 +6730,13 @@ namespace Tizen.Sensor /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DataUpdated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Sensor.PedometerDataUpdatedEventArgs>(x => _data.DataUpdated += x, x => _data.DataUpdated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Sensor.PedometerDataUpdatedEventArgs)> DataUpdated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Sensor.PedometerDataUpdatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Sensor.PedometerDataUpdatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DataUpdated += x, x => _data.DataUpdated -= x); } /// @@ -4657,7 +6757,13 @@ namespace Tizen.Sensor /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DataUpdated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Sensor.PickUpGestureDetectorDataUpdatedEventArgs>(x => _data.DataUpdated += x, x => _data.DataUpdated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Sensor.PickUpGestureDetectorDataUpdatedEventArgs)> DataUpdated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Sensor.PickUpGestureDetectorDataUpdatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Sensor.PickUpGestureDetectorDataUpdatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DataUpdated += x, x => _data.DataUpdated -= x); } /// @@ -4678,7 +6784,13 @@ namespace Tizen.Sensor /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DataUpdated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Sensor.PressureSensorDataUpdatedEventArgs>(x => _data.DataUpdated += x, x => _data.DataUpdated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Sensor.PressureSensorDataUpdatedEventArgs)> DataUpdated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Sensor.PressureSensorDataUpdatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Sensor.PressureSensorDataUpdatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DataUpdated += x, x => _data.DataUpdated -= x); } /// @@ -4699,7 +6811,13 @@ namespace Tizen.Sensor /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DataUpdated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Sensor.ProximitySensorDataUpdatedEventArgs>(x => _data.DataUpdated += x, x => _data.DataUpdated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Sensor.ProximitySensorDataUpdatedEventArgs)> DataUpdated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Sensor.ProximitySensorDataUpdatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Sensor.ProximitySensorDataUpdatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DataUpdated += x, x => _data.DataUpdated -= x); } /// @@ -4720,11 +6838,23 @@ namespace Tizen.Sensor /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable AccuracyChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Sensor.SensorAccuracyChangedEventArgs>(x => _data.AccuracyChanged += x, x => _data.AccuracyChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Sensor.SensorAccuracyChangedEventArgs)> AccuracyChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Sensor.SensorAccuracyChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Sensor.SensorAccuracyChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.AccuracyChanged += x, x => _data.AccuracyChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DataUpdated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Sensor.RotationVectorSensorDataUpdatedEventArgs>(x => _data.DataUpdated += x, x => _data.DataUpdated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Sensor.RotationVectorSensorDataUpdatedEventArgs)> DataUpdated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Sensor.RotationVectorSensorDataUpdatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Sensor.RotationVectorSensorDataUpdatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DataUpdated += x, x => _data.DataUpdated -= x); } /// @@ -4745,7 +6875,13 @@ namespace Tizen.Sensor /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DataUpdated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Sensor.RunningActivityDetectorDataUpdatedEventArgs>(x => _data.DataUpdated += x, x => _data.DataUpdated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Sensor.RunningActivityDetectorDataUpdatedEventArgs)> DataUpdated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Sensor.RunningActivityDetectorDataUpdatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Sensor.RunningActivityDetectorDataUpdatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DataUpdated += x, x => _data.DataUpdated -= x); } /// @@ -4766,7 +6902,13 @@ namespace Tizen.Sensor /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DataUpdated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Sensor.SleepMonitorDataUpdatedEventArgs>(x => _data.DataUpdated += x, x => _data.DataUpdated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Sensor.SleepMonitorDataUpdatedEventArgs)> DataUpdated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Sensor.SleepMonitorDataUpdatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Sensor.SleepMonitorDataUpdatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DataUpdated += x, x => _data.DataUpdated -= x); } /// @@ -4787,7 +6929,13 @@ namespace Tizen.Sensor /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DataUpdated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Sensor.StationaryActivityDetectorDataUpdatedEventArgs>(x => _data.DataUpdated += x, x => _data.DataUpdated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Sensor.StationaryActivityDetectorDataUpdatedEventArgs)> DataUpdated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Sensor.StationaryActivityDetectorDataUpdatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Sensor.StationaryActivityDetectorDataUpdatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DataUpdated += x, x => _data.DataUpdated -= x); } /// @@ -4808,7 +6956,13 @@ namespace Tizen.Sensor /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DataUpdated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Sensor.TemperatureSensorDataUpdatedEventArgs>(x => _data.DataUpdated += x, x => _data.DataUpdated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Sensor.TemperatureSensorDataUpdatedEventArgs)> DataUpdated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Sensor.TemperatureSensorDataUpdatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Sensor.TemperatureSensorDataUpdatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DataUpdated += x, x => _data.DataUpdated -= x); } /// @@ -4829,7 +6983,13 @@ namespace Tizen.Sensor /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DataUpdated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Sensor.UltravioletSensorDataUpdatedEventArgs>(x => _data.DataUpdated += x, x => _data.DataUpdated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Sensor.UltravioletSensorDataUpdatedEventArgs)> DataUpdated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Sensor.UltravioletSensorDataUpdatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Sensor.UltravioletSensorDataUpdatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DataUpdated += x, x => _data.DataUpdated -= x); } /// @@ -4850,7 +7010,13 @@ namespace Tizen.Sensor /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DataUpdated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Sensor.UncalibratedGyroscopeDataUpdatedEventArgs>(x => _data.DataUpdated += x, x => _data.DataUpdated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Sensor.UncalibratedGyroscopeDataUpdatedEventArgs)> DataUpdated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Sensor.UncalibratedGyroscopeDataUpdatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Sensor.UncalibratedGyroscopeDataUpdatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DataUpdated += x, x => _data.DataUpdated -= x); } /// @@ -4871,11 +7037,23 @@ namespace Tizen.Sensor /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable AccuracyChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Sensor.SensorAccuracyChangedEventArgs>(x => _data.AccuracyChanged += x, x => _data.AccuracyChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Sensor.SensorAccuracyChangedEventArgs)> AccuracyChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Sensor.SensorAccuracyChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Sensor.SensorAccuracyChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.AccuracyChanged += x, x => _data.AccuracyChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DataUpdated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Sensor.UncalibratedMagnetometerDataUpdatedEventArgs>(x => _data.DataUpdated += x, x => _data.DataUpdated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Sensor.UncalibratedMagnetometerDataUpdatedEventArgs)> DataUpdated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Sensor.UncalibratedMagnetometerDataUpdatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Sensor.UncalibratedMagnetometerDataUpdatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DataUpdated += x, x => _data.DataUpdated -= x); } /// @@ -4896,7 +7074,13 @@ namespace Tizen.Sensor /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DataUpdated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Sensor.WalkingActivityDetectorDataUpdatedEventArgs>(x => _data.DataUpdated += x, x => _data.DataUpdated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Sensor.WalkingActivityDetectorDataUpdatedEventArgs)> DataUpdated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Sensor.WalkingActivityDetectorDataUpdatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Sensor.WalkingActivityDetectorDataUpdatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DataUpdated += x, x => _data.DataUpdated -= x); } /// @@ -4917,7 +7101,13 @@ namespace Tizen.Sensor /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DataUpdated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Sensor.WristUpGestureDetectorDataUpdatedEventArgs>(x => _data.DataUpdated += x, x => _data.DataUpdated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Sensor.WristUpGestureDetectorDataUpdatedEventArgs)> DataUpdated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Sensor.WristUpGestureDetectorDataUpdatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Sensor.WristUpGestureDetectorDataUpdatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DataUpdated += x, x => _data.DataUpdated -= x); } } @@ -4952,7 +7142,13 @@ namespace Tizen.System /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable StorageStateChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.StorageStateChanged += x, x => _data.StorageStateChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> StorageStateChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.StorageStateChanged += x, x => _data.StorageStateChanged -= x); } } @@ -4987,7 +7183,13 @@ namespace Tizen.System.Usb /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DeviceHotPlugged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.System.Usb.HotPluggedEventArgs>(x => _data.DeviceHotPlugged += x, x => _data.DeviceHotPlugged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.System.Usb.HotPluggedEventArgs)> DeviceHotPlugged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.System.Usb.HotPluggedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.System.Usb.HotPluggedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DeviceHotPlugged += x, x => _data.DeviceHotPlugged -= x); } } @@ -5022,7 +7224,13 @@ namespace Tizen.Telephony /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ChangeNotification => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Telephony.ChangeNotificationEventArgs>(x => _data.ChangeNotification += x, x => _data.ChangeNotification -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Telephony.ChangeNotificationEventArgs)> ChangeNotification => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Telephony.ChangeNotificationEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Telephony.ChangeNotificationEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ChangeNotification += x, x => _data.ChangeNotification -= x); } } @@ -5057,23 +7265,53 @@ namespace Tizen.Uix.Stt /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DefaultLanguageChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Uix.Stt.DefaultLanguageChangedEventArgs>(x => _data.DefaultLanguageChanged += x, x => _data.DefaultLanguageChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Uix.Stt.DefaultLanguageChangedEventArgs)> DefaultLanguageChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Uix.Stt.DefaultLanguageChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Uix.Stt.DefaultLanguageChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DefaultLanguageChanged += x, x => _data.DefaultLanguageChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable EngineChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Uix.Stt.EngineChangedEventArgs>(x => _data.EngineChanged += x, x => _data.EngineChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Uix.Stt.EngineChangedEventArgs)> EngineChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Uix.Stt.EngineChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Uix.Stt.EngineChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.EngineChanged += x, x => _data.EngineChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ErrorOccurred => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Uix.Stt.ErrorOccurredEventArgs>(x => _data.ErrorOccurred += x, x => _data.ErrorOccurred -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Uix.Stt.ErrorOccurredEventArgs)> ErrorOccurred => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Uix.Stt.ErrorOccurredEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Uix.Stt.ErrorOccurredEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ErrorOccurred += x, x => _data.ErrorOccurred -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable RecognitionResult => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Uix.Stt.RecognitionResultEventArgs>(x => _data.RecognitionResult += x, x => _data.RecognitionResult -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Uix.Stt.RecognitionResultEventArgs)> RecognitionResult => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Uix.Stt.RecognitionResultEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Uix.Stt.RecognitionResultEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.RecognitionResult += x, x => _data.RecognitionResult -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable StateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Uix.Stt.StateChangedEventArgs>(x => _data.StateChanged += x, x => _data.StateChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Uix.Stt.StateChangedEventArgs)> StateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Uix.Stt.StateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Uix.Stt.StateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.StateChanged += x, x => _data.StateChanged -= x); } } @@ -5108,27 +7346,63 @@ namespace Tizen.Uix.Tts /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DefaultVoiceChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Uix.Tts.DefaultVoiceChangedEventArgs>(x => _data.DefaultVoiceChanged += x, x => _data.DefaultVoiceChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Uix.Tts.DefaultVoiceChangedEventArgs)> DefaultVoiceChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Uix.Tts.DefaultVoiceChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Uix.Tts.DefaultVoiceChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DefaultVoiceChanged += x, x => _data.DefaultVoiceChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable EngineChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Uix.Tts.EngineChangedEventArgs>(x => _data.EngineChanged += x, x => _data.EngineChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Uix.Tts.EngineChangedEventArgs)> EngineChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Uix.Tts.EngineChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Uix.Tts.EngineChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.EngineChanged += x, x => _data.EngineChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ErrorOccurred => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Uix.Tts.ErrorOccurredEventArgs>(x => _data.ErrorOccurred += x, x => _data.ErrorOccurred -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Uix.Tts.ErrorOccurredEventArgs)> ErrorOccurred => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Uix.Tts.ErrorOccurredEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Uix.Tts.ErrorOccurredEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ErrorOccurred += x, x => _data.ErrorOccurred -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable StateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Uix.Tts.StateChangedEventArgs>(x => _data.StateChanged += x, x => _data.StateChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Uix.Tts.StateChangedEventArgs)> StateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Uix.Tts.StateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Uix.Tts.StateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.StateChanged += x, x => _data.StateChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable UtteranceCompleted => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Uix.Tts.UtteranceEventArgs>(x => _data.UtteranceCompleted += x, x => _data.UtteranceCompleted -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Uix.Tts.UtteranceEventArgs)> UtteranceCompleted => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Uix.Tts.UtteranceEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Uix.Tts.UtteranceEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.UtteranceCompleted += x, x => _data.UtteranceCompleted -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable UtteranceStarted => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Uix.Tts.UtteranceEventArgs>(x => _data.UtteranceStarted += x, x => _data.UtteranceStarted -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.Uix.Tts.UtteranceEventArgs)> UtteranceStarted => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Uix.Tts.UtteranceEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Uix.Tts.UtteranceEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.UtteranceStarted += x, x => _data.UtteranceStarted -= x); } } @@ -5163,23 +7437,53 @@ namespace Tizen.WebView /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable LoadError => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.WebView.SmartCallbackLoadErrorArgs>(x => _data.LoadError += x, x => _data.LoadError -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.WebView.SmartCallbackLoadErrorArgs)> LoadError => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.WebView.SmartCallbackLoadErrorArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.WebView.SmartCallbackLoadErrorArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.LoadError += x, x => _data.LoadError -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable LoadFinished => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.LoadFinished += x, x => _data.LoadFinished -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> LoadFinished => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.LoadFinished += x, x => _data.LoadFinished -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable LoadStarted => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.LoadStarted += x, x => _data.LoadStarted -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> LoadStarted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.LoadStarted += x, x => _data.LoadStarted -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable TitleChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.WebView.SmartCallbackArgs>(x => _data.TitleChanged += x, x => _data.TitleChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.WebView.SmartCallbackArgs)> TitleChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.WebView.SmartCallbackArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.WebView.SmartCallbackArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.TitleChanged += x, x => _data.TitleChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable UrlChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.WebView.SmartCallbackArgs>(x => _data.UrlChanged += x, x => _data.UrlChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Tizen.WebView.SmartCallbackArgs)> UrlChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.WebView.SmartCallbackArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.WebView.SmartCallbackArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.UrlChanged += x, x => _data.UrlChanged -= x); } } @@ -5213,7 +7517,13 @@ namespace Tizen.Account.AccountManager /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable AccountServiceAccountUpdated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Account.AccountManager.AccountSubscriberEventArgs>(x => global::Tizen.Account.AccountManager.AccountService.AccountUpdated += x, x => global::Tizen.Account.AccountManager.AccountService.AccountUpdated -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Account.AccountManager.AccountSubscriberEventArgs)> AccountServiceAccountUpdated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Account.AccountManager.AccountSubscriberEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Account.AccountManager.AccountSubscriberEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Account.AccountManager.AccountService.AccountUpdated += x, x => global::Tizen.Account.AccountManager.AccountService.AccountUpdated -= x); } } @@ -5227,43 +7537,103 @@ namespace Tizen.Applications /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable ApplicationManagerApplicationDisabled => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Applications.ApplicationDisabledEventArgs>(x => global::Tizen.Applications.ApplicationManager.ApplicationDisabled += x, x => global::Tizen.Applications.ApplicationManager.ApplicationDisabled -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Applications.ApplicationDisabledEventArgs)> ApplicationManagerApplicationDisabled => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Applications.ApplicationDisabledEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Applications.ApplicationDisabledEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Applications.ApplicationManager.ApplicationDisabled += x, x => global::Tizen.Applications.ApplicationManager.ApplicationDisabled -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable ApplicationManagerApplicationEnabled => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Applications.ApplicationEnabledEventArgs>(x => global::Tizen.Applications.ApplicationManager.ApplicationEnabled += x, x => global::Tizen.Applications.ApplicationManager.ApplicationEnabled -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Applications.ApplicationEnabledEventArgs)> ApplicationManagerApplicationEnabled => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Applications.ApplicationEnabledEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Applications.ApplicationEnabledEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Applications.ApplicationManager.ApplicationEnabled += x, x => global::Tizen.Applications.ApplicationManager.ApplicationEnabled -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable ApplicationManagerApplicationLaunched => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Applications.ApplicationLaunchedEventArgs>(x => global::Tizen.Applications.ApplicationManager.ApplicationLaunched += x, x => global::Tizen.Applications.ApplicationManager.ApplicationLaunched -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Applications.ApplicationLaunchedEventArgs)> ApplicationManagerApplicationLaunched => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Applications.ApplicationLaunchedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Applications.ApplicationLaunchedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Applications.ApplicationManager.ApplicationLaunched += x, x => global::Tizen.Applications.ApplicationManager.ApplicationLaunched -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable ApplicationManagerApplicationTerminated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Applications.ApplicationTerminatedEventArgs>(x => global::Tizen.Applications.ApplicationManager.ApplicationTerminated += x, x => global::Tizen.Applications.ApplicationManager.ApplicationTerminated -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Applications.ApplicationTerminatedEventArgs)> ApplicationManagerApplicationTerminated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Applications.ApplicationTerminatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Applications.ApplicationTerminatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Applications.ApplicationManager.ApplicationTerminated += x, x => global::Tizen.Applications.ApplicationManager.ApplicationTerminated -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable BadgeControlChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Applications.BadgeEventArgs>(x => global::Tizen.Applications.BadgeControl.Changed += x, x => global::Tizen.Applications.BadgeControl.Changed -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Applications.BadgeEventArgs)> BadgeControlChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Applications.BadgeEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Applications.BadgeEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Applications.BadgeControl.Changed += x, x => global::Tizen.Applications.BadgeControl.Changed -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable PackageManagerClearDataProgressChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Applications.PackageManagerEventArgs>(x => global::Tizen.Applications.PackageManager.ClearDataProgressChanged += x, x => global::Tizen.Applications.PackageManager.ClearDataProgressChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Applications.PackageManagerEventArgs)> PackageManagerClearDataProgressChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Applications.PackageManagerEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Applications.PackageManagerEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Applications.PackageManager.ClearDataProgressChanged += x, x => global::Tizen.Applications.PackageManager.ClearDataProgressChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable PackageManagerInstallProgressChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Applications.PackageManagerEventArgs>(x => global::Tizen.Applications.PackageManager.InstallProgressChanged += x, x => global::Tizen.Applications.PackageManager.InstallProgressChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Applications.PackageManagerEventArgs)> PackageManagerInstallProgressChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Applications.PackageManagerEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Applications.PackageManagerEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Applications.PackageManager.InstallProgressChanged += x, x => global::Tizen.Applications.PackageManager.InstallProgressChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable PackageManagerMoveProgressChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Applications.PackageManagerEventArgs>(x => global::Tizen.Applications.PackageManager.MoveProgressChanged += x, x => global::Tizen.Applications.PackageManager.MoveProgressChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Applications.PackageManagerEventArgs)> PackageManagerMoveProgressChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Applications.PackageManagerEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Applications.PackageManagerEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Applications.PackageManager.MoveProgressChanged += x, x => global::Tizen.Applications.PackageManager.MoveProgressChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable PackageManagerUninstallProgressChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Applications.PackageManagerEventArgs>(x => global::Tizen.Applications.PackageManager.UninstallProgressChanged += x, x => global::Tizen.Applications.PackageManager.UninstallProgressChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Applications.PackageManagerEventArgs)> PackageManagerUninstallProgressChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Applications.PackageManagerEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Applications.PackageManagerEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Applications.PackageManager.UninstallProgressChanged += x, x => global::Tizen.Applications.PackageManager.UninstallProgressChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable PackageManagerUpdateProgressChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Applications.PackageManagerEventArgs>(x => global::Tizen.Applications.PackageManager.UpdateProgressChanged += x, x => global::Tizen.Applications.PackageManager.UpdateProgressChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Applications.PackageManagerEventArgs)> PackageManagerUpdateProgressChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Applications.PackageManagerEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Applications.PackageManagerEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Applications.PackageManager.UpdateProgressChanged += x, x => global::Tizen.Applications.PackageManager.UpdateProgressChanged -= x); } } @@ -5277,15 +7647,33 @@ namespace Tizen.Applications.NotificationEventListener /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable NotificationListenerManagerAdded => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Applications.NotificationEventListener.NotificationEventArgs>(x => global::Tizen.Applications.NotificationEventListener.NotificationListenerManager.Added += x, x => global::Tizen.Applications.NotificationEventListener.NotificationListenerManager.Added -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Applications.NotificationEventListener.NotificationEventArgs)> NotificationListenerManagerAdded => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Applications.NotificationEventListener.NotificationEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Applications.NotificationEventListener.NotificationEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Applications.NotificationEventListener.NotificationListenerManager.Added += x, x => global::Tizen.Applications.NotificationEventListener.NotificationListenerManager.Added -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable NotificationListenerManagerDeleted => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Applications.NotificationEventListener.NotificationDeleteEventArgs>(x => global::Tizen.Applications.NotificationEventListener.NotificationListenerManager.Deleted += x, x => global::Tizen.Applications.NotificationEventListener.NotificationListenerManager.Deleted -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Applications.NotificationEventListener.NotificationDeleteEventArgs)> NotificationListenerManagerDeleted => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Applications.NotificationEventListener.NotificationDeleteEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Applications.NotificationEventListener.NotificationDeleteEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Applications.NotificationEventListener.NotificationListenerManager.Deleted += x, x => global::Tizen.Applications.NotificationEventListener.NotificationListenerManager.Deleted -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable NotificationListenerManagerUpdated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Applications.NotificationEventListener.NotificationEventArgs>(x => global::Tizen.Applications.NotificationEventListener.NotificationListenerManager.Updated += x, x => global::Tizen.Applications.NotificationEventListener.NotificationListenerManager.Updated -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Applications.NotificationEventListener.NotificationEventArgs)> NotificationListenerManagerUpdated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Applications.NotificationEventListener.NotificationEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Applications.NotificationEventListener.NotificationEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Applications.NotificationEventListener.NotificationListenerManager.Updated += x, x => global::Tizen.Applications.NotificationEventListener.NotificationListenerManager.Updated -= x); } } @@ -5299,11 +7687,23 @@ namespace Tizen.Content.MediaContent /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable MediaDatabaseFolderUpdated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Content.MediaContent.FolderUpdatedEventArgs>(x => global::Tizen.Content.MediaContent.MediaDatabase.FolderUpdated += x, x => global::Tizen.Content.MediaContent.MediaDatabase.FolderUpdated -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Content.MediaContent.FolderUpdatedEventArgs)> MediaDatabaseFolderUpdated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Content.MediaContent.FolderUpdatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Content.MediaContent.FolderUpdatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Content.MediaContent.MediaDatabase.FolderUpdated += x, x => global::Tizen.Content.MediaContent.MediaDatabase.FolderUpdated -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable MediaDatabaseMediaInfoUpdated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Content.MediaContent.MediaInfoUpdatedEventArgs>(x => global::Tizen.Content.MediaContent.MediaDatabase.MediaInfoUpdated += x, x => global::Tizen.Content.MediaContent.MediaDatabase.MediaInfoUpdated -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Content.MediaContent.MediaInfoUpdatedEventArgs)> MediaDatabaseMediaInfoUpdated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Content.MediaContent.MediaInfoUpdatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Content.MediaContent.MediaInfoUpdatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Content.MediaContent.MediaDatabase.MediaInfoUpdated += x, x => global::Tizen.Content.MediaContent.MediaDatabase.MediaInfoUpdated -= x); } } @@ -5317,7 +7717,13 @@ namespace Tizen.Messaging.Messages /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable MessagesManagerMessageReceived => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Messaging.Messages.MessageReceivedEventArgs>(x => global::Tizen.Messaging.Messages.MessagesManager.MessageReceived += x, x => global::Tizen.Messaging.Messages.MessagesManager.MessageReceived -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Messaging.Messages.MessageReceivedEventArgs)> MessagesManagerMessageReceived => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Messaging.Messages.MessageReceivedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Messaging.Messages.MessageReceivedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Messaging.Messages.MessagesManager.MessageReceived += x, x => global::Tizen.Messaging.Messages.MessagesManager.MessageReceived -= x); } } @@ -5331,11 +7737,23 @@ namespace Tizen.Messaging.Push /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable PushClientNotificationReceived => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Messaging.Push.PushMessageEventArgs>(x => global::Tizen.Messaging.Push.PushClient.NotificationReceived += x, x => global::Tizen.Messaging.Push.PushClient.NotificationReceived -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Messaging.Push.PushMessageEventArgs)> PushClientNotificationReceived => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Messaging.Push.PushMessageEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Messaging.Push.PushMessageEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Messaging.Push.PushClient.NotificationReceived += x, x => global::Tizen.Messaging.Push.PushClient.NotificationReceived -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable PushClientStateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Messaging.Push.PushConnectionStateEventArgs>(x => global::Tizen.Messaging.Push.PushClient.StateChanged += x, x => global::Tizen.Messaging.Push.PushClient.StateChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Messaging.Push.PushConnectionStateEventArgs)> PushClientStateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Messaging.Push.PushConnectionStateEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Messaging.Push.PushConnectionStateEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Messaging.Push.PushClient.StateChanged += x, x => global::Tizen.Messaging.Push.PushClient.StateChanged -= x); } } @@ -5349,23 +7767,53 @@ namespace Tizen.Multimedia /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable AudioManagerDeviceConnectionChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.AudioDeviceConnectionChangedEventArgs>(x => global::Tizen.Multimedia.AudioManager.DeviceConnectionChanged += x, x => global::Tizen.Multimedia.AudioManager.DeviceConnectionChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Multimedia.AudioDeviceConnectionChangedEventArgs)> AudioManagerDeviceConnectionChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.AudioDeviceConnectionChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.AudioDeviceConnectionChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Multimedia.AudioManager.DeviceConnectionChanged += x, x => global::Tizen.Multimedia.AudioManager.DeviceConnectionChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable AudioManagerDeviceStateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.AudioDeviceStateChangedEventArgs>(x => global::Tizen.Multimedia.AudioManager.DeviceStateChanged += x, x => global::Tizen.Multimedia.AudioManager.DeviceStateChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Multimedia.AudioDeviceStateChangedEventArgs)> AudioManagerDeviceStateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.AudioDeviceStateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.AudioDeviceStateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Multimedia.AudioManager.DeviceStateChanged += x, x => global::Tizen.Multimedia.AudioManager.DeviceStateChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable AudioStreamPolicyStreamFocusStateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.StreamFocusStateChangedEventArgs>(x => global::Tizen.Multimedia.AudioStreamPolicy.StreamFocusStateChanged += x, x => global::Tizen.Multimedia.AudioStreamPolicy.StreamFocusStateChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Multimedia.StreamFocusStateChangedEventArgs)> AudioStreamPolicyStreamFocusStateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.StreamFocusStateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.StreamFocusStateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Multimedia.AudioStreamPolicy.StreamFocusStateChanged += x, x => global::Tizen.Multimedia.AudioStreamPolicy.StreamFocusStateChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable CameraDeviceStateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.CameraDeviceStateChangedEventArgs>(x => global::Tizen.Multimedia.Camera.DeviceStateChanged += x, x => global::Tizen.Multimedia.Camera.DeviceStateChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Multimedia.CameraDeviceStateChangedEventArgs)> CameraDeviceStateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.CameraDeviceStateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.CameraDeviceStateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Multimedia.Camera.DeviceStateChanged += x, x => global::Tizen.Multimedia.Camera.DeviceStateChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable RecorderDeviceStateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.RecorderDeviceStateChangedEventArgs>(x => global::Tizen.Multimedia.Recorder.DeviceStateChanged += x, x => global::Tizen.Multimedia.Recorder.DeviceStateChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Multimedia.RecorderDeviceStateChangedEventArgs)> RecorderDeviceStateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.RecorderDeviceStateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.RecorderDeviceStateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Multimedia.Recorder.DeviceStateChanged += x, x => global::Tizen.Multimedia.Recorder.DeviceStateChanged -= x); } } @@ -5379,7 +7827,13 @@ namespace Tizen.Multimedia.Remoting /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable MediaControlServerPlaybackCommandReceived => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Multimedia.Remoting.PlaybackCommandReceivedEventArgs>(x => global::Tizen.Multimedia.Remoting.MediaControlServer.PlaybackCommandReceived += x, x => global::Tizen.Multimedia.Remoting.MediaControlServer.PlaybackCommandReceived -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Multimedia.Remoting.PlaybackCommandReceivedEventArgs)> MediaControlServerPlaybackCommandReceived => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Multimedia.Remoting.PlaybackCommandReceivedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Multimedia.Remoting.PlaybackCommandReceivedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Multimedia.Remoting.MediaControlServer.PlaybackCommandReceived += x, x => global::Tizen.Multimedia.Remoting.MediaControlServer.PlaybackCommandReceived -= x); } } @@ -5393,27 +7847,63 @@ namespace Tizen.Network.Bluetooth /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable BluetoothAdapterDiscoveryStateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Bluetooth.DiscoveryStateChangedEventArgs>(x => global::Tizen.Network.Bluetooth.BluetoothAdapter.DiscoveryStateChanged += x, x => global::Tizen.Network.Bluetooth.BluetoothAdapter.DiscoveryStateChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Network.Bluetooth.DiscoveryStateChangedEventArgs)> BluetoothAdapterDiscoveryStateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Bluetooth.DiscoveryStateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Bluetooth.DiscoveryStateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Network.Bluetooth.BluetoothAdapter.DiscoveryStateChanged += x, x => global::Tizen.Network.Bluetooth.BluetoothAdapter.DiscoveryStateChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable BluetoothAdapterNameChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Bluetooth.NameChangedEventArgs>(x => global::Tizen.Network.Bluetooth.BluetoothAdapter.NameChanged += x, x => global::Tizen.Network.Bluetooth.BluetoothAdapter.NameChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Network.Bluetooth.NameChangedEventArgs)> BluetoothAdapterNameChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Bluetooth.NameChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Bluetooth.NameChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Network.Bluetooth.BluetoothAdapter.NameChanged += x, x => global::Tizen.Network.Bluetooth.BluetoothAdapter.NameChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable BluetoothAdapterScanResultChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Bluetooth.AdapterLeScanResultChangedEventArgs>(x => global::Tizen.Network.Bluetooth.BluetoothAdapter.ScanResultChanged += x, x => global::Tizen.Network.Bluetooth.BluetoothAdapter.ScanResultChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Network.Bluetooth.AdapterLeScanResultChangedEventArgs)> BluetoothAdapterScanResultChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Bluetooth.AdapterLeScanResultChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Bluetooth.AdapterLeScanResultChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Network.Bluetooth.BluetoothAdapter.ScanResultChanged += x, x => global::Tizen.Network.Bluetooth.BluetoothAdapter.ScanResultChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable BluetoothAdapterStateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Bluetooth.StateChangedEventArgs>(x => global::Tizen.Network.Bluetooth.BluetoothAdapter.StateChanged += x, x => global::Tizen.Network.Bluetooth.BluetoothAdapter.StateChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Network.Bluetooth.StateChangedEventArgs)> BluetoothAdapterStateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Bluetooth.StateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Bluetooth.StateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Network.Bluetooth.BluetoothAdapter.StateChanged += x, x => global::Tizen.Network.Bluetooth.BluetoothAdapter.StateChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable BluetoothAdapterVisibilityDurationChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Bluetooth.VisibilityDurationChangedEventArgs>(x => global::Tizen.Network.Bluetooth.BluetoothAdapter.VisibilityDurationChanged += x, x => global::Tizen.Network.Bluetooth.BluetoothAdapter.VisibilityDurationChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Network.Bluetooth.VisibilityDurationChangedEventArgs)> BluetoothAdapterVisibilityDurationChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Bluetooth.VisibilityDurationChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Bluetooth.VisibilityDurationChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Network.Bluetooth.BluetoothAdapter.VisibilityDurationChanged += x, x => global::Tizen.Network.Bluetooth.BluetoothAdapter.VisibilityDurationChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable BluetoothAdapterVisibilityModeChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Bluetooth.VisibilityModeChangedEventArgs>(x => global::Tizen.Network.Bluetooth.BluetoothAdapter.VisibilityModeChanged += x, x => global::Tizen.Network.Bluetooth.BluetoothAdapter.VisibilityModeChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Network.Bluetooth.VisibilityModeChangedEventArgs)> BluetoothAdapterVisibilityModeChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Bluetooth.VisibilityModeChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Bluetooth.VisibilityModeChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Network.Bluetooth.BluetoothAdapter.VisibilityModeChanged += x, x => global::Tizen.Network.Bluetooth.BluetoothAdapter.VisibilityModeChanged -= x); } } @@ -5427,19 +7917,43 @@ namespace Tizen.Network.Connection /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable ConnectionManagerConnectionTypeChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Connection.ConnectionTypeEventArgs>(x => global::Tizen.Network.Connection.ConnectionManager.ConnectionTypeChanged += x, x => global::Tizen.Network.Connection.ConnectionManager.ConnectionTypeChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Network.Connection.ConnectionTypeEventArgs)> ConnectionManagerConnectionTypeChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Connection.ConnectionTypeEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Connection.ConnectionTypeEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Network.Connection.ConnectionManager.ConnectionTypeChanged += x, x => global::Tizen.Network.Connection.ConnectionManager.ConnectionTypeChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable ConnectionManagerEthernetCableStateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Connection.EthernetCableStateEventArgs>(x => global::Tizen.Network.Connection.ConnectionManager.EthernetCableStateChanged += x, x => global::Tizen.Network.Connection.ConnectionManager.EthernetCableStateChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Network.Connection.EthernetCableStateEventArgs)> ConnectionManagerEthernetCableStateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Connection.EthernetCableStateEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Connection.EthernetCableStateEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Network.Connection.ConnectionManager.EthernetCableStateChanged += x, x => global::Tizen.Network.Connection.ConnectionManager.EthernetCableStateChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable ConnectionManagerIPAddressChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Connection.AddressEventArgs>(x => global::Tizen.Network.Connection.ConnectionManager.IPAddressChanged += x, x => global::Tizen.Network.Connection.ConnectionManager.IPAddressChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Network.Connection.AddressEventArgs)> ConnectionManagerIPAddressChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Connection.AddressEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Connection.AddressEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Network.Connection.ConnectionManager.IPAddressChanged += x, x => global::Tizen.Network.Connection.ConnectionManager.IPAddressChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable ConnectionManagerProxyAddressChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Connection.AddressEventArgs>(x => global::Tizen.Network.Connection.ConnectionManager.ProxyAddressChanged += x, x => global::Tizen.Network.Connection.ConnectionManager.ProxyAddressChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Network.Connection.AddressEventArgs)> ConnectionManagerProxyAddressChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Connection.AddressEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Connection.AddressEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Network.Connection.ConnectionManager.ProxyAddressChanged += x, x => global::Tizen.Network.Connection.ConnectionManager.ProxyAddressChanged -= x); } } @@ -5453,23 +7967,53 @@ namespace Tizen.Network.IoTConnectivity /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable IoTConnectivityClientManagerDeviceInformationFound => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.IoTConnectivity.DeviceInformationFoundEventArgs>(x => global::Tizen.Network.IoTConnectivity.IoTConnectivityClientManager.DeviceInformationFound += x, x => global::Tizen.Network.IoTConnectivity.IoTConnectivityClientManager.DeviceInformationFound -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Network.IoTConnectivity.DeviceInformationFoundEventArgs)> IoTConnectivityClientManagerDeviceInformationFound => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.IoTConnectivity.DeviceInformationFoundEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.IoTConnectivity.DeviceInformationFoundEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Network.IoTConnectivity.IoTConnectivityClientManager.DeviceInformationFound += x, x => global::Tizen.Network.IoTConnectivity.IoTConnectivityClientManager.DeviceInformationFound -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable IoTConnectivityClientManagerFindingErrorOccurred => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.IoTConnectivity.FindingErrorOccurredEventArgs>(x => global::Tizen.Network.IoTConnectivity.IoTConnectivityClientManager.FindingErrorOccurred += x, x => global::Tizen.Network.IoTConnectivity.IoTConnectivityClientManager.FindingErrorOccurred -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Network.IoTConnectivity.FindingErrorOccurredEventArgs)> IoTConnectivityClientManagerFindingErrorOccurred => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.IoTConnectivity.FindingErrorOccurredEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.IoTConnectivity.FindingErrorOccurredEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Network.IoTConnectivity.IoTConnectivityClientManager.FindingErrorOccurred += x, x => global::Tizen.Network.IoTConnectivity.IoTConnectivityClientManager.FindingErrorOccurred -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable IoTConnectivityClientManagerPlatformInformationFound => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.IoTConnectivity.PlatformInformationFoundEventArgs>(x => global::Tizen.Network.IoTConnectivity.IoTConnectivityClientManager.PlatformInformationFound += x, x => global::Tizen.Network.IoTConnectivity.IoTConnectivityClientManager.PlatformInformationFound -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Network.IoTConnectivity.PlatformInformationFoundEventArgs)> IoTConnectivityClientManagerPlatformInformationFound => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.IoTConnectivity.PlatformInformationFoundEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.IoTConnectivity.PlatformInformationFoundEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Network.IoTConnectivity.IoTConnectivityClientManager.PlatformInformationFound += x, x => global::Tizen.Network.IoTConnectivity.IoTConnectivityClientManager.PlatformInformationFound -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable IoTConnectivityClientManagerPresenceReceived => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.IoTConnectivity.PresenceReceivedEventArgs>(x => global::Tizen.Network.IoTConnectivity.IoTConnectivityClientManager.PresenceReceived += x, x => global::Tizen.Network.IoTConnectivity.IoTConnectivityClientManager.PresenceReceived -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Network.IoTConnectivity.PresenceReceivedEventArgs)> IoTConnectivityClientManagerPresenceReceived => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.IoTConnectivity.PresenceReceivedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.IoTConnectivity.PresenceReceivedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Network.IoTConnectivity.IoTConnectivityClientManager.PresenceReceived += x, x => global::Tizen.Network.IoTConnectivity.IoTConnectivityClientManager.PresenceReceived -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable IoTConnectivityClientManagerResourceFound => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.IoTConnectivity.ResourceFoundEventArgs>(x => global::Tizen.Network.IoTConnectivity.IoTConnectivityClientManager.ResourceFound += x, x => global::Tizen.Network.IoTConnectivity.IoTConnectivityClientManager.ResourceFound -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Network.IoTConnectivity.ResourceFoundEventArgs)> IoTConnectivityClientManagerResourceFound => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.IoTConnectivity.ResourceFoundEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.IoTConnectivity.ResourceFoundEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Network.IoTConnectivity.IoTConnectivityClientManager.ResourceFound += x, x => global::Tizen.Network.IoTConnectivity.IoTConnectivityClientManager.ResourceFound -= x); } } @@ -5483,11 +8027,23 @@ namespace Tizen.Network.Nfc /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable NfcManagerActivationChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Nfc.ActivationChangedEventArgs>(x => global::Tizen.Network.Nfc.NfcManager.ActivationChanged += x, x => global::Tizen.Network.Nfc.NfcManager.ActivationChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Network.Nfc.ActivationChangedEventArgs)> NfcManagerActivationChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Nfc.ActivationChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Nfc.ActivationChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Network.Nfc.NfcManager.ActivationChanged += x, x => global::Tizen.Network.Nfc.NfcManager.ActivationChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable NfcManagerNdefMessageDiscovered => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.Nfc.NdefMessageDiscoveredEventArgs>(x => global::Tizen.Network.Nfc.NfcManager.NdefMessageDiscovered += x, x => global::Tizen.Network.Nfc.NfcManager.NdefMessageDiscovered -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Network.Nfc.NdefMessageDiscoveredEventArgs)> NfcManagerNdefMessageDiscovered => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.Nfc.NdefMessageDiscoveredEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.Nfc.NdefMessageDiscoveredEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Network.Nfc.NfcManager.NdefMessageDiscovered += x, x => global::Tizen.Network.Nfc.NfcManager.NdefMessageDiscovered -= x); } } @@ -5501,19 +8057,43 @@ namespace Tizen.Network.WiFi /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable WiFiManagerBackgroundScanFinished => global::System.Reactive.Linq.Observable.FromEventPattern(x => global::Tizen.Network.WiFi.WiFiManager.BackgroundScanFinished += x, x => global::Tizen.Network.WiFi.WiFiManager.BackgroundScanFinished -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::System.EventArgs)> WiFiManagerBackgroundScanFinished => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Network.WiFi.WiFiManager.BackgroundScanFinished += x, x => global::Tizen.Network.WiFi.WiFiManager.BackgroundScanFinished -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable WiFiManagerConnectionStateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.WiFi.ConnectionStateChangedEventArgs>(x => global::Tizen.Network.WiFi.WiFiManager.ConnectionStateChanged += x, x => global::Tizen.Network.WiFi.WiFiManager.ConnectionStateChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Network.WiFi.ConnectionStateChangedEventArgs)> WiFiManagerConnectionStateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.WiFi.ConnectionStateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.WiFi.ConnectionStateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Network.WiFi.WiFiManager.ConnectionStateChanged += x, x => global::Tizen.Network.WiFi.WiFiManager.ConnectionStateChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable WiFiManagerDeviceStateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.WiFi.DeviceStateChangedEventArgs>(x => global::Tizen.Network.WiFi.WiFiManager.DeviceStateChanged += x, x => global::Tizen.Network.WiFi.WiFiManager.DeviceStateChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Network.WiFi.DeviceStateChangedEventArgs)> WiFiManagerDeviceStateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.WiFi.DeviceStateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.WiFi.DeviceStateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Network.WiFi.WiFiManager.DeviceStateChanged += x, x => global::Tizen.Network.WiFi.WiFiManager.DeviceStateChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable WiFiManagerRssiLevelChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.WiFi.RssiLevelChangedEventArgs>(x => global::Tizen.Network.WiFi.WiFiManager.RssiLevelChanged += x, x => global::Tizen.Network.WiFi.WiFiManager.RssiLevelChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Network.WiFi.RssiLevelChangedEventArgs)> WiFiManagerRssiLevelChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.WiFi.RssiLevelChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.WiFi.RssiLevelChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Network.WiFi.WiFiManager.RssiLevelChanged += x, x => global::Tizen.Network.WiFi.WiFiManager.RssiLevelChanged -= x); } } @@ -5527,23 +8107,53 @@ namespace Tizen.Network.WiFiDirect /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable WiFiDirectManagerConnectionStatusChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.WiFiDirect.ConnectionStatusChangedEventArgs>(x => global::Tizen.Network.WiFiDirect.WiFiDirectManager.ConnectionStatusChanged += x, x => global::Tizen.Network.WiFiDirect.WiFiDirectManager.ConnectionStatusChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Network.WiFiDirect.ConnectionStatusChangedEventArgs)> WiFiDirectManagerConnectionStatusChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.WiFiDirect.ConnectionStatusChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.WiFiDirect.ConnectionStatusChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Network.WiFiDirect.WiFiDirectManager.ConnectionStatusChanged += x, x => global::Tizen.Network.WiFiDirect.WiFiDirectManager.ConnectionStatusChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable WiFiDirectManagerDeviceStateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.WiFiDirect.DeviceStateChangedEventArgs>(x => global::Tizen.Network.WiFiDirect.WiFiDirectManager.DeviceStateChanged += x, x => global::Tizen.Network.WiFiDirect.WiFiDirectManager.DeviceStateChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Network.WiFiDirect.DeviceStateChangedEventArgs)> WiFiDirectManagerDeviceStateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.WiFiDirect.DeviceStateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.WiFiDirect.DeviceStateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Network.WiFiDirect.WiFiDirectManager.DeviceStateChanged += x, x => global::Tizen.Network.WiFiDirect.WiFiDirectManager.DeviceStateChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable WiFiDirectManagerDiscoveryStateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.WiFiDirect.DiscoveryStateChangedEventArgs>(x => global::Tizen.Network.WiFiDirect.WiFiDirectManager.DiscoveryStateChanged += x, x => global::Tizen.Network.WiFiDirect.WiFiDirectManager.DiscoveryStateChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Network.WiFiDirect.DiscoveryStateChangedEventArgs)> WiFiDirectManagerDiscoveryStateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.WiFiDirect.DiscoveryStateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.WiFiDirect.DiscoveryStateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Network.WiFiDirect.WiFiDirectManager.DiscoveryStateChanged += x, x => global::Tizen.Network.WiFiDirect.WiFiDirectManager.DiscoveryStateChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable WiFiDirectManagerPeerFound => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.WiFiDirect.PeerFoundEventArgs>(x => global::Tizen.Network.WiFiDirect.WiFiDirectManager.PeerFound += x, x => global::Tizen.Network.WiFiDirect.WiFiDirectManager.PeerFound -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Network.WiFiDirect.PeerFoundEventArgs)> WiFiDirectManagerPeerFound => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.WiFiDirect.PeerFoundEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.WiFiDirect.PeerFoundEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Network.WiFiDirect.WiFiDirectManager.PeerFound += x, x => global::Tizen.Network.WiFiDirect.WiFiDirectManager.PeerFound -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable WiFiDirectManagerStateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Network.WiFiDirect.StateChangedEventArgs>(x => global::Tizen.Network.WiFiDirect.WiFiDirectManager.StateChanged += x, x => global::Tizen.Network.WiFiDirect.WiFiDirectManager.StateChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Network.WiFiDirect.StateChangedEventArgs)> WiFiDirectManagerStateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Network.WiFiDirect.StateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Network.WiFiDirect.StateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Network.WiFiDirect.WiFiDirectManager.StateChanged += x, x => global::Tizen.Network.WiFiDirect.WiFiDirectManager.StateChanged -= x); } } @@ -5557,7 +8167,13 @@ namespace Tizen.Pims.Calendar /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable CalendarReminderReminderAlerted => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Pims.Calendar.ReminderAlertedEventArgs>(x => global::Tizen.Pims.Calendar.CalendarReminder.ReminderAlerted += x, x => global::Tizen.Pims.Calendar.CalendarReminder.ReminderAlerted -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Pims.Calendar.ReminderAlertedEventArgs)> CalendarReminderReminderAlerted => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Pims.Calendar.ReminderAlertedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Pims.Calendar.ReminderAlertedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Pims.Calendar.CalendarReminder.ReminderAlerted += x, x => global::Tizen.Pims.Calendar.CalendarReminder.ReminderAlerted -= x); } } @@ -5571,151 +8187,373 @@ namespace Tizen.System /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable BatteryChargingStateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.System.BatteryChargingStateChangedEventArgs>(x => global::Tizen.System.Battery.ChargingStateChanged += x, x => global::Tizen.System.Battery.ChargingStateChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.System.BatteryChargingStateChangedEventArgs)> BatteryChargingStateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.System.BatteryChargingStateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.System.BatteryChargingStateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.System.Battery.ChargingStateChanged += x, x => global::Tizen.System.Battery.ChargingStateChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable BatteryLevelChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.System.BatteryLevelChangedEventArgs>(x => global::Tizen.System.Battery.LevelChanged += x, x => global::Tizen.System.Battery.LevelChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.System.BatteryLevelChangedEventArgs)> BatteryLevelChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.System.BatteryLevelChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.System.BatteryLevelChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.System.Battery.LevelChanged += x, x => global::Tizen.System.Battery.LevelChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable BatteryPercentChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.System.BatteryPercentChangedEventArgs>(x => global::Tizen.System.Battery.PercentChanged += x, x => global::Tizen.System.Battery.PercentChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.System.BatteryPercentChangedEventArgs)> BatteryPercentChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.System.BatteryPercentChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.System.BatteryPercentChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.System.Battery.PercentChanged += x, x => global::Tizen.System.Battery.PercentChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable DisplayStateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.System.DisplayStateChangedEventArgs>(x => global::Tizen.System.Display.StateChanged += x, x => global::Tizen.System.Display.StateChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.System.DisplayStateChangedEventArgs)> DisplayStateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.System.DisplayStateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.System.DisplayStateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.System.Display.StateChanged += x, x => global::Tizen.System.Display.StateChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable LedBrightnessChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.System.LedBrightnessChangedEventArgs>(x => global::Tizen.System.Led.BrightnessChanged += x, x => global::Tizen.System.Led.BrightnessChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.System.LedBrightnessChangedEventArgs)> LedBrightnessChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.System.LedBrightnessChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.System.LedBrightnessChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.System.Led.BrightnessChanged += x, x => global::Tizen.System.Led.BrightnessChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable MediaKeyEvent => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.System.MediaKeyEventArgs>(x => global::Tizen.System.MediaKey.Event += x, x => global::Tizen.System.MediaKey.Event -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.System.MediaKeyEventArgs)> MediaKeyEvent => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.System.MediaKeyEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.System.MediaKeyEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.System.MediaKey.Event += x, x => global::Tizen.System.MediaKey.Event -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable SystemSettingsAccessibilityTtsSettingChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.System.AccessibilityTtsSettingChangedEventArgs>(x => global::Tizen.System.SystemSettings.AccessibilityTtsSettingChanged += x, x => global::Tizen.System.SystemSettings.AccessibilityTtsSettingChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.System.AccessibilityTtsSettingChangedEventArgs)> SystemSettingsAccessibilityTtsSettingChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.System.AccessibilityTtsSettingChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.System.AccessibilityTtsSettingChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.System.SystemSettings.AccessibilityTtsSettingChanged += x, x => global::Tizen.System.SystemSettings.AccessibilityTtsSettingChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable SystemSettingsAdsIdChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.System.AdsIdChangedEventArgs>(x => global::Tizen.System.SystemSettings.AdsIdChanged += x, x => global::Tizen.System.SystemSettings.AdsIdChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.System.AdsIdChangedEventArgs)> SystemSettingsAdsIdChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.System.AdsIdChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.System.AdsIdChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.System.SystemSettings.AdsIdChanged += x, x => global::Tizen.System.SystemSettings.AdsIdChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable SystemSettingsData3GNetworkSettingChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.System.Data3GNetworkSettingChangedEventArgs>(x => global::Tizen.System.SystemSettings.Data3GNetworkSettingChanged += x, x => global::Tizen.System.SystemSettings.Data3GNetworkSettingChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.System.Data3GNetworkSettingChangedEventArgs)> SystemSettingsData3GNetworkSettingChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.System.Data3GNetworkSettingChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.System.Data3GNetworkSettingChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.System.SystemSettings.Data3GNetworkSettingChanged += x, x => global::Tizen.System.SystemSettings.Data3GNetworkSettingChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable SystemSettingsDeviceNameChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.System.DeviceNameChangedEventArgs>(x => global::Tizen.System.SystemSettings.DeviceNameChanged += x, x => global::Tizen.System.SystemSettings.DeviceNameChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.System.DeviceNameChangedEventArgs)> SystemSettingsDeviceNameChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.System.DeviceNameChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.System.DeviceNameChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.System.SystemSettings.DeviceNameChanged += x, x => global::Tizen.System.SystemSettings.DeviceNameChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable SystemSettingsDisplayScreenRotationAutoSettingChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.System.DisplayScreenRotationAutoSettingChangedEventArgs>(x => global::Tizen.System.SystemSettings.DisplayScreenRotationAutoSettingChanged += x, x => global::Tizen.System.SystemSettings.DisplayScreenRotationAutoSettingChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.System.DisplayScreenRotationAutoSettingChangedEventArgs)> SystemSettingsDisplayScreenRotationAutoSettingChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.System.DisplayScreenRotationAutoSettingChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.System.DisplayScreenRotationAutoSettingChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.System.SystemSettings.DisplayScreenRotationAutoSettingChanged += x, x => global::Tizen.System.SystemSettings.DisplayScreenRotationAutoSettingChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable SystemSettingsEmailAlertRingtoneChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.System.EmailAlertRingtoneChangedEventArgs>(x => global::Tizen.System.SystemSettings.EmailAlertRingtoneChanged += x, x => global::Tizen.System.SystemSettings.EmailAlertRingtoneChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.System.EmailAlertRingtoneChangedEventArgs)> SystemSettingsEmailAlertRingtoneChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.System.EmailAlertRingtoneChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.System.EmailAlertRingtoneChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.System.SystemSettings.EmailAlertRingtoneChanged += x, x => global::Tizen.System.SystemSettings.EmailAlertRingtoneChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable SystemSettingsFontSizeChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.System.FontSizeChangedEventArgs>(x => global::Tizen.System.SystemSettings.FontSizeChanged += x, x => global::Tizen.System.SystemSettings.FontSizeChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.System.FontSizeChangedEventArgs)> SystemSettingsFontSizeChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.System.FontSizeChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.System.FontSizeChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.System.SystemSettings.FontSizeChanged += x, x => global::Tizen.System.SystemSettings.FontSizeChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable SystemSettingsFontTypeChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.System.FontTypeChangedEventArgs>(x => global::Tizen.System.SystemSettings.FontTypeChanged += x, x => global::Tizen.System.SystemSettings.FontTypeChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.System.FontTypeChangedEventArgs)> SystemSettingsFontTypeChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.System.FontTypeChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.System.FontTypeChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.System.SystemSettings.FontTypeChanged += x, x => global::Tizen.System.SystemSettings.FontTypeChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable SystemSettingsIncomingCallRingtoneChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.System.IncomingCallRingtoneChangedEventArgs>(x => global::Tizen.System.SystemSettings.IncomingCallRingtoneChanged += x, x => global::Tizen.System.SystemSettings.IncomingCallRingtoneChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.System.IncomingCallRingtoneChangedEventArgs)> SystemSettingsIncomingCallRingtoneChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.System.IncomingCallRingtoneChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.System.IncomingCallRingtoneChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.System.SystemSettings.IncomingCallRingtoneChanged += x, x => global::Tizen.System.SystemSettings.IncomingCallRingtoneChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable SystemSettingsLocaleCountryChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.System.LocaleCountryChangedEventArgs>(x => global::Tizen.System.SystemSettings.LocaleCountryChanged += x, x => global::Tizen.System.SystemSettings.LocaleCountryChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.System.LocaleCountryChangedEventArgs)> SystemSettingsLocaleCountryChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.System.LocaleCountryChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.System.LocaleCountryChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.System.SystemSettings.LocaleCountryChanged += x, x => global::Tizen.System.SystemSettings.LocaleCountryChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable SystemSettingsLocaleLanguageChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.System.LocaleLanguageChangedEventArgs>(x => global::Tizen.System.SystemSettings.LocaleLanguageChanged += x, x => global::Tizen.System.SystemSettings.LocaleLanguageChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.System.LocaleLanguageChangedEventArgs)> SystemSettingsLocaleLanguageChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.System.LocaleLanguageChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.System.LocaleLanguageChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.System.SystemSettings.LocaleLanguageChanged += x, x => global::Tizen.System.SystemSettings.LocaleLanguageChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable SystemSettingsLocaleTimeFormat24HourSettingChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.System.LocaleTimeFormat24HourSettingChangedEventArgs>(x => global::Tizen.System.SystemSettings.LocaleTimeFormat24HourSettingChanged += x, x => global::Tizen.System.SystemSettings.LocaleTimeFormat24HourSettingChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.System.LocaleTimeFormat24HourSettingChangedEventArgs)> SystemSettingsLocaleTimeFormat24HourSettingChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.System.LocaleTimeFormat24HourSettingChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.System.LocaleTimeFormat24HourSettingChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.System.SystemSettings.LocaleTimeFormat24HourSettingChanged += x, x => global::Tizen.System.SystemSettings.LocaleTimeFormat24HourSettingChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable SystemSettingsLocaleTimeZoneChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.System.LocaleTimeZoneChangedEventArgs>(x => global::Tizen.System.SystemSettings.LocaleTimeZoneChanged += x, x => global::Tizen.System.SystemSettings.LocaleTimeZoneChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.System.LocaleTimeZoneChangedEventArgs)> SystemSettingsLocaleTimeZoneChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.System.LocaleTimeZoneChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.System.LocaleTimeZoneChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.System.SystemSettings.LocaleTimeZoneChanged += x, x => global::Tizen.System.SystemSettings.LocaleTimeZoneChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable SystemSettingsLockScreenAppChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.System.LockScreenAppChangedEventArgs>(x => global::Tizen.System.SystemSettings.LockScreenAppChanged += x, x => global::Tizen.System.SystemSettings.LockScreenAppChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.System.LockScreenAppChangedEventArgs)> SystemSettingsLockScreenAppChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.System.LockScreenAppChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.System.LockScreenAppChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.System.SystemSettings.LockScreenAppChanged += x, x => global::Tizen.System.SystemSettings.LockScreenAppChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable SystemSettingsLockStateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.System.LockStateChangedEventArgs>(x => global::Tizen.System.SystemSettings.LockStateChanged += x, x => global::Tizen.System.SystemSettings.LockStateChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.System.LockStateChangedEventArgs)> SystemSettingsLockStateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.System.LockStateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.System.LockStateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.System.SystemSettings.LockStateChanged += x, x => global::Tizen.System.SystemSettings.LockStateChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable SystemSettingsMotionActivationSettingChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.System.MotionActivationSettingChangedEventArgs>(x => global::Tizen.System.SystemSettings.MotionActivationSettingChanged += x, x => global::Tizen.System.SystemSettings.MotionActivationSettingChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.System.MotionActivationSettingChangedEventArgs)> SystemSettingsMotionActivationSettingChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.System.MotionActivationSettingChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.System.MotionActivationSettingChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.System.SystemSettings.MotionActivationSettingChanged += x, x => global::Tizen.System.SystemSettings.MotionActivationSettingChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable SystemSettingsMotionSettingChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.System.MotionSettingChangedEventArgs>(x => global::Tizen.System.SystemSettings.MotionSettingChanged += x, x => global::Tizen.System.SystemSettings.MotionSettingChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.System.MotionSettingChangedEventArgs)> SystemSettingsMotionSettingChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.System.MotionSettingChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.System.MotionSettingChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.System.SystemSettings.MotionSettingChanged += x, x => global::Tizen.System.SystemSettings.MotionSettingChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable SystemSettingsNetworkFlightModeSettingChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.System.NetworkFlightModeSettingChangedEventArgs>(x => global::Tizen.System.SystemSettings.NetworkFlightModeSettingChanged += x, x => global::Tizen.System.SystemSettings.NetworkFlightModeSettingChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.System.NetworkFlightModeSettingChangedEventArgs)> SystemSettingsNetworkFlightModeSettingChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.System.NetworkFlightModeSettingChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.System.NetworkFlightModeSettingChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.System.SystemSettings.NetworkFlightModeSettingChanged += x, x => global::Tizen.System.SystemSettings.NetworkFlightModeSettingChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable SystemSettingsNetworkWifiNotificationSettingChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.System.NetworkWifiNotificationSettingChangedEventArgs>(x => global::Tizen.System.SystemSettings.NetworkWifiNotificationSettingChanged += x, x => global::Tizen.System.SystemSettings.NetworkWifiNotificationSettingChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.System.NetworkWifiNotificationSettingChangedEventArgs)> SystemSettingsNetworkWifiNotificationSettingChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.System.NetworkWifiNotificationSettingChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.System.NetworkWifiNotificationSettingChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.System.SystemSettings.NetworkWifiNotificationSettingChanged += x, x => global::Tizen.System.SystemSettings.NetworkWifiNotificationSettingChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable SystemSettingsScreenBacklightTimeChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.System.ScreenBacklightTimeChangedEventArgs>(x => global::Tizen.System.SystemSettings.ScreenBacklightTimeChanged += x, x => global::Tizen.System.SystemSettings.ScreenBacklightTimeChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.System.ScreenBacklightTimeChangedEventArgs)> SystemSettingsScreenBacklightTimeChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.System.ScreenBacklightTimeChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.System.ScreenBacklightTimeChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.System.SystemSettings.ScreenBacklightTimeChanged += x, x => global::Tizen.System.SystemSettings.ScreenBacklightTimeChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable SystemSettingsSoundLockSettingChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.System.SoundLockSettingChangedEventArgs>(x => global::Tizen.System.SystemSettings.SoundLockSettingChanged += x, x => global::Tizen.System.SystemSettings.SoundLockSettingChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.System.SoundLockSettingChangedEventArgs)> SystemSettingsSoundLockSettingChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.System.SoundLockSettingChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.System.SoundLockSettingChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.System.SystemSettings.SoundLockSettingChanged += x, x => global::Tizen.System.SystemSettings.SoundLockSettingChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable SystemSettingsSoundNotificationChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.System.SoundNotificationChangedEventArgs>(x => global::Tizen.System.SystemSettings.SoundNotificationChanged += x, x => global::Tizen.System.SystemSettings.SoundNotificationChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.System.SoundNotificationChangedEventArgs)> SystemSettingsSoundNotificationChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.System.SoundNotificationChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.System.SoundNotificationChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.System.SystemSettings.SoundNotificationChanged += x, x => global::Tizen.System.SystemSettings.SoundNotificationChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable SystemSettingsSoundNotificationRepetitionPeriodChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.System.SoundNotificationRepetitionPeriodChangedEventArgs>(x => global::Tizen.System.SystemSettings.SoundNotificationRepetitionPeriodChanged += x, x => global::Tizen.System.SystemSettings.SoundNotificationRepetitionPeriodChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.System.SoundNotificationRepetitionPeriodChangedEventArgs)> SystemSettingsSoundNotificationRepetitionPeriodChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.System.SoundNotificationRepetitionPeriodChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.System.SoundNotificationRepetitionPeriodChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.System.SystemSettings.SoundNotificationRepetitionPeriodChanged += x, x => global::Tizen.System.SystemSettings.SoundNotificationRepetitionPeriodChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable SystemSettingsSoundSilentModeSettingChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.System.SoundSilentModeSettingChangedEventArgs>(x => global::Tizen.System.SystemSettings.SoundSilentModeSettingChanged += x, x => global::Tizen.System.SystemSettings.SoundSilentModeSettingChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.System.SoundSilentModeSettingChangedEventArgs)> SystemSettingsSoundSilentModeSettingChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.System.SoundSilentModeSettingChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.System.SoundSilentModeSettingChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.System.SystemSettings.SoundSilentModeSettingChanged += x, x => global::Tizen.System.SystemSettings.SoundSilentModeSettingChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable SystemSettingsSoundTouchSettingChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.System.SoundTouchSettingChangedEventArgs>(x => global::Tizen.System.SystemSettings.SoundTouchSettingChanged += x, x => global::Tizen.System.SystemSettings.SoundTouchSettingChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.System.SoundTouchSettingChangedEventArgs)> SystemSettingsSoundTouchSettingChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.System.SoundTouchSettingChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.System.SoundTouchSettingChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.System.SystemSettings.SoundTouchSettingChanged += x, x => global::Tizen.System.SystemSettings.SoundTouchSettingChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable SystemSettingsTimeChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.System.TimeChangedEventArgs>(x => global::Tizen.System.SystemSettings.TimeChanged += x, x => global::Tizen.System.SystemSettings.TimeChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.System.TimeChangedEventArgs)> SystemSettingsTimeChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.System.TimeChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.System.TimeChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.System.SystemSettings.TimeChanged += x, x => global::Tizen.System.SystemSettings.TimeChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable SystemSettingsUltraDataSaveChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.System.UltraDataSaveChangedEventArgs>(x => global::Tizen.System.SystemSettings.UltraDataSaveChanged += x, x => global::Tizen.System.SystemSettings.UltraDataSaveChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.System.UltraDataSaveChangedEventArgs)> SystemSettingsUltraDataSaveChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.System.UltraDataSaveChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.System.UltraDataSaveChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.System.SystemSettings.UltraDataSaveChanged += x, x => global::Tizen.System.SystemSettings.UltraDataSaveChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable SystemSettingsUltraDataSavePackageListChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.System.UltraDataSavePackageListChangedEventArgs>(x => global::Tizen.System.SystemSettings.UltraDataSavePackageListChanged += x, x => global::Tizen.System.SystemSettings.UltraDataSavePackageListChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.System.UltraDataSavePackageListChangedEventArgs)> SystemSettingsUltraDataSavePackageListChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.System.UltraDataSavePackageListChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.System.UltraDataSavePackageListChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.System.SystemSettings.UltraDataSavePackageListChanged += x, x => global::Tizen.System.SystemSettings.UltraDataSavePackageListChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable SystemSettingsUsbDebuggingSettingChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.System.UsbDebuggingSettingChangedEventArgs>(x => global::Tizen.System.SystemSettings.UsbDebuggingSettingChanged += x, x => global::Tizen.System.SystemSettings.UsbDebuggingSettingChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.System.UsbDebuggingSettingChangedEventArgs)> SystemSettingsUsbDebuggingSettingChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.System.UsbDebuggingSettingChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.System.UsbDebuggingSettingChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.System.SystemSettings.UsbDebuggingSettingChanged += x, x => global::Tizen.System.SystemSettings.UsbDebuggingSettingChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable SystemSettingsWallpaperHomeScreenChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.System.WallpaperHomeScreenChangedEventArgs>(x => global::Tizen.System.SystemSettings.WallpaperHomeScreenChanged += x, x => global::Tizen.System.SystemSettings.WallpaperHomeScreenChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.System.WallpaperHomeScreenChangedEventArgs)> SystemSettingsWallpaperHomeScreenChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.System.WallpaperHomeScreenChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.System.WallpaperHomeScreenChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.System.SystemSettings.WallpaperHomeScreenChanged += x, x => global::Tizen.System.SystemSettings.WallpaperHomeScreenChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable SystemSettingsWallpaperLockScreenChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.System.WallpaperLockScreenChangedEventArgs>(x => global::Tizen.System.SystemSettings.WallpaperLockScreenChanged += x, x => global::Tizen.System.SystemSettings.WallpaperLockScreenChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.System.WallpaperLockScreenChangedEventArgs)> SystemSettingsWallpaperLockScreenChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.System.WallpaperLockScreenChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.System.WallpaperLockScreenChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.System.SystemSettings.WallpaperLockScreenChanged += x, x => global::Tizen.System.SystemSettings.WallpaperLockScreenChanged -= x); } } @@ -5729,7 +8567,13 @@ namespace Tizen.Telephony /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable ManagerStateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Telephony.StateEventArgs>(x => global::Tizen.Telephony.Manager.StateChanged += x, x => global::Tizen.Telephony.Manager.StateChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Telephony.StateEventArgs)> ManagerStateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Telephony.StateEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Telephony.StateEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Telephony.Manager.StateChanged += x, x => global::Tizen.Telephony.Manager.StateChanged -= x); } } @@ -5743,55 +8587,133 @@ namespace Tizen.Uix.InputMethod /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable InputMethodEditorAccessibilityStateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Uix.InputMethod.AccessibilityStateChangedEventArgs>(x => global::Tizen.Uix.InputMethod.InputMethodEditor.AccessibilityStateChanged += x, x => global::Tizen.Uix.InputMethod.InputMethodEditor.AccessibilityStateChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Uix.InputMethod.AccessibilityStateChangedEventArgs)> InputMethodEditorAccessibilityStateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Uix.InputMethod.AccessibilityStateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Uix.InputMethod.AccessibilityStateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Uix.InputMethod.InputMethodEditor.AccessibilityStateChanged += x, x => global::Tizen.Uix.InputMethod.InputMethodEditor.AccessibilityStateChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable InputMethodEditorCursorPositionUpdated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Uix.InputMethod.CursorPositionUpdatedEventArgs>(x => global::Tizen.Uix.InputMethod.InputMethodEditor.CursorPositionUpdated += x, x => global::Tizen.Uix.InputMethod.InputMethodEditor.CursorPositionUpdated -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Uix.InputMethod.CursorPositionUpdatedEventArgs)> InputMethodEditorCursorPositionUpdated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Uix.InputMethod.CursorPositionUpdatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Uix.InputMethod.CursorPositionUpdatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Uix.InputMethod.InputMethodEditor.CursorPositionUpdated += x, x => global::Tizen.Uix.InputMethod.InputMethodEditor.CursorPositionUpdated -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable InputMethodEditorDataSet => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Uix.InputMethod.SetDataEventArgs>(x => global::Tizen.Uix.InputMethod.InputMethodEditor.DataSet += x, x => global::Tizen.Uix.InputMethod.InputMethodEditor.DataSet -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Uix.InputMethod.SetDataEventArgs)> InputMethodEditorDataSet => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Uix.InputMethod.SetDataEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Uix.InputMethod.SetDataEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Uix.InputMethod.InputMethodEditor.DataSet += x, x => global::Tizen.Uix.InputMethod.InputMethodEditor.DataSet -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable InputMethodEditorDisplayLanguageChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Uix.InputMethod.DisplayLanguageChangedEventArgs>(x => global::Tizen.Uix.InputMethod.InputMethodEditor.DisplayLanguageChanged += x, x => global::Tizen.Uix.InputMethod.InputMethodEditor.DisplayLanguageChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Uix.InputMethod.DisplayLanguageChangedEventArgs)> InputMethodEditorDisplayLanguageChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Uix.InputMethod.DisplayLanguageChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Uix.InputMethod.DisplayLanguageChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Uix.InputMethod.InputMethodEditor.DisplayLanguageChanged += x, x => global::Tizen.Uix.InputMethod.InputMethodEditor.DisplayLanguageChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable InputMethodEditorFocusedIn => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Uix.InputMethod.FocusedInEventArgs>(x => global::Tizen.Uix.InputMethod.InputMethodEditor.FocusedIn += x, x => global::Tizen.Uix.InputMethod.InputMethodEditor.FocusedIn -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Uix.InputMethod.FocusedInEventArgs)> InputMethodEditorFocusedIn => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Uix.InputMethod.FocusedInEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Uix.InputMethod.FocusedInEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Uix.InputMethod.InputMethodEditor.FocusedIn += x, x => global::Tizen.Uix.InputMethod.InputMethodEditor.FocusedIn -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable InputMethodEditorFocusedOut => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Uix.InputMethod.FocusedOutEventArgs>(x => global::Tizen.Uix.InputMethod.InputMethodEditor.FocusedOut += x, x => global::Tizen.Uix.InputMethod.InputMethodEditor.FocusedOut -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Uix.InputMethod.FocusedOutEventArgs)> InputMethodEditorFocusedOut => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Uix.InputMethod.FocusedOutEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Uix.InputMethod.FocusedOutEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Uix.InputMethod.InputMethodEditor.FocusedOut += x, x => global::Tizen.Uix.InputMethod.InputMethodEditor.FocusedOut -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable InputMethodEditorInputContextReset => global::System.Reactive.Linq.Observable.FromEventPattern, global::System.EventArgs>(x => global::Tizen.Uix.InputMethod.InputMethodEditor.InputContextReset += x, x => global::Tizen.Uix.InputMethod.InputMethodEditor.InputContextReset -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::System.EventArgs)> InputMethodEditorInputContextReset => global::System.Reactive.Linq.Observable.FromEvent, (object, global::System.EventArgs)>(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Uix.InputMethod.InputMethodEditor.InputContextReset += x, x => global::Tizen.Uix.InputMethod.InputMethodEditor.InputContextReset -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable InputMethodEditorLanguageSet => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Uix.InputMethod.LanguageSetEventArgs>(x => global::Tizen.Uix.InputMethod.InputMethodEditor.LanguageSet += x, x => global::Tizen.Uix.InputMethod.InputMethodEditor.LanguageSet -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Uix.InputMethod.LanguageSetEventArgs)> InputMethodEditorLanguageSet => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Uix.InputMethod.LanguageSetEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Uix.InputMethod.LanguageSetEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Uix.InputMethod.InputMethodEditor.LanguageSet += x, x => global::Tizen.Uix.InputMethod.InputMethodEditor.LanguageSet -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable InputMethodEditorLayoutSet => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Uix.InputMethod.LayoutSetEventArgs>(x => global::Tizen.Uix.InputMethod.InputMethodEditor.LayoutSet += x, x => global::Tizen.Uix.InputMethod.InputMethodEditor.LayoutSet -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Uix.InputMethod.LayoutSetEventArgs)> InputMethodEditorLayoutSet => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Uix.InputMethod.LayoutSetEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Uix.InputMethod.LayoutSetEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Uix.InputMethod.InputMethodEditor.LayoutSet += x, x => global::Tizen.Uix.InputMethod.InputMethodEditor.LayoutSet -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable InputMethodEditorReturnKeySet => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Uix.InputMethod.ReturnKeySetEventArgs>(x => global::Tizen.Uix.InputMethod.InputMethodEditor.ReturnKeySet += x, x => global::Tizen.Uix.InputMethod.InputMethodEditor.ReturnKeySet -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Uix.InputMethod.ReturnKeySetEventArgs)> InputMethodEditorReturnKeySet => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Uix.InputMethod.ReturnKeySetEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Uix.InputMethod.ReturnKeySetEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Uix.InputMethod.InputMethodEditor.ReturnKeySet += x, x => global::Tizen.Uix.InputMethod.InputMethodEditor.ReturnKeySet -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable InputMethodEditorReturnKeyStateSet => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Uix.InputMethod.ReturnKeyStateSetEventArgs>(x => global::Tizen.Uix.InputMethod.InputMethodEditor.ReturnKeyStateSet += x, x => global::Tizen.Uix.InputMethod.InputMethodEditor.ReturnKeyStateSet -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Uix.InputMethod.ReturnKeyStateSetEventArgs)> InputMethodEditorReturnKeyStateSet => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Uix.InputMethod.ReturnKeyStateSetEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Uix.InputMethod.ReturnKeyStateSetEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Uix.InputMethod.InputMethodEditor.ReturnKeyStateSet += x, x => global::Tizen.Uix.InputMethod.InputMethodEditor.ReturnKeyStateSet -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable InputMethodEditorRotationChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Uix.InputMethod.RotationChangedEventArgs>(x => global::Tizen.Uix.InputMethod.InputMethodEditor.RotationChanged += x, x => global::Tizen.Uix.InputMethod.InputMethodEditor.RotationChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Uix.InputMethod.RotationChangedEventArgs)> InputMethodEditorRotationChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Uix.InputMethod.RotationChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Uix.InputMethod.RotationChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Uix.InputMethod.InputMethodEditor.RotationChanged += x, x => global::Tizen.Uix.InputMethod.InputMethodEditor.RotationChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable InputMethodEditorSurroundingTextUpdated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Uix.InputMethod.SurroundingTextUpdatedEventArgs>(x => global::Tizen.Uix.InputMethod.InputMethodEditor.SurroundingTextUpdated += x, x => global::Tizen.Uix.InputMethod.InputMethodEditor.SurroundingTextUpdated -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Uix.InputMethod.SurroundingTextUpdatedEventArgs)> InputMethodEditorSurroundingTextUpdated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Uix.InputMethod.SurroundingTextUpdatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Uix.InputMethod.SurroundingTextUpdatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Uix.InputMethod.InputMethodEditor.SurroundingTextUpdated += x, x => global::Tizen.Uix.InputMethod.InputMethodEditor.SurroundingTextUpdated -= x); } } @@ -5805,22 +8727,52 @@ namespace Tizen.Uix.VoiceControl /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable VoiceControlClientCurrentLanguageChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Uix.VoiceControl.CurrentLanguageChangedEventArgs>(x => global::Tizen.Uix.VoiceControl.VoiceControlClient.CurrentLanguageChanged += x, x => global::Tizen.Uix.VoiceControl.VoiceControlClient.CurrentLanguageChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Uix.VoiceControl.CurrentLanguageChangedEventArgs)> VoiceControlClientCurrentLanguageChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Uix.VoiceControl.CurrentLanguageChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Uix.VoiceControl.CurrentLanguageChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Uix.VoiceControl.VoiceControlClient.CurrentLanguageChanged += x, x => global::Tizen.Uix.VoiceControl.VoiceControlClient.CurrentLanguageChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable VoiceControlClientErrorOccured => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Uix.VoiceControl.ErrorOccuredEventArgs>(x => global::Tizen.Uix.VoiceControl.VoiceControlClient.ErrorOccured += x, x => global::Tizen.Uix.VoiceControl.VoiceControlClient.ErrorOccured -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Uix.VoiceControl.ErrorOccuredEventArgs)> VoiceControlClientErrorOccured => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Uix.VoiceControl.ErrorOccuredEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Uix.VoiceControl.ErrorOccuredEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Uix.VoiceControl.VoiceControlClient.ErrorOccured += x, x => global::Tizen.Uix.VoiceControl.VoiceControlClient.ErrorOccured -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable VoiceControlClientRecognitionResult => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Uix.VoiceControl.RecognitionResultEventArgs>(x => global::Tizen.Uix.VoiceControl.VoiceControlClient.RecognitionResult += x, x => global::Tizen.Uix.VoiceControl.VoiceControlClient.RecognitionResult -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Uix.VoiceControl.RecognitionResultEventArgs)> VoiceControlClientRecognitionResult => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Uix.VoiceControl.RecognitionResultEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Uix.VoiceControl.RecognitionResultEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Uix.VoiceControl.VoiceControlClient.RecognitionResult += x, x => global::Tizen.Uix.VoiceControl.VoiceControlClient.RecognitionResult -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable VoiceControlClientServiceStateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Uix.VoiceControl.ServiceStateChangedEventArgs>(x => global::Tizen.Uix.VoiceControl.VoiceControlClient.ServiceStateChanged += x, x => global::Tizen.Uix.VoiceControl.VoiceControlClient.ServiceStateChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Uix.VoiceControl.ServiceStateChangedEventArgs)> VoiceControlClientServiceStateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Uix.VoiceControl.ServiceStateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Uix.VoiceControl.ServiceStateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Uix.VoiceControl.VoiceControlClient.ServiceStateChanged += x, x => global::Tizen.Uix.VoiceControl.VoiceControlClient.ServiceStateChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable VoiceControlClientStateChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Tizen.Uix.VoiceControl.StateChangedEventArgs>(x => global::Tizen.Uix.VoiceControl.VoiceControlClient.StateChanged += x, x => global::Tizen.Uix.VoiceControl.VoiceControlClient.StateChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Tizen.Uix.VoiceControl.StateChangedEventArgs)> VoiceControlClientStateChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Tizen.Uix.VoiceControl.StateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Tizen.Uix.VoiceControl.StateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Tizen.Uix.VoiceControl.VoiceControlClient.StateChanged += x, x => global::Tizen.Uix.VoiceControl.VoiceControlClient.StateChanged -= x); } } \ No newline at end of file diff --git a/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Essentials.1.1.0.approved.txt b/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Essentials.1.1.0.approved.txt index 4dc3ac8..fadbffc 100644 --- a/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Essentials.1.1.0.approved.txt +++ b/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Essentials.1.1.0.approved.txt @@ -1,3 +1,4 @@ + namespace Xamarin.Essentials { /// @@ -8,46 +9,112 @@ namespace Xamarin.Essentials /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable AccelerometerReadingChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Essentials.AccelerometerChangedEventArgs>(x => global::Xamarin.Essentials.Accelerometer.ReadingChanged += x, x => global::Xamarin.Essentials.Accelerometer.ReadingChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Xamarin.Essentials.AccelerometerChangedEventArgs)> AccelerometerReadingChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Essentials.AccelerometerChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Essentials.AccelerometerChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Xamarin.Essentials.Accelerometer.ReadingChanged += x, x => global::Xamarin.Essentials.Accelerometer.ReadingChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable AccelerometerShakeDetected => global::System.Reactive.Linq.Observable.FromEventPattern(x => global::Xamarin.Essentials.Accelerometer.ShakeDetected += x, x => global::Xamarin.Essentials.Accelerometer.ShakeDetected -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::System.EventArgs)> AccelerometerShakeDetected => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Xamarin.Essentials.Accelerometer.ShakeDetected += x, x => global::Xamarin.Essentials.Accelerometer.ShakeDetected -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable BarometerReadingChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Essentials.BarometerChangedEventArgs>(x => global::Xamarin.Essentials.Barometer.ReadingChanged += x, x => global::Xamarin.Essentials.Barometer.ReadingChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Xamarin.Essentials.BarometerChangedEventArgs)> BarometerReadingChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Essentials.BarometerChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Essentials.BarometerChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Xamarin.Essentials.Barometer.ReadingChanged += x, x => global::Xamarin.Essentials.Barometer.ReadingChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable BatteryBatteryInfoChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Essentials.BatteryInfoChangedEventArgs>(x => global::Xamarin.Essentials.Battery.BatteryInfoChanged += x, x => global::Xamarin.Essentials.Battery.BatteryInfoChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Xamarin.Essentials.BatteryInfoChangedEventArgs)> BatteryBatteryInfoChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Essentials.BatteryInfoChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Essentials.BatteryInfoChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Xamarin.Essentials.Battery.BatteryInfoChanged += x, x => global::Xamarin.Essentials.Battery.BatteryInfoChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable BatteryEnergySaverStatusChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Essentials.EnergySaverStatusChangedEventArgs>(x => global::Xamarin.Essentials.Battery.EnergySaverStatusChanged += x, x => global::Xamarin.Essentials.Battery.EnergySaverStatusChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Xamarin.Essentials.EnergySaverStatusChangedEventArgs)> BatteryEnergySaverStatusChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Essentials.EnergySaverStatusChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Essentials.EnergySaverStatusChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Xamarin.Essentials.Battery.EnergySaverStatusChanged += x, x => global::Xamarin.Essentials.Battery.EnergySaverStatusChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable CompassReadingChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Essentials.CompassChangedEventArgs>(x => global::Xamarin.Essentials.Compass.ReadingChanged += x, x => global::Xamarin.Essentials.Compass.ReadingChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Xamarin.Essentials.CompassChangedEventArgs)> CompassReadingChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Essentials.CompassChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Essentials.CompassChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Xamarin.Essentials.Compass.ReadingChanged += x, x => global::Xamarin.Essentials.Compass.ReadingChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable ConnectivityConnectivityChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Essentials.ConnectivityChangedEventArgs>(x => global::Xamarin.Essentials.Connectivity.ConnectivityChanged += x, x => global::Xamarin.Essentials.Connectivity.ConnectivityChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Xamarin.Essentials.ConnectivityChangedEventArgs)> ConnectivityConnectivityChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Essentials.ConnectivityChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Essentials.ConnectivityChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Xamarin.Essentials.Connectivity.ConnectivityChanged += x, x => global::Xamarin.Essentials.Connectivity.ConnectivityChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable DeviceDisplayMainDisplayInfoChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Essentials.DisplayInfoChangedEventArgs>(x => global::Xamarin.Essentials.DeviceDisplay.MainDisplayInfoChanged += x, x => global::Xamarin.Essentials.DeviceDisplay.MainDisplayInfoChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Xamarin.Essentials.DisplayInfoChangedEventArgs)> DeviceDisplayMainDisplayInfoChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Essentials.DisplayInfoChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Essentials.DisplayInfoChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Xamarin.Essentials.DeviceDisplay.MainDisplayInfoChanged += x, x => global::Xamarin.Essentials.DeviceDisplay.MainDisplayInfoChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable GyroscopeReadingChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Essentials.GyroscopeChangedEventArgs>(x => global::Xamarin.Essentials.Gyroscope.ReadingChanged += x, x => global::Xamarin.Essentials.Gyroscope.ReadingChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Xamarin.Essentials.GyroscopeChangedEventArgs)> GyroscopeReadingChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Essentials.GyroscopeChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Essentials.GyroscopeChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Xamarin.Essentials.Gyroscope.ReadingChanged += x, x => global::Xamarin.Essentials.Gyroscope.ReadingChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable MagnetometerReadingChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Essentials.MagnetometerChangedEventArgs>(x => global::Xamarin.Essentials.Magnetometer.ReadingChanged += x, x => global::Xamarin.Essentials.Magnetometer.ReadingChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Xamarin.Essentials.MagnetometerChangedEventArgs)> MagnetometerReadingChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Essentials.MagnetometerChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Essentials.MagnetometerChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Xamarin.Essentials.Magnetometer.ReadingChanged += x, x => global::Xamarin.Essentials.Magnetometer.ReadingChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable OrientationSensorReadingChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Essentials.OrientationSensorChangedEventArgs>(x => global::Xamarin.Essentials.OrientationSensor.ReadingChanged += x, x => global::Xamarin.Essentials.OrientationSensor.ReadingChanged -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Xamarin.Essentials.OrientationSensorChangedEventArgs)> OrientationSensorReadingChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Essentials.OrientationSensorChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Essentials.OrientationSensorChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Xamarin.Essentials.OrientationSensor.ReadingChanged += x, x => global::Xamarin.Essentials.OrientationSensor.ReadingChanged -= x); } -} +} \ No newline at end of file diff --git a/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Forms.4.0.0.482894.approved.txt b/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Forms.4.0.0.482894.approved.txt index 78cdc53..fa33b3e 100644 --- a/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Forms.4.0.0.482894.approved.txt +++ b/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Forms.4.0.0.482894.approved.txt @@ -254,27 +254,63 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ModalPopped => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ModalPoppedEventArgs>(x => _data.ModalPopped += x, x => _data.ModalPopped -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ModalPoppedEventArgs)> ModalPopped => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ModalPoppedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ModalPoppedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ModalPopped += x, x => _data.ModalPopped -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ModalPopping => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ModalPoppingEventArgs>(x => _data.ModalPopping += x, x => _data.ModalPopping -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ModalPoppingEventArgs)> ModalPopping => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ModalPoppingEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ModalPoppingEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ModalPopping += x, x => _data.ModalPopping -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ModalPushed => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ModalPushedEventArgs>(x => _data.ModalPushed += x, x => _data.ModalPushed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ModalPushedEventArgs)> ModalPushed => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ModalPushedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ModalPushedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ModalPushed += x, x => _data.ModalPushed -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ModalPushing => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ModalPushingEventArgs>(x => _data.ModalPushing += x, x => _data.ModalPushing -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ModalPushingEventArgs)> ModalPushing => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ModalPushingEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ModalPushingEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ModalPushing += x, x => _data.ModalPushing -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable PageAppearing => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Page>(x => _data.PageAppearing += x, x => _data.PageAppearing -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Page)> PageAppearing => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Page)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Page e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.PageAppearing += x, x => _data.PageAppearing -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable PageDisappearing => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Page>(x => _data.PageDisappearing += x, x => _data.PageDisappearing -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Page)> PageDisappearing => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Page)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Page e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.PageDisappearing += x, x => _data.PageDisappearing -= x); } /// @@ -295,15 +331,33 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable BindingContextChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.BindingContextChanged += x, x => _data.BindingContextChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> BindingContextChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.BindingContextChanged += x, x => _data.BindingContextChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable PropertyChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.PropertyChanged += x, x => _data.PropertyChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.ComponentModel.PropertyChangedEventArgs)> PropertyChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.PropertyChanged += x, x => _data.PropertyChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable PropertyChanging => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.PropertyChanging += x, x => _data.PropertyChanging -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.PropertyChangingEventArgs)> PropertyChanging => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.PropertyChangingEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.PropertyChanging += x, x => _data.PropertyChanging -= x); } /// @@ -324,15 +378,33 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Clicked += x, x => _data.Clicked -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Clicked => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Clicked += x, x => _data.Clicked -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Pressed => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Pressed += x, x => _data.Pressed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Pressed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Pressed += x, x => _data.Pressed -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Released => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Released += x, x => _data.Released -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Released => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Released += x, x => _data.Released -= x); } /// @@ -353,19 +425,43 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Appearing => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Appearing += x, x => _data.Appearing -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Appearing => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Appearing += x, x => _data.Appearing -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Disappearing => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Disappearing += x, x => _data.Disappearing -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Disappearing => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Disappearing += x, x => _data.Disappearing -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ForceUpdateSizeRequested => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.ForceUpdateSizeRequested += x, x => _data.ForceUpdateSizeRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> ForceUpdateSizeRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ForceUpdateSizeRequested += x, x => _data.ForceUpdateSizeRequested -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Tapped => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Tapped += x, x => _data.Tapped -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Tapped => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Tapped += x, x => _data.Tapped -= x); } /// @@ -386,7 +482,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable PropertyChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.PropertyChanged += x, x => _data.PropertyChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.ComponentModel.PropertyChangedEventArgs)> PropertyChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.PropertyChanged += x, x => _data.PropertyChanged -= x); } /// @@ -407,7 +509,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Clicked += x, x => _data.Clicked -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Clicked => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Clicked += x, x => _data.Clicked -= x); } /// @@ -428,7 +536,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable SizeChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.SizeChanged += x, x => _data.SizeChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> SizeChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.SizeChanged += x, x => _data.SizeChanged -= x); } /// @@ -449,7 +563,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable CanExecuteChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.CanExecuteChanged += x, x => _data.CanExecuteChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> CanExecuteChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.CanExecuteChanged += x, x => _data.CanExecuteChanged -= x); } /// @@ -470,7 +590,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DateSelected => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.DateChangedEventArgs>(x => _data.DateSelected += x, x => _data.DateSelected -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.DateChangedEventArgs)> DateSelected => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.DateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.DateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DateSelected += x, x => _data.DateSelected -= x); } /// @@ -491,11 +617,23 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Completed => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Completed += x, x => _data.Completed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Completed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Completed += x, x => _data.Completed -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable TextChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.TextChangedEventArgs>(x => _data.TextChanged += x, x => _data.TextChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.TextChangedEventArgs)> TextChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.TextChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.TextChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.TextChanged += x, x => _data.TextChanged -= x); } /// @@ -516,24 +654,54 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ChildAdded => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ElementEventArgs>(x => _data.ChildAdded += x, x => _data.ChildAdded -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ElementEventArgs)> ChildAdded => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ElementEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ElementEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ChildAdded += x, x => _data.ChildAdded -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ChildRemoved => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ElementEventArgs>(x => _data.ChildRemoved += x, x => _data.ChildRemoved -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ElementEventArgs)> ChildRemoved => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ElementEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ElementEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ChildRemoved += x, x => _data.ChildRemoved -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DescendantAdded => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ElementEventArgs>(x => _data.DescendantAdded += x, x => _data.DescendantAdded -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ElementEventArgs)> DescendantAdded => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ElementEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ElementEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DescendantAdded += x, x => _data.DescendantAdded -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DescendantRemoved => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ElementEventArgs>(x => _data.DescendantRemoved += x, x => _data.DescendantRemoved -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ElementEventArgs)> DescendantRemoved => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ElementEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ElementEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DescendantRemoved += x, x => _data.DescendantRemoved -= x); /// /// Gets an observable which signals when the event triggers. /// [global::System.ObsoleteAttribute("PlatformSet is obsolete as of 3.5.0. Do not use this event.", false)] - public global::System.IObservable PlatformSet => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.PlatformSet += x, x => _data.PlatformSet -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> PlatformSet => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.PlatformSet += x, x => _data.PlatformSet -= x); } /// @@ -554,11 +722,23 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Completed => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Completed += x, x => _data.Completed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Completed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Completed += x, x => _data.Completed -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable TextChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.TextChangedEventArgs>(x => _data.TextChanged += x, x => _data.TextChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.TextChangedEventArgs)> TextChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.TextChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.TextChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.TextChanged += x, x => _data.TextChanged -= x); } /// @@ -579,7 +759,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Completed => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Completed += x, x => _data.Completed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Completed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Completed += x, x => _data.Completed -= x); } /// @@ -600,7 +786,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ForceUpdateSizeRequested => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.ForceUpdateSizeRequested += x, x => _data.ForceUpdateSizeRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> ForceUpdateSizeRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ForceUpdateSizeRequested += x, x => _data.ForceUpdateSizeRequested -= x); } /// @@ -621,7 +813,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable SizeChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.SizeChanged += x, x => _data.SizeChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> SizeChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.SizeChanged += x, x => _data.SizeChanged -= x); } /// @@ -643,7 +841,13 @@ namespace Xamarin.Forms /// Gets an observable which signals when the event triggers. /// [global::System.ObsoleteAttribute("PlatformSet is obsolete as of 3.5.0. Do not use this event.", false)] - public global::System.IObservable PlatformSet => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.PlatformSet += x, x => _data.PlatformSet -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> PlatformSet => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.PlatformSet += x, x => _data.PlatformSet -= x); } /// @@ -664,7 +868,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable LayoutChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.LayoutChanged += x, x => _data.LayoutChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> LayoutChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.LayoutChanged += x, x => _data.LayoutChanged -= x); } /// @@ -685,7 +895,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable CollectionChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.CollectionChanged += x, x => _data.CollectionChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs)> CollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.CollectionChanged += x, x => _data.CollectionChanged -= x); } /// @@ -706,7 +922,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ScrollToRequested => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ScrollToRequestedEventArgs>(x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ScrollToRequestedEventArgs)> ScrollToRequested => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ScrollToRequestedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrollToRequestedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x); } /// @@ -727,15 +949,33 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Clicked += x, x => _data.Clicked -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Clicked => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Clicked += x, x => _data.Clicked -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Pressed => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Pressed += x, x => _data.Pressed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Pressed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Pressed += x, x => _data.Pressed -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Released => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Released += x, x => _data.Released -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Released => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Released += x, x => _data.Released -= x); } /// @@ -756,7 +996,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable BackButtonPressed => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.BackButtonPressedEventArgs>(x => _data.BackButtonPressed += x, x => _data.BackButtonPressed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.BackButtonPressedEventArgs)> BackButtonPressed => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.BackButtonPressedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.BackButtonPressedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.BackButtonPressed += x, x => _data.BackButtonPressed -= x); } /// @@ -777,23 +1023,53 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable InsertPageBeforeRequested => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(x => _data.InsertPageBeforeRequested += x, x => _data.InsertPageBeforeRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs)> InsertPageBeforeRequested => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.InsertPageBeforeRequested += x, x => _data.InsertPageBeforeRequested -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable PopRequested => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(x => _data.PopRequested += x, x => _data.PopRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs)> PopRequested => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.PopRequested += x, x => _data.PopRequested -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable PopToRootRequested => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(x => _data.PopToRootRequested += x, x => _data.PopToRootRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs)> PopToRootRequested => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.PopToRootRequested += x, x => _data.PopToRootRequested -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable PushRequested => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(x => _data.PushRequested += x, x => _data.PushRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs)> PushRequested => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.PushRequested += x, x => _data.PushRequested -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable RemovePageRequested => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(x => _data.RemovePageRequested += x, x => _data.RemovePageRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs)> RemovePageRequested => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.RemovePageRequested += x, x => _data.RemovePageRequested -= x); } /// @@ -814,7 +1090,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DisplayRequested => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.DisplayRequested += x, x => _data.DisplayRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> DisplayRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DisplayRequested += x, x => _data.DisplayRequested -= x); } /// @@ -835,7 +1117,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ScrollToRequested => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ScrollToRequestedEventArgs>(x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ScrollToRequestedEventArgs)> ScrollToRequested => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ScrollToRequestedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrollToRequestedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x); } /// @@ -856,7 +1144,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ListProxyChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ListProxyChangedEventArgs>(x => _data.ListProxyChanged += x, x => _data.ListProxyChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ListProxyChangedEventArgs)> ListProxyChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ListProxyChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ListProxyChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ListProxyChanged += x, x => _data.ListProxyChanged -= x); } /// @@ -877,7 +1171,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable StructureChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.StructureChanged += x, x => _data.StructureChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> StructureChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.StructureChanged += x, x => _data.StructureChanged -= x); } /// @@ -898,7 +1198,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable NavigationRequested => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(x => _data.NavigationRequested += x, x => _data.NavigationRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs)> NavigationRequested => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.NavigationRequested += x, x => _data.NavigationRequested -= x); } /// @@ -919,7 +1225,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ModelChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.ModelChanged += x, x => _data.ModelChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> ModelChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ModelChanged += x, x => _data.ModelChanged -= x); } /// @@ -940,7 +1252,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ScrollToRequested => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ScrollToRequestEventArgs>(x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ScrollToRequestEventArgs)> ScrollToRequested => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ScrollToRequestEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrollToRequestEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x); } /// @@ -961,11 +1279,23 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable> BatchCommitted => global::System.Reactive.Linq.Observable.FromEventPattern>, global::Xamarin.Forms.Internals.EventArg>(x => _data.BatchCommitted += x, x => _data.BatchCommitted -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Internals.EventArg)> BatchCommitted => global::System.Reactive.Linq.Observable.FromEvent>, (object, global::Xamarin.Forms.Internals.EventArg)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EventArg e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.BatchCommitted += x, x => _data.BatchCommitted -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable FocusChangeRequested => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.VisualElement.FocusRequestArgs>(x => _data.FocusChangeRequested += x, x => _data.FocusChangeRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.VisualElement.FocusRequestArgs)> FocusChangeRequested => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.VisualElement.FocusRequestArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.VisualElement.FocusRequestArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.FocusChangeRequested += x, x => _data.FocusChangeRequested -= x); } /// @@ -986,19 +1316,43 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable EvalRequested => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Internals.EvalRequested>(x => _data.EvalRequested += x, x => _data.EvalRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Internals.EvalRequested)> EvalRequested => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Internals.EvalRequested)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EvalRequested e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.EvalRequested += x, x => _data.EvalRequested -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable GoBackRequested => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.GoBackRequested += x, x => _data.GoBackRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> GoBackRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.GoBackRequested += x, x => _data.GoBackRequested -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable GoForwardRequested => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.GoForwardRequested += x, x => _data.GoForwardRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> GoForwardRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.GoForwardRequested += x, x => _data.GoForwardRequested -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ReloadRequested => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.ReloadRequested += x, x => _data.ReloadRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> ReloadRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ReloadRequested += x, x => _data.ReloadRequested -= x); } /// @@ -1019,7 +1373,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable LayoutChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.LayoutChanged += x, x => _data.LayoutChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> LayoutChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.LayoutChanged += x, x => _data.LayoutChanged -= x); } /// @@ -1040,27 +1400,63 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ItemAppearing => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ItemVisibilityEventArgs>(x => _data.ItemAppearing += x, x => _data.ItemAppearing -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ItemVisibilityEventArgs)> ItemAppearing => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ItemVisibilityEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ItemVisibilityEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ItemAppearing += x, x => _data.ItemAppearing -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ItemDisappearing => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ItemVisibilityEventArgs>(x => _data.ItemDisappearing += x, x => _data.ItemDisappearing -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ItemVisibilityEventArgs)> ItemDisappearing => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ItemVisibilityEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ItemVisibilityEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ItemDisappearing += x, x => _data.ItemDisappearing -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ItemSelected => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.SelectedItemChangedEventArgs>(x => _data.ItemSelected += x, x => _data.ItemSelected -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.SelectedItemChangedEventArgs)> ItemSelected => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.SelectedItemChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SelectedItemChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ItemSelected += x, x => _data.ItemSelected -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ItemTapped => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ItemTappedEventArgs>(x => _data.ItemTapped += x, x => _data.ItemTapped -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ItemTappedEventArgs)> ItemTapped => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ItemTappedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ItemTappedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ItemTapped += x, x => _data.ItemTapped -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Refreshing => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Refreshing += x, x => _data.Refreshing -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Refreshing => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Refreshing += x, x => _data.Refreshing -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ScrollToRequested => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ScrollToRequestedEventArgs>(x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ScrollToRequestedEventArgs)> ScrollToRequested => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ScrollToRequestedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrollToRequestedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x); } /// @@ -1081,11 +1477,23 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable BackButtonPressed => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.BackButtonPressedEventArgs>(x => _data.BackButtonPressed += x, x => _data.BackButtonPressed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.BackButtonPressedEventArgs)> BackButtonPressed => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.BackButtonPressedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.BackButtonPressedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.BackButtonPressed += x, x => _data.BackButtonPressed -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable IsPresentedChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.IsPresentedChanged += x, x => _data.IsPresentedChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> IsPresentedChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.IsPresentedChanged += x, x => _data.IsPresentedChanged -= x); } /// @@ -1106,7 +1514,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Clicked += x, x => _data.Clicked -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Clicked => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Clicked += x, x => _data.Clicked -= x); } /// @@ -1127,35 +1541,83 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable InsertPageBeforeRequested => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(x => _data.InsertPageBeforeRequested += x, x => _data.InsertPageBeforeRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs)> InsertPageBeforeRequested => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.InsertPageBeforeRequested += x, x => _data.InsertPageBeforeRequested -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Popped => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.NavigationEventArgs>(x => _data.Popped += x, x => _data.Popped -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.NavigationEventArgs)> Popped => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.NavigationEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.NavigationEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Popped += x, x => _data.Popped -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable PoppedToRoot => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.NavigationEventArgs>(x => _data.PoppedToRoot += x, x => _data.PoppedToRoot -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.NavigationEventArgs)> PoppedToRoot => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.NavigationEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.NavigationEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.PoppedToRoot += x, x => _data.PoppedToRoot -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable PopRequested => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(x => _data.PopRequested += x, x => _data.PopRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs)> PopRequested => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.PopRequested += x, x => _data.PopRequested -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable PopToRootRequested => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(x => _data.PopToRootRequested += x, x => _data.PopToRootRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs)> PopToRootRequested => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.PopToRootRequested += x, x => _data.PopToRootRequested -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Pushed => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.NavigationEventArgs>(x => _data.Pushed += x, x => _data.Pushed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.NavigationEventArgs)> Pushed => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.NavigationEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.NavigationEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Pushed += x, x => _data.Pushed -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable PushRequested => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(x => _data.PushRequested += x, x => _data.PushRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs)> PushRequested => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.PushRequested += x, x => _data.PushRequested -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable RemovePageRequested => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(x => _data.RemovePageRequested += x, x => _data.RemovePageRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs)> RemovePageRequested => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.RemovePageRequested += x, x => _data.RemovePageRequested -= x); } /// @@ -1176,7 +1638,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DisplayRequested => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.DisplayRequested += x, x => _data.DisplayRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> DisplayRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DisplayRequested += x, x => _data.DisplayRequested -= x); } /// @@ -1197,15 +1665,33 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Appearing => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Appearing += x, x => _data.Appearing -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Appearing => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Appearing += x, x => _data.Appearing -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Disappearing => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Disappearing += x, x => _data.Disappearing -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Disappearing => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Disappearing += x, x => _data.Disappearing -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable LayoutChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.LayoutChanged += x, x => _data.LayoutChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> LayoutChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.LayoutChanged += x, x => _data.LayoutChanged -= x); } /// @@ -1226,7 +1712,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable PanUpdated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.PanUpdatedEventArgs>(x => _data.PanUpdated += x, x => _data.PanUpdated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.PanUpdatedEventArgs)> PanUpdated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.PanUpdatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.PanUpdatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.PanUpdated += x, x => _data.PanUpdated -= x); } /// @@ -1247,7 +1739,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable SelectedIndexChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.SelectedIndexChanged += x, x => _data.SelectedIndexChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> SelectedIndexChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.SelectedIndexChanged += x, x => _data.SelectedIndexChanged -= x); } /// @@ -1268,7 +1766,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable PinchUpdated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.PinchGestureUpdatedEventArgs>(x => _data.PinchUpdated += x, x => _data.PinchUpdated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.PinchGestureUpdatedEventArgs)> PinchUpdated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.PinchGestureUpdatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.PinchGestureUpdatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.PinchUpdated += x, x => _data.PinchUpdated -= x); } /// @@ -1289,7 +1793,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable SizeChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.SizeChanged += x, x => _data.SizeChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> SizeChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.SizeChanged += x, x => _data.SizeChanged -= x); } /// @@ -1310,11 +1820,23 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Scrolled => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ScrolledEventArgs>(x => _data.Scrolled += x, x => _data.Scrolled -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ScrolledEventArgs)> Scrolled => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ScrolledEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrolledEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Scrolled += x, x => _data.Scrolled -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ScrollToRequested => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ScrollToRequestedEventArgs>(x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ScrollToRequestedEventArgs)> ScrollToRequested => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ScrollToRequestedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrollToRequestedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x); } /// @@ -1335,11 +1857,23 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable SearchButtonPressed => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.SearchButtonPressed += x, x => _data.SearchButtonPressed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> SearchButtonPressed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.SearchButtonPressed += x, x => _data.SearchButtonPressed -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable TextChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.TextChangedEventArgs>(x => _data.TextChanged += x, x => _data.TextChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.TextChangedEventArgs)> TextChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.TextChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.TextChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.TextChanged += x, x => _data.TextChanged -= x); } /// @@ -1360,15 +1894,33 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable FocusChangeRequested => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.VisualElement.FocusRequestArgs>(x => _data.FocusChangeRequested += x, x => _data.FocusChangeRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.VisualElement.FocusRequestArgs)> FocusChangeRequested => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.VisualElement.FocusRequestArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.VisualElement.FocusRequestArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.FocusChangeRequested += x, x => _data.FocusChangeRequested -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Focused => global::System.Reactive.Linq.Observable.FromEventPattern, global::System.EventArgs>(x => _data.Focused += x, x => _data.Focused -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Focused => global::System.Reactive.Linq.Observable.FromEvent, (object, global::System.EventArgs)>(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Focused += x, x => _data.Focused -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Unfocused => global::System.Reactive.Linq.Observable.FromEventPattern, global::System.EventArgs>(x => _data.Unfocused += x, x => _data.Unfocused -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Unfocused => global::System.Reactive.Linq.Observable.FromEvent, (object, global::System.EventArgs)>(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Unfocused += x, x => _data.Unfocused -= x); } /// @@ -1389,7 +1941,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable SelectionChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.SelectionChangedEventArgs>(x => _data.SelectionChanged += x, x => _data.SelectionChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.SelectionChangedEventArgs)> SelectionChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.SelectionChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SelectionChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.SelectionChanged += x, x => _data.SelectionChanged -= x); } /// @@ -1410,11 +1968,23 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Navigated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ShellNavigatedEventArgs>(x => _data.Navigated += x, x => _data.Navigated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ShellNavigatedEventArgs)> Navigated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ShellNavigatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ShellNavigatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Navigated += x, x => _data.Navigated -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Navigating => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ShellNavigatingEventArgs>(x => _data.Navigating += x, x => _data.Navigating -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ShellNavigatingEventArgs)> Navigating => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ShellNavigatingEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ShellNavigatingEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Navigating += x, x => _data.Navigating -= x); } /// @@ -1435,15 +2005,33 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DragCompleted => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.DragCompleted += x, x => _data.DragCompleted -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> DragCompleted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DragCompleted += x, x => _data.DragCompleted -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DragStarted => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.DragStarted += x, x => _data.DragStarted -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> DragStarted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DragStarted += x, x => _data.DragStarted -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ValueChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ValueChangedEventArgs>(x => _data.ValueChanged += x, x => _data.ValueChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ValueChangedEventArgs)> ValueChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ValueChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ValueChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ValueChanged += x, x => _data.ValueChanged -= x); } /// @@ -1464,7 +2052,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ValueChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ValueChangedEventArgs>(x => _data.ValueChanged += x, x => _data.ValueChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ValueChangedEventArgs)> ValueChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ValueChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ValueChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ValueChanged += x, x => _data.ValueChanged -= x); } /// @@ -1485,7 +2079,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Swiped => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.SwipedEventArgs>(x => _data.Swiped += x, x => _data.Swiped -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.SwipedEventArgs)> Swiped => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.SwipedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SwipedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Swiped += x, x => _data.Swiped -= x); } /// @@ -1506,7 +2106,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Toggled => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ToggledEventArgs>(x => _data.Toggled += x, x => _data.Toggled -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ToggledEventArgs)> Toggled => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ToggledEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ToggledEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Toggled += x, x => _data.Toggled -= x); } /// @@ -1527,7 +2133,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable OnChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ToggledEventArgs>(x => _data.OnChanged += x, x => _data.OnChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ToggledEventArgs)> OnChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ToggledEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ToggledEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.OnChanged += x, x => _data.OnChanged -= x); } /// @@ -1548,7 +2160,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ModelChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.ModelChanged += x, x => _data.ModelChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> ModelChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ModelChanged += x, x => _data.ModelChanged -= x); } /// @@ -1569,7 +2187,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Tapped => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Tapped += x, x => _data.Tapped -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Tapped => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Tapped += x, x => _data.Tapped -= x); } /// @@ -1591,7 +2215,13 @@ namespace Xamarin.Forms /// Gets an observable which signals when the event triggers. /// [global::System.ObsoleteAttribute("Activated is obsolete as of version 1.3.0. Please use Clicked instead.", false)] - public global::System.IObservable Activated => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Activated += x, x => _data.Activated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Activated => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Activated += x, x => _data.Activated -= x); } /// @@ -1612,31 +2242,73 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable> BatchCommitted => global::System.Reactive.Linq.Observable.FromEventPattern>, global::Xamarin.Forms.Internals.EventArg>(x => _data.BatchCommitted += x, x => _data.BatchCommitted -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Internals.EventArg)> BatchCommitted => global::System.Reactive.Linq.Observable.FromEvent>, (object, global::Xamarin.Forms.Internals.EventArg)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EventArg e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.BatchCommitted += x, x => _data.BatchCommitted -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ChildrenReordered => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.ChildrenReordered += x, x => _data.ChildrenReordered -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> ChildrenReordered => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ChildrenReordered += x, x => _data.ChildrenReordered -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable FocusChangeRequested => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.VisualElement.FocusRequestArgs>(x => _data.FocusChangeRequested += x, x => _data.FocusChangeRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.VisualElement.FocusRequestArgs)> FocusChangeRequested => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.VisualElement.FocusRequestArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.VisualElement.FocusRequestArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.FocusChangeRequested += x, x => _data.FocusChangeRequested -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Focused => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.FocusEventArgs>(x => _data.Focused += x, x => _data.Focused -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.FocusEventArgs)> Focused => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.FocusEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.FocusEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Focused += x, x => _data.Focused -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable MeasureInvalidated => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.MeasureInvalidated += x, x => _data.MeasureInvalidated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> MeasureInvalidated => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.MeasureInvalidated += x, x => _data.MeasureInvalidated -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable SizeChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.SizeChanged += x, x => _data.SizeChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> SizeChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.SizeChanged += x, x => _data.SizeChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Unfocused => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.FocusEventArgs>(x => _data.Unfocused += x, x => _data.Unfocused -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.FocusEventArgs)> Unfocused => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.FocusEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.FocusEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Unfocused += x, x => _data.Unfocused -= x); } /// @@ -1657,27 +2329,63 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable EvalRequested => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Internals.EvalRequested>(x => _data.EvalRequested += x, x => _data.EvalRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Internals.EvalRequested)> EvalRequested => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Internals.EvalRequested)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EvalRequested e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.EvalRequested += x, x => _data.EvalRequested -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable GoBackRequested => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.GoBackRequested += x, x => _data.GoBackRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> GoBackRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.GoBackRequested += x, x => _data.GoBackRequested -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable GoForwardRequested => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.GoForwardRequested += x, x => _data.GoForwardRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> GoForwardRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.GoForwardRequested += x, x => _data.GoForwardRequested -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Navigated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.WebNavigatedEventArgs>(x => _data.Navigated += x, x => _data.Navigated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.WebNavigatedEventArgs)> Navigated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.WebNavigatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.WebNavigatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Navigated += x, x => _data.Navigated -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Navigating => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.WebNavigatingEventArgs>(x => _data.Navigating += x, x => _data.Navigating -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.WebNavigatingEventArgs)> Navigating => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.WebNavigatingEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.WebNavigatingEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Navigating += x, x => _data.Navigating -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ReloadRequested => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.ReloadRequested += x, x => _data.ReloadRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> ReloadRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ReloadRequested += x, x => _data.ReloadRequested -= x); } } @@ -1724,7 +2432,13 @@ namespace Xamarin.Forms.Internals /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable PropertyChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.PropertyChanged += x, x => _data.PropertyChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.ComponentModel.PropertyChangedEventArgs)> PropertyChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.PropertyChanged += x, x => _data.PropertyChanged -= x); } /// @@ -1745,7 +2459,13 @@ namespace Xamarin.Forms.Internals /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ValuesChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Internals.ResourcesChangedEventArgs>(x => _data.ValuesChanged += x, x => _data.ValuesChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Internals.ResourcesChangedEventArgs)> ValuesChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Internals.ResourcesChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.ResourcesChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ValuesChanged += x, x => _data.ValuesChanged -= x); } /// @@ -1766,11 +2486,23 @@ namespace Xamarin.Forms.Internals /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable> ItemLongPressed => global::System.Reactive.Linq.Observable.FromEventPattern>, global::Xamarin.Forms.Internals.EventArg>(x => _data.ItemLongPressed += x, x => _data.ItemLongPressed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Internals.EventArg)> ItemLongPressed => global::System.Reactive.Linq.Observable.FromEvent>, (object, global::Xamarin.Forms.Internals.EventArg)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EventArg e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ItemLongPressed += x, x => _data.ItemLongPressed -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable> ItemSelected => global::System.Reactive.Linq.Observable.FromEventPattern>, global::Xamarin.Forms.Internals.EventArg>(x => _data.ItemSelected += x, x => _data.ItemSelected -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Internals.EventArg)> ItemSelected => global::System.Reactive.Linq.Observable.FromEvent>, (object, global::Xamarin.Forms.Internals.EventArg)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EventArg e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ItemSelected += x, x => _data.ItemSelected -= x); } /// @@ -1791,7 +2523,13 @@ namespace Xamarin.Forms.Internals /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable CollectionChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.CollectionChanged += x, x => _data.CollectionChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> CollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.CollectionChanged += x, x => _data.CollectionChanged -= x); } } @@ -1890,7 +2628,13 @@ namespace Xamarin.Forms.Platform.Android /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ConfigurationChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.ConfigurationChanged += x, x => _data.ConfigurationChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> ConfigurationChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ConfigurationChanged += x, x => _data.ConfigurationChanged -= x); } /// @@ -1911,7 +2655,13 @@ namespace Xamarin.Forms.Platform.Android /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ConfigurationChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.ConfigurationChanged += x, x => _data.ConfigurationChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> ConfigurationChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ConfigurationChanged += x, x => _data.ConfigurationChanged -= x); } /// @@ -1932,7 +2682,13 @@ namespace Xamarin.Forms.Platform.Android /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(x => _data.ElementChanged += x, x => _data.ElementChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs)> ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ElementChanged += x, x => _data.ElementChanged -= x); } /// @@ -1953,7 +2709,13 @@ namespace Xamarin.Forms.Platform.Android /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(x => _data.ElementChanged += x, x => _data.ElementChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs)> ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ElementChanged += x, x => _data.ElementChanged -= x); } /// @@ -1974,7 +2736,13 @@ namespace Xamarin.Forms.Platform.Android /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ConfigurationChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.ConfigurationChanged += x, x => _data.ConfigurationChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> ConfigurationChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ConfigurationChanged += x, x => _data.ConfigurationChanged -= x); } /// @@ -1995,11 +2763,23 @@ namespace Xamarin.Forms.Platform.Android /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(x => _data.ElementChanged += x, x => _data.ElementChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs)> ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ElementChanged += x, x => _data.ElementChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ElementPropertyChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::System.ComponentModel.PropertyChangedEventArgs>(x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.ComponentModel.PropertyChangedEventArgs)> ElementPropertyChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::System.ComponentModel.PropertyChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x); } /// @@ -2020,7 +2800,13 @@ namespace Xamarin.Forms.Platform.Android /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Destroyed => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Destroyed += x, x => _data.Destroyed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Destroyed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Destroyed += x, x => _data.Destroyed -= x); } /// @@ -2041,7 +2827,13 @@ namespace Xamarin.Forms.Platform.Android /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable AnimationFinished => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.AnimationFinished += x, x => _data.AnimationFinished -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> AnimationFinished => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.AnimationFinished += x, x => _data.AnimationFinished -= x); } /// @@ -2062,7 +2854,13 @@ namespace Xamarin.Forms.Platform.Android /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable SearchConfirmed => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.SearchConfirmed += x, x => _data.SearchConfirmed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> SearchConfirmed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.SearchConfirmed += x, x => _data.SearchConfirmed -= x); } /// @@ -2083,11 +2881,23 @@ namespace Xamarin.Forms.Platform.Android /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(x => _data.ElementChanged += x, x => _data.ElementChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs)> ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ElementChanged += x, x => _data.ElementChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ElementPropertyChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::System.ComponentModel.PropertyChangedEventArgs>(x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.ComponentModel.PropertyChangedEventArgs)> ElementPropertyChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::System.ComponentModel.PropertyChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x); } /// @@ -2108,11 +2918,23 @@ namespace Xamarin.Forms.Platform.Android /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(x => _data.ElementChanged += x, x => _data.ElementChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs)> ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ElementChanged += x, x => _data.ElementChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ElementPropertyChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::System.ComponentModel.PropertyChangedEventArgs>(x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.ComponentModel.PropertyChangedEventArgs)> ElementPropertyChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::System.ComponentModel.PropertyChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x); } /// @@ -2133,7 +2955,13 @@ namespace Xamarin.Forms.Platform.Android /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(x => _data.ElementChanged += x, x => _data.ElementChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs)> ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ElementChanged += x, x => _data.ElementChanged -= x); } /// @@ -2154,7 +2982,13 @@ namespace Xamarin.Forms.Platform.Android /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(x => _data.ElementChanged += x, x => _data.ElementChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs)> ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ElementChanged += x, x => _data.ElementChanged -= x); } /// @@ -2175,7 +3009,13 @@ namespace Xamarin.Forms.Platform.Android /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable AnimationFinished => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.AnimationFinished += x, x => _data.AnimationFinished -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> AnimationFinished => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.AnimationFinished += x, x => _data.AnimationFinished -= x); } /// @@ -2196,7 +3036,13 @@ namespace Xamarin.Forms.Platform.Android /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Destroyed => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Destroyed += x, x => _data.Destroyed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Destroyed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Destroyed += x, x => _data.Destroyed -= x); } /// @@ -2217,7 +3063,13 @@ namespace Xamarin.Forms.Platform.Android /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable SearchConfirmed => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.SearchConfirmed += x, x => _data.SearchConfirmed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> SearchConfirmed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.SearchConfirmed += x, x => _data.SearchConfirmed -= x); } /// @@ -2238,7 +3090,13 @@ namespace Xamarin.Forms.Platform.Android /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable AnimationFinished => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.AnimationFinished += x, x => _data.AnimationFinished -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> AnimationFinished => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.AnimationFinished += x, x => _data.AnimationFinished -= x); } } @@ -2285,11 +3143,23 @@ namespace Xamarin.Forms.Platform.Android.FastRenderers /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(x => _data.ElementChanged += x, x => _data.ElementChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs)> ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ElementChanged += x, x => _data.ElementChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ElementPropertyChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::System.ComponentModel.PropertyChangedEventArgs>(x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.ComponentModel.PropertyChangedEventArgs)> ElementPropertyChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::System.ComponentModel.PropertyChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x); } /// @@ -2310,11 +3180,23 @@ namespace Xamarin.Forms.Platform.Android.FastRenderers /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(x => _data.ElementChanged += x, x => _data.ElementChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs)> ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ElementChanged += x, x => _data.ElementChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ElementPropertyChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::System.ComponentModel.PropertyChangedEventArgs>(x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.ComponentModel.PropertyChangedEventArgs)> ElementPropertyChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::System.ComponentModel.PropertyChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x); } /// @@ -2335,11 +3217,23 @@ namespace Xamarin.Forms.Platform.Android.FastRenderers /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(x => _data.ElementChanged += x, x => _data.ElementChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs)> ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ElementChanged += x, x => _data.ElementChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ElementPropertyChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::System.ComponentModel.PropertyChangedEventArgs>(x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.ComponentModel.PropertyChangedEventArgs)> ElementPropertyChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::System.ComponentModel.PropertyChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x); } /// @@ -2360,11 +3254,23 @@ namespace Xamarin.Forms.Platform.Android.FastRenderers /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(x => _data.ElementChanged += x, x => _data.ElementChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs)> ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ElementChanged += x, x => _data.ElementChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ElementPropertyChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::System.ComponentModel.PropertyChangedEventArgs>(x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.ComponentModel.PropertyChangedEventArgs)> ElementPropertyChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::System.ComponentModel.PropertyChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x); } } @@ -2378,6 +3284,12 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable FormsViewInitialized => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ViewInitializedEventArgs>(x => global::Xamarin.Forms.Forms.ViewInitialized += x, x => global::Xamarin.Forms.Forms.ViewInitialized -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Xamarin.Forms.ViewInitializedEventArgs)> FormsViewInitialized => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ViewInitializedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ViewInitializedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Xamarin.Forms.Forms.ViewInitialized += x, x => global::Xamarin.Forms.Forms.ViewInitialized -= x); } } \ No newline at end of file diff --git a/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Forms.4.0.0.497661.approved.txt b/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Forms.4.0.0.497661.approved.txt index 78cdc53..fa33b3e 100644 --- a/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Forms.4.0.0.497661.approved.txt +++ b/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Forms.4.0.0.497661.approved.txt @@ -254,27 +254,63 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ModalPopped => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ModalPoppedEventArgs>(x => _data.ModalPopped += x, x => _data.ModalPopped -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ModalPoppedEventArgs)> ModalPopped => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ModalPoppedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ModalPoppedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ModalPopped += x, x => _data.ModalPopped -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ModalPopping => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ModalPoppingEventArgs>(x => _data.ModalPopping += x, x => _data.ModalPopping -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ModalPoppingEventArgs)> ModalPopping => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ModalPoppingEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ModalPoppingEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ModalPopping += x, x => _data.ModalPopping -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ModalPushed => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ModalPushedEventArgs>(x => _data.ModalPushed += x, x => _data.ModalPushed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ModalPushedEventArgs)> ModalPushed => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ModalPushedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ModalPushedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ModalPushed += x, x => _data.ModalPushed -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ModalPushing => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ModalPushingEventArgs>(x => _data.ModalPushing += x, x => _data.ModalPushing -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ModalPushingEventArgs)> ModalPushing => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ModalPushingEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ModalPushingEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ModalPushing += x, x => _data.ModalPushing -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable PageAppearing => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Page>(x => _data.PageAppearing += x, x => _data.PageAppearing -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Page)> PageAppearing => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Page)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Page e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.PageAppearing += x, x => _data.PageAppearing -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable PageDisappearing => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Page>(x => _data.PageDisappearing += x, x => _data.PageDisappearing -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Page)> PageDisappearing => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Page)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Page e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.PageDisappearing += x, x => _data.PageDisappearing -= x); } /// @@ -295,15 +331,33 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable BindingContextChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.BindingContextChanged += x, x => _data.BindingContextChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> BindingContextChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.BindingContextChanged += x, x => _data.BindingContextChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable PropertyChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.PropertyChanged += x, x => _data.PropertyChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.ComponentModel.PropertyChangedEventArgs)> PropertyChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.PropertyChanged += x, x => _data.PropertyChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable PropertyChanging => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.PropertyChanging += x, x => _data.PropertyChanging -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.PropertyChangingEventArgs)> PropertyChanging => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.PropertyChangingEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.PropertyChanging += x, x => _data.PropertyChanging -= x); } /// @@ -324,15 +378,33 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Clicked += x, x => _data.Clicked -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Clicked => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Clicked += x, x => _data.Clicked -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Pressed => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Pressed += x, x => _data.Pressed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Pressed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Pressed += x, x => _data.Pressed -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Released => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Released += x, x => _data.Released -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Released => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Released += x, x => _data.Released -= x); } /// @@ -353,19 +425,43 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Appearing => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Appearing += x, x => _data.Appearing -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Appearing => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Appearing += x, x => _data.Appearing -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Disappearing => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Disappearing += x, x => _data.Disappearing -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Disappearing => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Disappearing += x, x => _data.Disappearing -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ForceUpdateSizeRequested => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.ForceUpdateSizeRequested += x, x => _data.ForceUpdateSizeRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> ForceUpdateSizeRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ForceUpdateSizeRequested += x, x => _data.ForceUpdateSizeRequested -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Tapped => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Tapped += x, x => _data.Tapped -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Tapped => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Tapped += x, x => _data.Tapped -= x); } /// @@ -386,7 +482,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable PropertyChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.PropertyChanged += x, x => _data.PropertyChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.ComponentModel.PropertyChangedEventArgs)> PropertyChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.PropertyChanged += x, x => _data.PropertyChanged -= x); } /// @@ -407,7 +509,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Clicked += x, x => _data.Clicked -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Clicked => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Clicked += x, x => _data.Clicked -= x); } /// @@ -428,7 +536,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable SizeChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.SizeChanged += x, x => _data.SizeChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> SizeChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.SizeChanged += x, x => _data.SizeChanged -= x); } /// @@ -449,7 +563,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable CanExecuteChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.CanExecuteChanged += x, x => _data.CanExecuteChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> CanExecuteChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.CanExecuteChanged += x, x => _data.CanExecuteChanged -= x); } /// @@ -470,7 +590,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DateSelected => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.DateChangedEventArgs>(x => _data.DateSelected += x, x => _data.DateSelected -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.DateChangedEventArgs)> DateSelected => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.DateChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.DateChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DateSelected += x, x => _data.DateSelected -= x); } /// @@ -491,11 +617,23 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Completed => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Completed += x, x => _data.Completed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Completed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Completed += x, x => _data.Completed -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable TextChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.TextChangedEventArgs>(x => _data.TextChanged += x, x => _data.TextChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.TextChangedEventArgs)> TextChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.TextChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.TextChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.TextChanged += x, x => _data.TextChanged -= x); } /// @@ -516,24 +654,54 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ChildAdded => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ElementEventArgs>(x => _data.ChildAdded += x, x => _data.ChildAdded -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ElementEventArgs)> ChildAdded => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ElementEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ElementEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ChildAdded += x, x => _data.ChildAdded -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ChildRemoved => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ElementEventArgs>(x => _data.ChildRemoved += x, x => _data.ChildRemoved -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ElementEventArgs)> ChildRemoved => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ElementEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ElementEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ChildRemoved += x, x => _data.ChildRemoved -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DescendantAdded => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ElementEventArgs>(x => _data.DescendantAdded += x, x => _data.DescendantAdded -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ElementEventArgs)> DescendantAdded => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ElementEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ElementEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DescendantAdded += x, x => _data.DescendantAdded -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DescendantRemoved => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ElementEventArgs>(x => _data.DescendantRemoved += x, x => _data.DescendantRemoved -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ElementEventArgs)> DescendantRemoved => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ElementEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ElementEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DescendantRemoved += x, x => _data.DescendantRemoved -= x); /// /// Gets an observable which signals when the event triggers. /// [global::System.ObsoleteAttribute("PlatformSet is obsolete as of 3.5.0. Do not use this event.", false)] - public global::System.IObservable PlatformSet => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.PlatformSet += x, x => _data.PlatformSet -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> PlatformSet => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.PlatformSet += x, x => _data.PlatformSet -= x); } /// @@ -554,11 +722,23 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Completed => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Completed += x, x => _data.Completed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Completed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Completed += x, x => _data.Completed -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable TextChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.TextChangedEventArgs>(x => _data.TextChanged += x, x => _data.TextChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.TextChangedEventArgs)> TextChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.TextChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.TextChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.TextChanged += x, x => _data.TextChanged -= x); } /// @@ -579,7 +759,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Completed => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Completed += x, x => _data.Completed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Completed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Completed += x, x => _data.Completed -= x); } /// @@ -600,7 +786,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ForceUpdateSizeRequested => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.ForceUpdateSizeRequested += x, x => _data.ForceUpdateSizeRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> ForceUpdateSizeRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ForceUpdateSizeRequested += x, x => _data.ForceUpdateSizeRequested -= x); } /// @@ -621,7 +813,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable SizeChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.SizeChanged += x, x => _data.SizeChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> SizeChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.SizeChanged += x, x => _data.SizeChanged -= x); } /// @@ -643,7 +841,13 @@ namespace Xamarin.Forms /// Gets an observable which signals when the event triggers. /// [global::System.ObsoleteAttribute("PlatformSet is obsolete as of 3.5.0. Do not use this event.", false)] - public global::System.IObservable PlatformSet => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.PlatformSet += x, x => _data.PlatformSet -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> PlatformSet => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.PlatformSet += x, x => _data.PlatformSet -= x); } /// @@ -664,7 +868,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable LayoutChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.LayoutChanged += x, x => _data.LayoutChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> LayoutChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.LayoutChanged += x, x => _data.LayoutChanged -= x); } /// @@ -685,7 +895,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable CollectionChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.CollectionChanged += x, x => _data.CollectionChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs)> CollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.CollectionChanged += x, x => _data.CollectionChanged -= x); } /// @@ -706,7 +922,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ScrollToRequested => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ScrollToRequestedEventArgs>(x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ScrollToRequestedEventArgs)> ScrollToRequested => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ScrollToRequestedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrollToRequestedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x); } /// @@ -727,15 +949,33 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Clicked += x, x => _data.Clicked -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Clicked => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Clicked += x, x => _data.Clicked -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Pressed => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Pressed += x, x => _data.Pressed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Pressed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Pressed += x, x => _data.Pressed -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Released => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Released += x, x => _data.Released -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Released => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Released += x, x => _data.Released -= x); } /// @@ -756,7 +996,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable BackButtonPressed => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.BackButtonPressedEventArgs>(x => _data.BackButtonPressed += x, x => _data.BackButtonPressed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.BackButtonPressedEventArgs)> BackButtonPressed => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.BackButtonPressedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.BackButtonPressedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.BackButtonPressed += x, x => _data.BackButtonPressed -= x); } /// @@ -777,23 +1023,53 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable InsertPageBeforeRequested => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(x => _data.InsertPageBeforeRequested += x, x => _data.InsertPageBeforeRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs)> InsertPageBeforeRequested => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.InsertPageBeforeRequested += x, x => _data.InsertPageBeforeRequested -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable PopRequested => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(x => _data.PopRequested += x, x => _data.PopRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs)> PopRequested => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.PopRequested += x, x => _data.PopRequested -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable PopToRootRequested => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(x => _data.PopToRootRequested += x, x => _data.PopToRootRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs)> PopToRootRequested => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.PopToRootRequested += x, x => _data.PopToRootRequested -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable PushRequested => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(x => _data.PushRequested += x, x => _data.PushRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs)> PushRequested => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.PushRequested += x, x => _data.PushRequested -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable RemovePageRequested => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(x => _data.RemovePageRequested += x, x => _data.RemovePageRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs)> RemovePageRequested => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.RemovePageRequested += x, x => _data.RemovePageRequested -= x); } /// @@ -814,7 +1090,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DisplayRequested => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.DisplayRequested += x, x => _data.DisplayRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> DisplayRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DisplayRequested += x, x => _data.DisplayRequested -= x); } /// @@ -835,7 +1117,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ScrollToRequested => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ScrollToRequestedEventArgs>(x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ScrollToRequestedEventArgs)> ScrollToRequested => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ScrollToRequestedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrollToRequestedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x); } /// @@ -856,7 +1144,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ListProxyChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ListProxyChangedEventArgs>(x => _data.ListProxyChanged += x, x => _data.ListProxyChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ListProxyChangedEventArgs)> ListProxyChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ListProxyChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ListProxyChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ListProxyChanged += x, x => _data.ListProxyChanged -= x); } /// @@ -877,7 +1171,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable StructureChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.StructureChanged += x, x => _data.StructureChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> StructureChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.StructureChanged += x, x => _data.StructureChanged -= x); } /// @@ -898,7 +1198,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable NavigationRequested => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(x => _data.NavigationRequested += x, x => _data.NavigationRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs)> NavigationRequested => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.NavigationRequested += x, x => _data.NavigationRequested -= x); } /// @@ -919,7 +1225,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ModelChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.ModelChanged += x, x => _data.ModelChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> ModelChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ModelChanged += x, x => _data.ModelChanged -= x); } /// @@ -940,7 +1252,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ScrollToRequested => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ScrollToRequestEventArgs>(x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ScrollToRequestEventArgs)> ScrollToRequested => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ScrollToRequestEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrollToRequestEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x); } /// @@ -961,11 +1279,23 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable> BatchCommitted => global::System.Reactive.Linq.Observable.FromEventPattern>, global::Xamarin.Forms.Internals.EventArg>(x => _data.BatchCommitted += x, x => _data.BatchCommitted -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Internals.EventArg)> BatchCommitted => global::System.Reactive.Linq.Observable.FromEvent>, (object, global::Xamarin.Forms.Internals.EventArg)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EventArg e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.BatchCommitted += x, x => _data.BatchCommitted -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable FocusChangeRequested => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.VisualElement.FocusRequestArgs>(x => _data.FocusChangeRequested += x, x => _data.FocusChangeRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.VisualElement.FocusRequestArgs)> FocusChangeRequested => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.VisualElement.FocusRequestArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.VisualElement.FocusRequestArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.FocusChangeRequested += x, x => _data.FocusChangeRequested -= x); } /// @@ -986,19 +1316,43 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable EvalRequested => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Internals.EvalRequested>(x => _data.EvalRequested += x, x => _data.EvalRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Internals.EvalRequested)> EvalRequested => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Internals.EvalRequested)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EvalRequested e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.EvalRequested += x, x => _data.EvalRequested -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable GoBackRequested => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.GoBackRequested += x, x => _data.GoBackRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> GoBackRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.GoBackRequested += x, x => _data.GoBackRequested -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable GoForwardRequested => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.GoForwardRequested += x, x => _data.GoForwardRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> GoForwardRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.GoForwardRequested += x, x => _data.GoForwardRequested -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ReloadRequested => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.ReloadRequested += x, x => _data.ReloadRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> ReloadRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ReloadRequested += x, x => _data.ReloadRequested -= x); } /// @@ -1019,7 +1373,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable LayoutChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.LayoutChanged += x, x => _data.LayoutChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> LayoutChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.LayoutChanged += x, x => _data.LayoutChanged -= x); } /// @@ -1040,27 +1400,63 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ItemAppearing => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ItemVisibilityEventArgs>(x => _data.ItemAppearing += x, x => _data.ItemAppearing -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ItemVisibilityEventArgs)> ItemAppearing => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ItemVisibilityEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ItemVisibilityEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ItemAppearing += x, x => _data.ItemAppearing -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ItemDisappearing => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ItemVisibilityEventArgs>(x => _data.ItemDisappearing += x, x => _data.ItemDisappearing -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ItemVisibilityEventArgs)> ItemDisappearing => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ItemVisibilityEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ItemVisibilityEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ItemDisappearing += x, x => _data.ItemDisappearing -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ItemSelected => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.SelectedItemChangedEventArgs>(x => _data.ItemSelected += x, x => _data.ItemSelected -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.SelectedItemChangedEventArgs)> ItemSelected => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.SelectedItemChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SelectedItemChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ItemSelected += x, x => _data.ItemSelected -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ItemTapped => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ItemTappedEventArgs>(x => _data.ItemTapped += x, x => _data.ItemTapped -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ItemTappedEventArgs)> ItemTapped => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ItemTappedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ItemTappedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ItemTapped += x, x => _data.ItemTapped -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Refreshing => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Refreshing += x, x => _data.Refreshing -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Refreshing => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Refreshing += x, x => _data.Refreshing -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ScrollToRequested => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ScrollToRequestedEventArgs>(x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ScrollToRequestedEventArgs)> ScrollToRequested => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ScrollToRequestedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrollToRequestedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x); } /// @@ -1081,11 +1477,23 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable BackButtonPressed => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.BackButtonPressedEventArgs>(x => _data.BackButtonPressed += x, x => _data.BackButtonPressed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.BackButtonPressedEventArgs)> BackButtonPressed => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.BackButtonPressedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.BackButtonPressedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.BackButtonPressed += x, x => _data.BackButtonPressed -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable IsPresentedChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.IsPresentedChanged += x, x => _data.IsPresentedChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> IsPresentedChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.IsPresentedChanged += x, x => _data.IsPresentedChanged -= x); } /// @@ -1106,7 +1514,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Clicked += x, x => _data.Clicked -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Clicked => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Clicked += x, x => _data.Clicked -= x); } /// @@ -1127,35 +1541,83 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable InsertPageBeforeRequested => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(x => _data.InsertPageBeforeRequested += x, x => _data.InsertPageBeforeRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs)> InsertPageBeforeRequested => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.InsertPageBeforeRequested += x, x => _data.InsertPageBeforeRequested -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Popped => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.NavigationEventArgs>(x => _data.Popped += x, x => _data.Popped -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.NavigationEventArgs)> Popped => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.NavigationEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.NavigationEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Popped += x, x => _data.Popped -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable PoppedToRoot => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.NavigationEventArgs>(x => _data.PoppedToRoot += x, x => _data.PoppedToRoot -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.NavigationEventArgs)> PoppedToRoot => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.NavigationEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.NavigationEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.PoppedToRoot += x, x => _data.PoppedToRoot -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable PopRequested => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(x => _data.PopRequested += x, x => _data.PopRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs)> PopRequested => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.PopRequested += x, x => _data.PopRequested -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable PopToRootRequested => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(x => _data.PopToRootRequested += x, x => _data.PopToRootRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs)> PopToRootRequested => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.PopToRootRequested += x, x => _data.PopToRootRequested -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Pushed => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.NavigationEventArgs>(x => _data.Pushed += x, x => _data.Pushed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.NavigationEventArgs)> Pushed => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.NavigationEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.NavigationEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Pushed += x, x => _data.Pushed -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable PushRequested => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(x => _data.PushRequested += x, x => _data.PushRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs)> PushRequested => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.PushRequested += x, x => _data.PushRequested -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable RemovePageRequested => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(x => _data.RemovePageRequested += x, x => _data.RemovePageRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs)> RemovePageRequested => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.RemovePageRequested += x, x => _data.RemovePageRequested -= x); } /// @@ -1176,7 +1638,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DisplayRequested => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.DisplayRequested += x, x => _data.DisplayRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> DisplayRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DisplayRequested += x, x => _data.DisplayRequested -= x); } /// @@ -1197,15 +1665,33 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Appearing => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Appearing += x, x => _data.Appearing -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Appearing => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Appearing += x, x => _data.Appearing -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Disappearing => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Disappearing += x, x => _data.Disappearing -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Disappearing => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Disappearing += x, x => _data.Disappearing -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable LayoutChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.LayoutChanged += x, x => _data.LayoutChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> LayoutChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.LayoutChanged += x, x => _data.LayoutChanged -= x); } /// @@ -1226,7 +1712,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable PanUpdated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.PanUpdatedEventArgs>(x => _data.PanUpdated += x, x => _data.PanUpdated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.PanUpdatedEventArgs)> PanUpdated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.PanUpdatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.PanUpdatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.PanUpdated += x, x => _data.PanUpdated -= x); } /// @@ -1247,7 +1739,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable SelectedIndexChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.SelectedIndexChanged += x, x => _data.SelectedIndexChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> SelectedIndexChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.SelectedIndexChanged += x, x => _data.SelectedIndexChanged -= x); } /// @@ -1268,7 +1766,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable PinchUpdated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.PinchGestureUpdatedEventArgs>(x => _data.PinchUpdated += x, x => _data.PinchUpdated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.PinchGestureUpdatedEventArgs)> PinchUpdated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.PinchGestureUpdatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.PinchGestureUpdatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.PinchUpdated += x, x => _data.PinchUpdated -= x); } /// @@ -1289,7 +1793,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable SizeChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.SizeChanged += x, x => _data.SizeChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> SizeChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.SizeChanged += x, x => _data.SizeChanged -= x); } /// @@ -1310,11 +1820,23 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Scrolled => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ScrolledEventArgs>(x => _data.Scrolled += x, x => _data.Scrolled -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ScrolledEventArgs)> Scrolled => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ScrolledEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrolledEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Scrolled += x, x => _data.Scrolled -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ScrollToRequested => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ScrollToRequestedEventArgs>(x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ScrollToRequestedEventArgs)> ScrollToRequested => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ScrollToRequestedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrollToRequestedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x); } /// @@ -1335,11 +1857,23 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable SearchButtonPressed => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.SearchButtonPressed += x, x => _data.SearchButtonPressed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> SearchButtonPressed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.SearchButtonPressed += x, x => _data.SearchButtonPressed -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable TextChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.TextChangedEventArgs>(x => _data.TextChanged += x, x => _data.TextChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.TextChangedEventArgs)> TextChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.TextChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.TextChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.TextChanged += x, x => _data.TextChanged -= x); } /// @@ -1360,15 +1894,33 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable FocusChangeRequested => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.VisualElement.FocusRequestArgs>(x => _data.FocusChangeRequested += x, x => _data.FocusChangeRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.VisualElement.FocusRequestArgs)> FocusChangeRequested => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.VisualElement.FocusRequestArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.VisualElement.FocusRequestArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.FocusChangeRequested += x, x => _data.FocusChangeRequested -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Focused => global::System.Reactive.Linq.Observable.FromEventPattern, global::System.EventArgs>(x => _data.Focused += x, x => _data.Focused -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Focused => global::System.Reactive.Linq.Observable.FromEvent, (object, global::System.EventArgs)>(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Focused += x, x => _data.Focused -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Unfocused => global::System.Reactive.Linq.Observable.FromEventPattern, global::System.EventArgs>(x => _data.Unfocused += x, x => _data.Unfocused -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Unfocused => global::System.Reactive.Linq.Observable.FromEvent, (object, global::System.EventArgs)>(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Unfocused += x, x => _data.Unfocused -= x); } /// @@ -1389,7 +1941,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable SelectionChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.SelectionChangedEventArgs>(x => _data.SelectionChanged += x, x => _data.SelectionChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.SelectionChangedEventArgs)> SelectionChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.SelectionChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SelectionChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.SelectionChanged += x, x => _data.SelectionChanged -= x); } /// @@ -1410,11 +1968,23 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Navigated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ShellNavigatedEventArgs>(x => _data.Navigated += x, x => _data.Navigated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ShellNavigatedEventArgs)> Navigated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ShellNavigatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ShellNavigatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Navigated += x, x => _data.Navigated -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Navigating => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ShellNavigatingEventArgs>(x => _data.Navigating += x, x => _data.Navigating -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ShellNavigatingEventArgs)> Navigating => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ShellNavigatingEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ShellNavigatingEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Navigating += x, x => _data.Navigating -= x); } /// @@ -1435,15 +2005,33 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DragCompleted => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.DragCompleted += x, x => _data.DragCompleted -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> DragCompleted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DragCompleted += x, x => _data.DragCompleted -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable DragStarted => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.DragStarted += x, x => _data.DragStarted -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> DragStarted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.DragStarted += x, x => _data.DragStarted -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ValueChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ValueChangedEventArgs>(x => _data.ValueChanged += x, x => _data.ValueChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ValueChangedEventArgs)> ValueChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ValueChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ValueChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ValueChanged += x, x => _data.ValueChanged -= x); } /// @@ -1464,7 +2052,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ValueChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ValueChangedEventArgs>(x => _data.ValueChanged += x, x => _data.ValueChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ValueChangedEventArgs)> ValueChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ValueChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ValueChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ValueChanged += x, x => _data.ValueChanged -= x); } /// @@ -1485,7 +2079,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Swiped => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.SwipedEventArgs>(x => _data.Swiped += x, x => _data.Swiped -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.SwipedEventArgs)> Swiped => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.SwipedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SwipedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Swiped += x, x => _data.Swiped -= x); } /// @@ -1506,7 +2106,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Toggled => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ToggledEventArgs>(x => _data.Toggled += x, x => _data.Toggled -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ToggledEventArgs)> Toggled => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ToggledEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ToggledEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Toggled += x, x => _data.Toggled -= x); } /// @@ -1527,7 +2133,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable OnChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ToggledEventArgs>(x => _data.OnChanged += x, x => _data.OnChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.ToggledEventArgs)> OnChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ToggledEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ToggledEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.OnChanged += x, x => _data.OnChanged -= x); } /// @@ -1548,7 +2160,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ModelChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.ModelChanged += x, x => _data.ModelChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> ModelChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ModelChanged += x, x => _data.ModelChanged -= x); } /// @@ -1569,7 +2187,13 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Tapped => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Tapped += x, x => _data.Tapped -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Tapped => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Tapped += x, x => _data.Tapped -= x); } /// @@ -1591,7 +2215,13 @@ namespace Xamarin.Forms /// Gets an observable which signals when the event triggers. /// [global::System.ObsoleteAttribute("Activated is obsolete as of version 1.3.0. Please use Clicked instead.", false)] - public global::System.IObservable Activated => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Activated += x, x => _data.Activated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Activated => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Activated += x, x => _data.Activated -= x); } /// @@ -1612,31 +2242,73 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable> BatchCommitted => global::System.Reactive.Linq.Observable.FromEventPattern>, global::Xamarin.Forms.Internals.EventArg>(x => _data.BatchCommitted += x, x => _data.BatchCommitted -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Internals.EventArg)> BatchCommitted => global::System.Reactive.Linq.Observable.FromEvent>, (object, global::Xamarin.Forms.Internals.EventArg)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EventArg e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.BatchCommitted += x, x => _data.BatchCommitted -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ChildrenReordered => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.ChildrenReordered += x, x => _data.ChildrenReordered -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> ChildrenReordered => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ChildrenReordered += x, x => _data.ChildrenReordered -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable FocusChangeRequested => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.VisualElement.FocusRequestArgs>(x => _data.FocusChangeRequested += x, x => _data.FocusChangeRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.VisualElement.FocusRequestArgs)> FocusChangeRequested => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.VisualElement.FocusRequestArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.VisualElement.FocusRequestArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.FocusChangeRequested += x, x => _data.FocusChangeRequested -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Focused => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.FocusEventArgs>(x => _data.Focused += x, x => _data.Focused -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.FocusEventArgs)> Focused => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.FocusEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.FocusEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Focused += x, x => _data.Focused -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable MeasureInvalidated => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.MeasureInvalidated += x, x => _data.MeasureInvalidated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> MeasureInvalidated => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.MeasureInvalidated += x, x => _data.MeasureInvalidated -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable SizeChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.SizeChanged += x, x => _data.SizeChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> SizeChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.SizeChanged += x, x => _data.SizeChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Unfocused => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.FocusEventArgs>(x => _data.Unfocused += x, x => _data.Unfocused -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.FocusEventArgs)> Unfocused => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.FocusEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.FocusEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Unfocused += x, x => _data.Unfocused -= x); } /// @@ -1657,27 +2329,63 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable EvalRequested => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Internals.EvalRequested>(x => _data.EvalRequested += x, x => _data.EvalRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Internals.EvalRequested)> EvalRequested => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Internals.EvalRequested)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EvalRequested e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.EvalRequested += x, x => _data.EvalRequested -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable GoBackRequested => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.GoBackRequested += x, x => _data.GoBackRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> GoBackRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.GoBackRequested += x, x => _data.GoBackRequested -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable GoForwardRequested => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.GoForwardRequested += x, x => _data.GoForwardRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> GoForwardRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.GoForwardRequested += x, x => _data.GoForwardRequested -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Navigated => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.WebNavigatedEventArgs>(x => _data.Navigated += x, x => _data.Navigated -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.WebNavigatedEventArgs)> Navigated => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.WebNavigatedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.WebNavigatedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Navigated += x, x => _data.Navigated -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Navigating => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.WebNavigatingEventArgs>(x => _data.Navigating += x, x => _data.Navigating -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.WebNavigatingEventArgs)> Navigating => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.WebNavigatingEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.WebNavigatingEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Navigating += x, x => _data.Navigating -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ReloadRequested => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.ReloadRequested += x, x => _data.ReloadRequested -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> ReloadRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ReloadRequested += x, x => _data.ReloadRequested -= x); } } @@ -1724,7 +2432,13 @@ namespace Xamarin.Forms.Internals /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable PropertyChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.PropertyChanged += x, x => _data.PropertyChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.ComponentModel.PropertyChangedEventArgs)> PropertyChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.PropertyChanged += x, x => _data.PropertyChanged -= x); } /// @@ -1745,7 +2459,13 @@ namespace Xamarin.Forms.Internals /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ValuesChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Internals.ResourcesChangedEventArgs>(x => _data.ValuesChanged += x, x => _data.ValuesChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Internals.ResourcesChangedEventArgs)> ValuesChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Internals.ResourcesChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.ResourcesChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ValuesChanged += x, x => _data.ValuesChanged -= x); } /// @@ -1766,11 +2486,23 @@ namespace Xamarin.Forms.Internals /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable> ItemLongPressed => global::System.Reactive.Linq.Observable.FromEventPattern>, global::Xamarin.Forms.Internals.EventArg>(x => _data.ItemLongPressed += x, x => _data.ItemLongPressed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Internals.EventArg)> ItemLongPressed => global::System.Reactive.Linq.Observable.FromEvent>, (object, global::Xamarin.Forms.Internals.EventArg)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EventArg e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ItemLongPressed += x, x => _data.ItemLongPressed -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable> ItemSelected => global::System.Reactive.Linq.Observable.FromEventPattern>, global::Xamarin.Forms.Internals.EventArg>(x => _data.ItemSelected += x, x => _data.ItemSelected -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Internals.EventArg)> ItemSelected => global::System.Reactive.Linq.Observable.FromEvent>, (object, global::Xamarin.Forms.Internals.EventArg)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EventArg e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ItemSelected += x, x => _data.ItemSelected -= x); } /// @@ -1791,7 +2523,13 @@ namespace Xamarin.Forms.Internals /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable CollectionChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.CollectionChanged += x, x => _data.CollectionChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> CollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.CollectionChanged += x, x => _data.CollectionChanged -= x); } } @@ -1890,7 +2628,13 @@ namespace Xamarin.Forms.Platform.Android /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ConfigurationChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.ConfigurationChanged += x, x => _data.ConfigurationChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> ConfigurationChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ConfigurationChanged += x, x => _data.ConfigurationChanged -= x); } /// @@ -1911,7 +2655,13 @@ namespace Xamarin.Forms.Platform.Android /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ConfigurationChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.ConfigurationChanged += x, x => _data.ConfigurationChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> ConfigurationChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ConfigurationChanged += x, x => _data.ConfigurationChanged -= x); } /// @@ -1932,7 +2682,13 @@ namespace Xamarin.Forms.Platform.Android /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(x => _data.ElementChanged += x, x => _data.ElementChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs)> ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ElementChanged += x, x => _data.ElementChanged -= x); } /// @@ -1953,7 +2709,13 @@ namespace Xamarin.Forms.Platform.Android /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(x => _data.ElementChanged += x, x => _data.ElementChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs)> ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ElementChanged += x, x => _data.ElementChanged -= x); } /// @@ -1974,7 +2736,13 @@ namespace Xamarin.Forms.Platform.Android /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ConfigurationChanged => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.ConfigurationChanged += x, x => _data.ConfigurationChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> ConfigurationChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ConfigurationChanged += x, x => _data.ConfigurationChanged -= x); } /// @@ -1995,11 +2763,23 @@ namespace Xamarin.Forms.Platform.Android /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(x => _data.ElementChanged += x, x => _data.ElementChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs)> ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ElementChanged += x, x => _data.ElementChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ElementPropertyChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::System.ComponentModel.PropertyChangedEventArgs>(x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.ComponentModel.PropertyChangedEventArgs)> ElementPropertyChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::System.ComponentModel.PropertyChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x); } /// @@ -2020,7 +2800,13 @@ namespace Xamarin.Forms.Platform.Android /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Destroyed => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Destroyed += x, x => _data.Destroyed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Destroyed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Destroyed += x, x => _data.Destroyed -= x); } /// @@ -2041,7 +2827,13 @@ namespace Xamarin.Forms.Platform.Android /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable AnimationFinished => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.AnimationFinished += x, x => _data.AnimationFinished -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> AnimationFinished => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.AnimationFinished += x, x => _data.AnimationFinished -= x); } /// @@ -2062,7 +2854,13 @@ namespace Xamarin.Forms.Platform.Android /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable SearchConfirmed => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.SearchConfirmed += x, x => _data.SearchConfirmed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> SearchConfirmed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.SearchConfirmed += x, x => _data.SearchConfirmed -= x); } /// @@ -2083,11 +2881,23 @@ namespace Xamarin.Forms.Platform.Android /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(x => _data.ElementChanged += x, x => _data.ElementChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs)> ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ElementChanged += x, x => _data.ElementChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ElementPropertyChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::System.ComponentModel.PropertyChangedEventArgs>(x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.ComponentModel.PropertyChangedEventArgs)> ElementPropertyChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::System.ComponentModel.PropertyChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x); } /// @@ -2108,11 +2918,23 @@ namespace Xamarin.Forms.Platform.Android /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(x => _data.ElementChanged += x, x => _data.ElementChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs)> ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ElementChanged += x, x => _data.ElementChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ElementPropertyChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::System.ComponentModel.PropertyChangedEventArgs>(x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.ComponentModel.PropertyChangedEventArgs)> ElementPropertyChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::System.ComponentModel.PropertyChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x); } /// @@ -2133,7 +2955,13 @@ namespace Xamarin.Forms.Platform.Android /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(x => _data.ElementChanged += x, x => _data.ElementChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs)> ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ElementChanged += x, x => _data.ElementChanged -= x); } /// @@ -2154,7 +2982,13 @@ namespace Xamarin.Forms.Platform.Android /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(x => _data.ElementChanged += x, x => _data.ElementChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs)> ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ElementChanged += x, x => _data.ElementChanged -= x); } /// @@ -2175,7 +3009,13 @@ namespace Xamarin.Forms.Platform.Android /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable AnimationFinished => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.AnimationFinished += x, x => _data.AnimationFinished -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> AnimationFinished => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.AnimationFinished += x, x => _data.AnimationFinished -= x); } /// @@ -2196,7 +3036,13 @@ namespace Xamarin.Forms.Platform.Android /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable Destroyed => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.Destroyed += x, x => _data.Destroyed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> Destroyed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.Destroyed += x, x => _data.Destroyed -= x); } /// @@ -2217,7 +3063,13 @@ namespace Xamarin.Forms.Platform.Android /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable SearchConfirmed => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.SearchConfirmed += x, x => _data.SearchConfirmed -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> SearchConfirmed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.SearchConfirmed += x, x => _data.SearchConfirmed -= x); } /// @@ -2238,7 +3090,13 @@ namespace Xamarin.Forms.Platform.Android /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable AnimationFinished => global::System.Reactive.Linq.Observable.FromEventPattern(x => _data.AnimationFinished += x, x => _data.AnimationFinished -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.EventArgs)> AnimationFinished => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.AnimationFinished += x, x => _data.AnimationFinished -= x); } } @@ -2285,11 +3143,23 @@ namespace Xamarin.Forms.Platform.Android.FastRenderers /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(x => _data.ElementChanged += x, x => _data.ElementChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs)> ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ElementChanged += x, x => _data.ElementChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ElementPropertyChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::System.ComponentModel.PropertyChangedEventArgs>(x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.ComponentModel.PropertyChangedEventArgs)> ElementPropertyChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::System.ComponentModel.PropertyChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x); } /// @@ -2310,11 +3180,23 @@ namespace Xamarin.Forms.Platform.Android.FastRenderers /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(x => _data.ElementChanged += x, x => _data.ElementChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs)> ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ElementChanged += x, x => _data.ElementChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ElementPropertyChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::System.ComponentModel.PropertyChangedEventArgs>(x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.ComponentModel.PropertyChangedEventArgs)> ElementPropertyChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::System.ComponentModel.PropertyChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x); } /// @@ -2335,11 +3217,23 @@ namespace Xamarin.Forms.Platform.Android.FastRenderers /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(x => _data.ElementChanged += x, x => _data.ElementChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs)> ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ElementChanged += x, x => _data.ElementChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ElementPropertyChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::System.ComponentModel.PropertyChangedEventArgs>(x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.ComponentModel.PropertyChangedEventArgs)> ElementPropertyChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::System.ComponentModel.PropertyChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x); } /// @@ -2360,11 +3254,23 @@ namespace Xamarin.Forms.Platform.Android.FastRenderers /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(x => _data.ElementChanged += x, x => _data.ElementChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs)> ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ElementChanged += x, x => _data.ElementChanged -= x); /// /// Gets an observable which signals when the event triggers. /// - public global::System.IObservable ElementPropertyChanged => global::System.Reactive.Linq.Observable.FromEventPattern, global::System.ComponentModel.PropertyChangedEventArgs>(x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x).Select(x => x.EventArgs); + public global::System.IObservable<(object, global::System.ComponentModel.PropertyChangedEventArgs)> ElementPropertyChanged => global::System.Reactive.Linq.Observable.FromEvent, (object, global::System.ComponentModel.PropertyChangedEventArgs)>(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x); } } @@ -2378,6 +3284,12 @@ namespace Xamarin.Forms /// /// Gets an observable which signals when the event triggers. /// - public static global::System.IObservable FormsViewInitialized => global::System.Reactive.Linq.Observable.FromEventPattern, global::Xamarin.Forms.ViewInitializedEventArgs>(x => global::Xamarin.Forms.Forms.ViewInitialized += x, x => global::Xamarin.Forms.Forms.ViewInitialized -= x).Select(x => x.EventArgs); + public static global::System.IObservable<(object, global::Xamarin.Forms.ViewInitializedEventArgs)> FormsViewInitialized => global::System.Reactive.Linq.Observable.FromEvent, (object, global::Xamarin.Forms.ViewInitializedEventArgs)>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ViewInitializedEventArgs e) => eventHandler((sender, e)); + return Handler; + } + + , x => global::Xamarin.Forms.Forms.ViewInitialized += x, x => global::Xamarin.Forms.Forms.ViewInitialized -= x); } } \ No newline at end of file