diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 5223e3b..57b8fd0 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -35,9 +35,9 @@ jobs: - name: Add MSBuild to PATH uses: glennawatson/setup-msbuild@v1.0.3 - - name: Update VS2019 - shell: powershell - run: Start-Process -Wait -PassThru -FilePath "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe" -ArgumentList "update --passive --norestart --installpath ""C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise""" + # - name: Update VS2019 + # shell: powershell + # run: Start-Process -Wait -PassThru -FilePath "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe" -ArgumentList "update --passive --norestart --installpath ""C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise""" - name: NBGV id: nbgv diff --git a/src/Directory.build.props b/src/Directory.build.props index 64d5fe3..b1b1e6a 100644 --- a/src/Directory.build.props +++ b/src/Directory.build.props @@ -49,8 +49,8 @@ - - + + diff --git a/src/Pharmacist.Console/Program.cs b/src/Pharmacist.Console/Program.cs index b6822d7..e64f277 100644 --- a/src/Pharmacist.Console/Program.cs +++ b/src/Pharmacist.Console/Program.cs @@ -84,7 +84,7 @@ await ObservablesForEventGenerator.ExtractEventsFromPlatforms( } catch (Exception ex) { - LogHost.Default.Fatal(ex); + LogHost.Default.Fatal(ex.ToString()); return ExitCode.Error; } }, @@ -122,7 +122,7 @@ await ObservablesForEventGenerator.ExtractEventsFromPlatforms( } catch (Exception ex) { - LogHost.Default.Fatal(ex); + LogHost.Default.Fatal(ex.ToString()); return ExitCode.Error; } }, @@ -150,7 +150,7 @@ await ObservablesForEventGenerator.ExtractEventsFromPlatforms( } catch (Exception ex) { - LogHost.Default.Fatal(ex); + LogHost.Default.Fatal(ex.ToString()); return ExitCode.Error; } }, diff --git a/src/Pharmacist.Core/Pharmacist.Core.csproj b/src/Pharmacist.Core/Pharmacist.Core.csproj index 8c24d25..bab5298 100644 --- a/src/Pharmacist.Core/Pharmacist.Core.csproj +++ b/src/Pharmacist.Core/Pharmacist.Core.csproj @@ -11,11 +11,11 @@ - - - + + + - + diff --git a/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Essentials.1.5.3.2.xamarinios10.approved.txt b/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Essentials.1.5.3.2.xamarinios10.approved.txt deleted file mode 100644 index acd5bd1..0000000 --- a/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Essentials.1.5.3.2.xamarinios10.approved.txt +++ /dev/null @@ -1,112 +0,0 @@ - -using global::System; -using global::System.Reactive; -using global::System.Reactive.Linq; -using global::System.Reactive.Subjects; -using global::Pharmacist.Common; - -namespace Xamarin.Essentials -{ - /// - /// A class that contains extension methods to wrap events contained within static classes within the namespace. - /// - public static class Events - { - /// - /// Gets an observable which signals when the event triggers. - /// - public static global::System.IObservable AccelerometerReadingChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Essentials.AccelerometerChangedEventArgs>(eventHandler => - { - void Handler(object sender, global::Xamarin.Essentials.AccelerometerChangedEventArgs e) => eventHandler(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.FromEvent(eventHandler => - { - void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Essentials.BarometerChangedEventArgs>(eventHandler => - { - void Handler(object sender, global::Xamarin.Essentials.BarometerChangedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Essentials.BatteryInfoChangedEventArgs>(eventHandler => - { - void Handler(object sender, global::Xamarin.Essentials.BatteryInfoChangedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Essentials.EnergySaverStatusChangedEventArgs>(eventHandler => - { - void Handler(object sender, global::Xamarin.Essentials.EnergySaverStatusChangedEventArgs e) => eventHandler(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 ClipboardClipboardContentChanged => global::System.Reactive.Linq.Observable.FromEvent, global::System.EventArgs>(eventHandler => - { - void Handler(object sender, global::System.EventArgs e) => eventHandler(e); - return Handler; - }, x => global::Xamarin.Essentials.Clipboard.ClipboardContentChanged += x, x => global::Xamarin.Essentials.Clipboard.ClipboardContentChanged -= x); - /// - /// Gets an observable which signals when the event triggers. - /// - public static global::System.IObservable CompassReadingChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Essentials.CompassChangedEventArgs>(eventHandler => - { - void Handler(object sender, global::Xamarin.Essentials.CompassChangedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Essentials.ConnectivityChangedEventArgs>(eventHandler => - { - void Handler(object sender, global::Xamarin.Essentials.ConnectivityChangedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Essentials.DisplayInfoChangedEventArgs>(eventHandler => - { - void Handler(object sender, global::Xamarin.Essentials.DisplayInfoChangedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Essentials.GyroscopeChangedEventArgs>(eventHandler => - { - void Handler(object sender, global::Xamarin.Essentials.GyroscopeChangedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Essentials.MagnetometerChangedEventArgs>(eventHandler => - { - void Handler(object sender, global::Xamarin.Essentials.MagnetometerChangedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Essentials.OrientationSensorChangedEventArgs>(eventHandler => - { - void Handler(object sender, global::Xamarin.Essentials.OrientationSensorChangedEventArgs e) => eventHandler(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.Essentials.1.5.3.2.xamarinmac20.approved.txt b/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Essentials.1.5.3.2.xamarinmac20.approved.txt deleted file mode 100644 index acd5bd1..0000000 --- a/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Essentials.1.5.3.2.xamarinmac20.approved.txt +++ /dev/null @@ -1,112 +0,0 @@ - -using global::System; -using global::System.Reactive; -using global::System.Reactive.Linq; -using global::System.Reactive.Subjects; -using global::Pharmacist.Common; - -namespace Xamarin.Essentials -{ - /// - /// A class that contains extension methods to wrap events contained within static classes within the namespace. - /// - public static class Events - { - /// - /// Gets an observable which signals when the event triggers. - /// - public static global::System.IObservable AccelerometerReadingChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Essentials.AccelerometerChangedEventArgs>(eventHandler => - { - void Handler(object sender, global::Xamarin.Essentials.AccelerometerChangedEventArgs e) => eventHandler(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.FromEvent(eventHandler => - { - void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Essentials.BarometerChangedEventArgs>(eventHandler => - { - void Handler(object sender, global::Xamarin.Essentials.BarometerChangedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Essentials.BatteryInfoChangedEventArgs>(eventHandler => - { - void Handler(object sender, global::Xamarin.Essentials.BatteryInfoChangedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Essentials.EnergySaverStatusChangedEventArgs>(eventHandler => - { - void Handler(object sender, global::Xamarin.Essentials.EnergySaverStatusChangedEventArgs e) => eventHandler(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 ClipboardClipboardContentChanged => global::System.Reactive.Linq.Observable.FromEvent, global::System.EventArgs>(eventHandler => - { - void Handler(object sender, global::System.EventArgs e) => eventHandler(e); - return Handler; - }, x => global::Xamarin.Essentials.Clipboard.ClipboardContentChanged += x, x => global::Xamarin.Essentials.Clipboard.ClipboardContentChanged -= x); - /// - /// Gets an observable which signals when the event triggers. - /// - public static global::System.IObservable CompassReadingChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Essentials.CompassChangedEventArgs>(eventHandler => - { - void Handler(object sender, global::Xamarin.Essentials.CompassChangedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Essentials.ConnectivityChangedEventArgs>(eventHandler => - { - void Handler(object sender, global::Xamarin.Essentials.ConnectivityChangedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Essentials.DisplayInfoChangedEventArgs>(eventHandler => - { - void Handler(object sender, global::Xamarin.Essentials.DisplayInfoChangedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Essentials.GyroscopeChangedEventArgs>(eventHandler => - { - void Handler(object sender, global::Xamarin.Essentials.GyroscopeChangedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Essentials.MagnetometerChangedEventArgs>(eventHandler => - { - void Handler(object sender, global::Xamarin.Essentials.MagnetometerChangedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Essentials.OrientationSensorChangedEventArgs>(eventHandler => - { - void Handler(object sender, global::Xamarin.Essentials.OrientationSensorChangedEventArgs e) => eventHandler(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.Essentials.1.6.1.monoandroid81.approved.txt b/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Essentials.1.6.1.monoandroid81.approved.txt new file mode 100644 index 0000000..ffd8d58 --- /dev/null +++ b/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Essentials.1.6.1.monoandroid81.approved.txt @@ -0,0 +1,128 @@ + +using global::System; +using global::System.Reactive; +using global::System.Reactive.Linq; +using global::System.Reactive.Subjects; +using global::Pharmacist.Common; + +namespace Xamarin.Essentials +{ + /// + /// A class that contains extension methods to wrap events contained within static classes within the namespace. + /// + public static class Events + { + /// + /// Gets an observable which signals when the event triggers. + /// + public static global::System.IObservable AccelerometerReadingChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Essentials.AccelerometerChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Essentials.AccelerometerChangedEventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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 AppActionsOnAppAction => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Essentials.AppActionEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Essentials.AppActionEventArgs e) => eventHandler(e); + return Handler; + }, x => global::Xamarin.Essentials.AppActions.OnAppAction += x, x => global::Xamarin.Essentials.AppActions.OnAppAction -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public static global::System.IObservable BarometerReadingChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Essentials.BarometerChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Essentials.BarometerChangedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Essentials.BatteryInfoChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Essentials.BatteryInfoChangedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Essentials.EnergySaverStatusChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Essentials.EnergySaverStatusChangedEventArgs e) => eventHandler(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 ClipboardClipboardContentChanged => global::System.Reactive.Linq.Observable.FromEvent, global::System.EventArgs>(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => global::Xamarin.Essentials.Clipboard.ClipboardContentChanged += x, x => global::Xamarin.Essentials.Clipboard.ClipboardContentChanged -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public static global::System.IObservable CompassReadingChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Essentials.CompassChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Essentials.CompassChangedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Essentials.ConnectivityChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Essentials.ConnectivityChangedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Essentials.DisplayInfoChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Essentials.DisplayInfoChangedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Essentials.GyroscopeChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Essentials.GyroscopeChangedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Essentials.MagnetometerChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Essentials.MagnetometerChangedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Essentials.OrientationSensorChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Essentials.OrientationSensorChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => global::Xamarin.Essentials.OrientationSensor.ReadingChanged += x, x => global::Xamarin.Essentials.OrientationSensor.ReadingChanged -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public static global::System.IObservable PlatformActivityStateChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Essentials.ActivityStateChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Essentials.ActivityStateChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => global::Xamarin.Essentials.Platform.ActivityStateChanged += x, x => global::Xamarin.Essentials.Platform.ActivityStateChanged -= x); + } +} \ No newline at end of file diff --git a/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Essentials.1.6.1.monoandroid90.approved.txt b/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Essentials.1.6.1.monoandroid90.approved.txt new file mode 100644 index 0000000..ffd8d58 --- /dev/null +++ b/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Essentials.1.6.1.monoandroid90.approved.txt @@ -0,0 +1,128 @@ + +using global::System; +using global::System.Reactive; +using global::System.Reactive.Linq; +using global::System.Reactive.Subjects; +using global::Pharmacist.Common; + +namespace Xamarin.Essentials +{ + /// + /// A class that contains extension methods to wrap events contained within static classes within the namespace. + /// + public static class Events + { + /// + /// Gets an observable which signals when the event triggers. + /// + public static global::System.IObservable AccelerometerReadingChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Essentials.AccelerometerChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Essentials.AccelerometerChangedEventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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 AppActionsOnAppAction => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Essentials.AppActionEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Essentials.AppActionEventArgs e) => eventHandler(e); + return Handler; + }, x => global::Xamarin.Essentials.AppActions.OnAppAction += x, x => global::Xamarin.Essentials.AppActions.OnAppAction -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public static global::System.IObservable BarometerReadingChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Essentials.BarometerChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Essentials.BarometerChangedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Essentials.BatteryInfoChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Essentials.BatteryInfoChangedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Essentials.EnergySaverStatusChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Essentials.EnergySaverStatusChangedEventArgs e) => eventHandler(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 ClipboardClipboardContentChanged => global::System.Reactive.Linq.Observable.FromEvent, global::System.EventArgs>(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => global::Xamarin.Essentials.Clipboard.ClipboardContentChanged += x, x => global::Xamarin.Essentials.Clipboard.ClipboardContentChanged -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public static global::System.IObservable CompassReadingChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Essentials.CompassChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Essentials.CompassChangedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Essentials.ConnectivityChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Essentials.ConnectivityChangedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Essentials.DisplayInfoChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Essentials.DisplayInfoChangedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Essentials.GyroscopeChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Essentials.GyroscopeChangedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Essentials.MagnetometerChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Essentials.MagnetometerChangedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Essentials.OrientationSensorChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Essentials.OrientationSensorChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => global::Xamarin.Essentials.OrientationSensor.ReadingChanged += x, x => global::Xamarin.Essentials.OrientationSensor.ReadingChanged -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public static global::System.IObservable PlatformActivityStateChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Essentials.ActivityStateChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Essentials.ActivityStateChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => global::Xamarin.Essentials.Platform.ActivityStateChanged += x, x => global::Xamarin.Essentials.Platform.ActivityStateChanged -= x); + } +} \ No newline at end of file diff --git a/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Essentials.1.5.3.2.monoandroid81.approved.txt b/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Essentials.1.6.1.netstandard2.0.approved.txt similarity index 94% rename from src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Essentials.1.5.3.2.monoandroid81.approved.txt rename to src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Essentials.1.6.1.netstandard2.0.approved.txt index 736ae18..3240f7f 100644 --- a/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Essentials.1.5.3.2.monoandroid81.approved.txt +++ b/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Essentials.1.6.1.netstandard2.0.approved.txt @@ -29,6 +29,14 @@ namespace Xamarin.Essentials 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 AppActionsOnAppAction => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Essentials.AppActionEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Essentials.AppActionEventArgs e) => eventHandler(e); + return Handler; + }, x => global::Xamarin.Essentials.AppActions.OnAppAction += x, x => global::Xamarin.Essentials.AppActions.OnAppAction -= x); + /// /// Gets an observable which signals when the event triggers. /// public static global::System.IObservable BarometerReadingChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Essentials.BarometerChangedEventArgs>(eventHandler => @@ -108,13 +116,5 @@ namespace Xamarin.Essentials void Handler(object sender, global::Xamarin.Essentials.OrientationSensorChangedEventArgs e) => eventHandler(e); return Handler; }, x => global::Xamarin.Essentials.OrientationSensor.ReadingChanged += x, x => global::Xamarin.Essentials.OrientationSensor.ReadingChanged -= x); - /// - /// Gets an observable which signals when the event triggers. - /// - public static global::System.IObservable PlatformActivityStateChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Essentials.ActivityStateChangedEventArgs>(eventHandler => - { - void Handler(object sender, global::Xamarin.Essentials.ActivityStateChangedEventArgs e) => eventHandler(e); - return Handler; - }, x => global::Xamarin.Essentials.Platform.ActivityStateChanged += x, x => global::Xamarin.Essentials.Platform.ActivityStateChanged -= x); } } \ No newline at end of file diff --git a/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Essentials.1.5.3.2.monoandroid90.approved.txt b/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Essentials.1.6.1.uap10.0.17763.approved.txt similarity index 94% rename from src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Essentials.1.5.3.2.monoandroid90.approved.txt rename to src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Essentials.1.6.1.uap10.0.17763.approved.txt index 736ae18..3240f7f 100644 --- a/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Essentials.1.5.3.2.monoandroid90.approved.txt +++ b/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Essentials.1.6.1.uap10.0.17763.approved.txt @@ -29,6 +29,14 @@ namespace Xamarin.Essentials 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 AppActionsOnAppAction => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Essentials.AppActionEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Essentials.AppActionEventArgs e) => eventHandler(e); + return Handler; + }, x => global::Xamarin.Essentials.AppActions.OnAppAction += x, x => global::Xamarin.Essentials.AppActions.OnAppAction -= x); + /// /// Gets an observable which signals when the event triggers. /// public static global::System.IObservable BarometerReadingChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Essentials.BarometerChangedEventArgs>(eventHandler => @@ -108,13 +116,5 @@ namespace Xamarin.Essentials void Handler(object sender, global::Xamarin.Essentials.OrientationSensorChangedEventArgs e) => eventHandler(e); return Handler; }, x => global::Xamarin.Essentials.OrientationSensor.ReadingChanged += x, x => global::Xamarin.Essentials.OrientationSensor.ReadingChanged -= x); - /// - /// Gets an observable which signals when the event triggers. - /// - public static global::System.IObservable PlatformActivityStateChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Essentials.ActivityStateChangedEventArgs>(eventHandler => - { - void Handler(object sender, global::Xamarin.Essentials.ActivityStateChangedEventArgs e) => eventHandler(e); - return Handler; - }, x => global::Xamarin.Essentials.Platform.ActivityStateChanged += x, x => global::Xamarin.Essentials.Platform.ActivityStateChanged -= x); } } \ No newline at end of file diff --git a/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Essentials.1.5.3.2.netstandard2.0.approved.txt b/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Essentials.1.6.1.xamarinios10.approved.txt similarity index 92% rename from src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Essentials.1.5.3.2.netstandard2.0.approved.txt rename to src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Essentials.1.6.1.xamarinios10.approved.txt index acd5bd1..3240f7f 100644 --- a/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Essentials.1.5.3.2.netstandard2.0.approved.txt +++ b/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Essentials.1.6.1.xamarinios10.approved.txt @@ -29,6 +29,14 @@ namespace Xamarin.Essentials 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 AppActionsOnAppAction => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Essentials.AppActionEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Essentials.AppActionEventArgs e) => eventHandler(e); + return Handler; + }, x => global::Xamarin.Essentials.AppActions.OnAppAction += x, x => global::Xamarin.Essentials.AppActions.OnAppAction -= x); + /// /// Gets an observable which signals when the event triggers. /// public static global::System.IObservable BarometerReadingChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Essentials.BarometerChangedEventArgs>(eventHandler => diff --git a/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Essentials.1.5.3.2.uap10.0.17763.approved.txt b/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Essentials.1.6.1.xamarinmac20.approved.txt similarity index 92% rename from src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Essentials.1.5.3.2.uap10.0.17763.approved.txt rename to src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Essentials.1.6.1.xamarinmac20.approved.txt index acd5bd1..3240f7f 100644 --- a/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Essentials.1.5.3.2.uap10.0.17763.approved.txt +++ b/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Essentials.1.6.1.xamarinmac20.approved.txt @@ -29,6 +29,14 @@ namespace Xamarin.Essentials 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 AppActionsOnAppAction => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Essentials.AppActionEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Essentials.AppActionEventArgs e) => eventHandler(e); + return Handler; + }, x => global::Xamarin.Essentials.AppActions.OnAppAction += x, x => global::Xamarin.Essentials.AppActions.OnAppAction -= x); + /// /// Gets an observable which signals when the event triggers. /// public static global::System.IObservable BarometerReadingChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Essentials.BarometerChangedEventArgs>(eventHandler => diff --git a/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Forms.4.8.0.1821.monoandroid10.0.approved.txt b/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Forms.4.8.0.1821.monoandroid10.0.approved.txt new file mode 100644 index 0000000..c4ac9ef --- /dev/null +++ b/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Forms.4.8.0.1821.monoandroid10.0.approved.txt @@ -0,0 +1,4536 @@ + +using global::System; +using global::System.Reactive; +using global::System.Reactive.Linq; +using global::System.Reactive.Subjects; +using global::Pharmacist.Common; + +namespace Android.Views +{ + /// + /// A class that contains extension methods to wrap events for classes contained within the namespace. + /// + public static class EventExtensions + { + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxViewEvents Events(this global::Android.Views.View item) => new RxViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxViewGroupEvents Events(this global::Android.Views.ViewGroup item) => new RxViewGroupEvents(item); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxViewEvents + { + private readonly global::Android.Views.View _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxViewEvents(global::Android.Views.View data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CapturedPointer => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Views.View.CapturedPointerEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Views.View.CapturedPointerEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CapturedPointer += x, x => _data.CapturedPointer -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Click => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Click += x, x => _data.Click -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ContextClick => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Views.View.ContextClickEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Views.View.ContextClickEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ContextClick += x, x => _data.ContextClick -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ContextMenuCreated => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Views.View.CreateContextMenuEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Views.View.CreateContextMenuEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ContextMenuCreated += x, x => _data.ContextMenuCreated -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Drag => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Views.View.DragEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Views.View.DragEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Drag += x, x => _data.Drag -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable FocusChange => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Views.View.FocusChangeEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Views.View.FocusChangeEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.FocusChange += x, x => _data.FocusChange -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable GenericMotion => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Views.View.GenericMotionEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Views.View.GenericMotionEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.GenericMotion += x, x => _data.GenericMotion -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Hover => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Views.View.HoverEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Views.View.HoverEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Hover += x, x => _data.Hover -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable KeyPress => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Views.View.KeyEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Views.View.KeyEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.KeyPress += x, x => _data.KeyPress -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable LayoutChange => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Views.View.LayoutChangeEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Views.View.LayoutChangeEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.LayoutChange += x, x => _data.LayoutChange -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable LongClick => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Views.View.LongClickEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Views.View.LongClickEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.LongClick += x, x => _data.LongClick -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ScrollChange => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Views.View.ScrollChangeEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Views.View.ScrollChangeEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ScrollChange += x, x => _data.ScrollChange -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SystemUiVisibilityChange => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Views.View.SystemUiVisibilityChangeEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Views.View.SystemUiVisibilityChangeEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SystemUiVisibilityChange += x, x => _data.SystemUiVisibilityChange -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Touch => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Views.View.TouchEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Views.View.TouchEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Touch += x, x => _data.Touch -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable UnhandledKeyEvent => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Views.View.UnhandledKeyEventEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Views.View.UnhandledKeyEventEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.UnhandledKeyEvent += x, x => _data.UnhandledKeyEvent -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ViewAttachedToWindow => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Views.View.ViewAttachedToWindowEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Views.View.ViewAttachedToWindowEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ViewAttachedToWindow += x, x => _data.ViewAttachedToWindow -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ViewDetachedFromWindow => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Views.View.ViewDetachedFromWindowEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Views.View.ViewDetachedFromWindowEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ViewDetachedFromWindow += x, x => _data.ViewDetachedFromWindow -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxViewGroupEvents : global::Android.Views.RxViewEvents + { + private readonly global::Android.Views.ViewGroup _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxViewGroupEvents(global::Android.Views.ViewGroup data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable AnimationEnd => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Views.Animations.Animation.AnimationEndEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Views.Animations.Animation.AnimationEndEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.AnimationEnd += x, x => _data.AnimationEnd -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable AnimationRepeat => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Views.Animations.Animation.AnimationRepeatEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Views.Animations.Animation.AnimationRepeatEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.AnimationRepeat += x, x => _data.AnimationRepeat -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable AnimationStart => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Views.Animations.Animation.AnimationStartEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Views.Animations.Animation.AnimationStartEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.AnimationStart += x, x => _data.AnimationStart -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ChildViewAdded => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Views.ViewGroup.ChildViewAddedEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Views.ViewGroup.ChildViewAddedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ChildViewAdded += x, x => _data.ChildViewAdded -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ChildViewRemoved => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Views.ViewGroup.ChildViewRemovedEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Views.ViewGroup.ChildViewRemovedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ChildViewRemoved += x, x => _data.ChildViewRemoved -= x); + } +} + +namespace Android.Widget +{ + /// + /// A class that contains extension methods to wrap events for classes contained within the namespace. + /// + public static class EventExtensions + { + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxCompoundButtonEvents Events(this global::Android.Widget.CompoundButton item) => new RxCompoundButtonEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxTextViewEvents Events(this global::Android.Widget.TextView item) => new RxTextViewEvents(item); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxCompoundButtonEvents : global::Android.Widget.RxTextViewEvents + { + private readonly global::Android.Widget.CompoundButton _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxCompoundButtonEvents(global::Android.Widget.CompoundButton data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CheckedChange => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Widget.CompoundButton.CheckedChangeEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Widget.CompoundButton.CheckedChangeEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CheckedChange += x, x => _data.CheckedChange -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxTextViewEvents : global::Android.Views.RxViewEvents + { + private readonly global::Android.Widget.TextView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxTextViewEvents(global::Android.Widget.TextView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable AfterTextChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Text.AfterTextChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Text.AfterTextChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.AfterTextChanged += x, x => _data.AfterTextChanged -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable BeforeTextChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Text.TextChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Text.TextChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.BeforeTextChanged += x, x => _data.BeforeTextChanged -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable EditorAction => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Widget.TextView.EditorActionEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Widget.TextView.EditorActionEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.EditorAction += x, x => _data.EditorAction -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable TextChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Text.TextChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Text.TextChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.TextChanged += x, x => _data.TextChanged -= x); + } +} + +namespace AndroidX.Core.Widget +{ + /// + /// A class that contains extension methods to wrap events for classes contained within the namespace. + /// + public static class EventExtensions + { + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxNestedScrollViewEvents Events(this global::AndroidX.Core.Widget.NestedScrollView item) => new RxNestedScrollViewEvents(item); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxNestedScrollViewEvents : global::Android.Views.RxViewGroupEvents + { + private readonly global::AndroidX.Core.Widget.NestedScrollView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxNestedScrollViewEvents(global::AndroidX.Core.Widget.NestedScrollView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ScrollChange => global::System.Reactive.Linq.Observable.FromEvent, global::AndroidX.Core.Widget.NestedScrollView.ScrollChangeEventArgs>(eventHandler => + { + void Handler(object sender, global::AndroidX.Core.Widget.NestedScrollView.ScrollChangeEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ScrollChange += x, x => _data.ScrollChange -= x); + } +} + +namespace AndroidX.DrawerLayout.Widget +{ + /// + /// A class that contains extension methods to wrap events for classes contained within the namespace. + /// + public static class EventExtensions + { + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxDrawerLayoutEvents Events(this global::AndroidX.DrawerLayout.Widget.DrawerLayout item) => new RxDrawerLayoutEvents(item); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxDrawerLayoutEvents : global::Android.Views.RxViewGroupEvents + { + private readonly global::AndroidX.DrawerLayout.Widget.DrawerLayout _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxDrawerLayoutEvents(global::AndroidX.DrawerLayout.Widget.DrawerLayout data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DrawerClosed => global::System.Reactive.Linq.Observable.FromEvent, global::AndroidX.DrawerLayout.Widget.DrawerLayout.DrawerClosedEventArgs>(eventHandler => + { + void Handler(object sender, global::AndroidX.DrawerLayout.Widget.DrawerLayout.DrawerClosedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DrawerClosed += x, x => _data.DrawerClosed -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DrawerOpened => global::System.Reactive.Linq.Observable.FromEvent, global::AndroidX.DrawerLayout.Widget.DrawerLayout.DrawerOpenedEventArgs>(eventHandler => + { + void Handler(object sender, global::AndroidX.DrawerLayout.Widget.DrawerLayout.DrawerOpenedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DrawerOpened += x, x => _data.DrawerOpened -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DrawerSlide => global::System.Reactive.Linq.Observable.FromEvent, global::AndroidX.DrawerLayout.Widget.DrawerLayout.DrawerSlideEventArgs>(eventHandler => + { + void Handler(object sender, global::AndroidX.DrawerLayout.Widget.DrawerLayout.DrawerSlideEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DrawerSlide += x, x => _data.DrawerSlide -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DrawerStateChanged => global::System.Reactive.Linq.Observable.FromEvent, global::AndroidX.DrawerLayout.Widget.DrawerLayout.DrawerStateChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::AndroidX.DrawerLayout.Widget.DrawerLayout.DrawerStateChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DrawerStateChanged += x, x => _data.DrawerStateChanged -= x); + } +} + +namespace AndroidX.SwipeRefreshLayout.Widget +{ + /// + /// A class that contains extension methods to wrap events for classes contained within the namespace. + /// + public static class EventExtensions + { + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwipeRefreshLayoutEvents Events(this global::AndroidX.SwipeRefreshLayout.Widget.SwipeRefreshLayout item) => new RxSwipeRefreshLayoutEvents(item); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwipeRefreshLayoutEvents : global::Android.Views.RxViewGroupEvents + { + private readonly global::AndroidX.SwipeRefreshLayout.Widget.SwipeRefreshLayout _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwipeRefreshLayoutEvents(global::AndroidX.SwipeRefreshLayout.Widget.SwipeRefreshLayout data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Refresh => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Refresh += x, x => _data.Refresh -= x); + } +} + +namespace Xamarin.Forms +{ + /// + /// A class that contains extension methods to wrap events for classes contained within the namespace. + /// + public static class EventExtensions + { + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxApplicationEvents Events(this global::Xamarin.Forms.Application item) => new RxApplicationEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxBaseShellItemEvents Events(this global::Xamarin.Forms.BaseShellItem item) => new RxBaseShellItemEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxBindableObjectEvents Events(this global::Xamarin.Forms.BindableObject item) => new RxBindableObjectEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxButtonEvents Events(this global::Xamarin.Forms.Button item) => new RxButtonEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxCarouselViewEvents Events(this global::Xamarin.Forms.CarouselView item) => new RxCarouselViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxCellEvents Events(this global::Xamarin.Forms.Cell item) => new RxCellEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxCheckBoxEvents Events(this global::Xamarin.Forms.CheckBox item) => new RxCheckBoxEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxChildGestureRecognizerEvents Events(this global::Xamarin.Forms.ChildGestureRecognizer item) => new RxChildGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxClickGestureRecognizerEvents Events(this global::Xamarin.Forms.ClickGestureRecognizer item) => new RxClickGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxColumnDefinitionEvents Events(this global::Xamarin.Forms.ColumnDefinition item) => new RxColumnDefinitionEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxCommandEvents Events(this global::Xamarin.Forms.Command item) => new RxCommandEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxDatePickerEvents Events(this global::Xamarin.Forms.DatePicker item) => new RxDatePickerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxDragGestureRecognizerEvents Events(this global::Xamarin.Forms.DragGestureRecognizer item) => new RxDragGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxDropGestureRecognizerEvents Events(this global::Xamarin.Forms.DropGestureRecognizer item) => new RxDropGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxEditorEvents Events(this global::Xamarin.Forms.Editor item) => new RxEditorEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxElementEvents Events(this global::Xamarin.Forms.Element item) => new RxElementEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxEntryEvents Events(this global::Xamarin.Forms.Entry item) => new RxEntryEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxEntryCellEvents Events(this global::Xamarin.Forms.EntryCell item) => new RxEntryCellEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxExpanderEvents Events(this global::Xamarin.Forms.Expander item) => new RxExpanderEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxICellControllerEvents Events(this global::Xamarin.Forms.ICellController item) => new RxICellControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIDefinitionEvents Events(this global::Xamarin.Forms.IDefinition item) => new RxIDefinitionEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIElementControllerEvents Events(this global::Xamarin.Forms.IElementController item) => new RxIElementControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxILayoutEvents Events(this global::Xamarin.Forms.ILayout item) => new RxILayoutEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIListProxyEvents Events(this global::Xamarin.Forms.IListProxy item) => new RxIListProxyEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIListViewControllerEvents Events(this global::Xamarin.Forms.IListViewController item) => new RxIListViewControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxImageButtonEvents Events(this global::Xamarin.Forms.ImageButton item) => new RxImageButtonEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIMasterDetailPageControllerEvents Events(this global::Xamarin.Forms.IMasterDetailPageController item) => new RxIMasterDetailPageControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxINavigationPageControllerEvents Events(this global::Xamarin.Forms.INavigationPageController item) => new RxINavigationPageControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxInputViewEvents Events(this global::Xamarin.Forms.InputView item) => new RxInputViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIOpenGlViewControllerEvents Events(this global::Xamarin.Forms.IOpenGlViewController item) => new RxIOpenGlViewControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIScrollViewControllerEvents Events(this global::Xamarin.Forms.IScrollViewController item) => new RxIScrollViewControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxISearchHandlerControllerEvents Events(this global::Xamarin.Forms.ISearchHandlerController item) => new RxISearchHandlerControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIShellContentControllerEvents Events(this global::Xamarin.Forms.IShellContentController item) => new RxIShellContentControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIShellControllerEvents Events(this global::Xamarin.Forms.IShellController item) => new RxIShellControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIShellItemControllerEvents Events(this global::Xamarin.Forms.IShellItemController item) => new RxIShellItemControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIShellSectionControllerEvents Events(this global::Xamarin.Forms.IShellSectionController item) => new RxIShellSectionControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxISwipeItemEvents Events(this global::Xamarin.Forms.ISwipeItem item) => new RxISwipeItemEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxITableViewControllerEvents Events(this global::Xamarin.Forms.ITableViewController item) => new RxITableViewControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxItemsViewEvents Events(this global::Xamarin.Forms.ItemsView item) => new RxItemsViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIVisualElementControllerEvents Events(this global::Xamarin.Forms.IVisualElementController item) => new RxIVisualElementControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIWebViewControllerEvents Events(this global::Xamarin.Forms.IWebViewController item) => new RxIWebViewControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxLayoutEvents Events(this global::Xamarin.Forms.Layout item) => new RxLayoutEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxListViewEvents Events(this global::Xamarin.Forms.ListView item) => new RxListViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxMarshalingObservableCollectionEvents Events(this global::Xamarin.Forms.MarshalingObservableCollection item) => new RxMarshalingObservableCollectionEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxMasterDetailPageEvents Events(this global::Xamarin.Forms.MasterDetailPage item) => new RxMasterDetailPageEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxMediaElementEvents Events(this global::Xamarin.Forms.MediaElement item) => new RxMediaElementEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxMenuItemEvents Events(this global::Xamarin.Forms.MenuItem item) => new RxMenuItemEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxNavigationPageEvents Events(this global::Xamarin.Forms.NavigationPage item) => new RxNavigationPageEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxOpenGLViewEvents Events(this global::Xamarin.Forms.OpenGLView item) => new RxOpenGLViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxPageEvents Events(this global::Xamarin.Forms.Page item) => new RxPageEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxPanGestureRecognizerEvents Events(this global::Xamarin.Forms.PanGestureRecognizer item) => new RxPanGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxPickerEvents Events(this global::Xamarin.Forms.Picker item) => new RxPickerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxPinchGestureRecognizerEvents Events(this global::Xamarin.Forms.PinchGestureRecognizer item) => new RxPinchGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxRadioButtonEvents Events(this global::Xamarin.Forms.RadioButton item) => new RxRadioButtonEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxRefreshViewEvents Events(this global::Xamarin.Forms.RefreshView item) => new RxRefreshViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxRowDefinitionEvents Events(this global::Xamarin.Forms.RowDefinition item) => new RxRowDefinitionEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxScrollViewEvents Events(this global::Xamarin.Forms.ScrollView item) => new RxScrollViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSearchBarEvents Events(this global::Xamarin.Forms.SearchBar item) => new RxSearchBarEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSearchHandlerEvents Events(this global::Xamarin.Forms.SearchHandler item) => new RxSearchHandlerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSelectableItemsViewEvents Events(this global::Xamarin.Forms.SelectableItemsView item) => new RxSelectableItemsViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxShellEvents Events(this global::Xamarin.Forms.Shell item) => new RxShellEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSliderEvents Events(this global::Xamarin.Forms.Slider item) => new RxSliderEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxStateTriggerBaseEvents Events(this global::Xamarin.Forms.StateTriggerBase item) => new RxStateTriggerBaseEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxStepperEvents Events(this global::Xamarin.Forms.Stepper item) => new RxStepperEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwipeGestureRecognizerEvents Events(this global::Xamarin.Forms.SwipeGestureRecognizer item) => new RxSwipeGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwipeItemEvents Events(this global::Xamarin.Forms.SwipeItem item) => new RxSwipeItemEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwipeItemsEvents Events(this global::Xamarin.Forms.SwipeItems item) => new RxSwipeItemsEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwipeItemViewEvents Events(this global::Xamarin.Forms.SwipeItemView item) => new RxSwipeItemViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwipeViewEvents Events(this global::Xamarin.Forms.SwipeView item) => new RxSwipeViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwitchEvents Events(this global::Xamarin.Forms.Switch item) => new RxSwitchEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwitchCellEvents Events(this global::Xamarin.Forms.SwitchCell item) => new RxSwitchCellEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxTableViewEvents Events(this global::Xamarin.Forms.TableView item) => new RxTableViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxTapGestureRecognizerEvents Events(this global::Xamarin.Forms.TapGestureRecognizer item) => new RxTapGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxToolbarItemEvents Events(this global::Xamarin.Forms.ToolbarItem item) => new RxToolbarItemEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxVisualElementEvents Events(this global::Xamarin.Forms.VisualElement item) => new RxVisualElementEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxWebViewEvents Events(this global::Xamarin.Forms.WebView item) => new RxWebViewEvents(item); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxApplicationEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.Application _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxApplicationEvents(global::Xamarin.Forms.Application data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ModalPopped => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ModalPoppedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ModalPoppedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ModalPoppingEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ModalPoppingEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ModalPushedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ModalPushedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ModalPushingEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ModalPushingEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Page>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Page e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Page>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Page e) => eventHandler(e); + return Handler; + }, x => _data.PageDisappearing += x, x => _data.PageDisappearing -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable RequestedThemeChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.AppThemeChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.AppThemeChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.RequestedThemeChanged += x, x => _data.RequestedThemeChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxBaseShellItemEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.BaseShellItem _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxBaseShellItemEvents(global::Xamarin.Forms.BaseShellItem data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Appearing => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Disappearing += x, x => _data.Disappearing -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxBindableObjectEvents + { + private readonly global::Xamarin.Forms.BindableObject _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxBindableObjectEvents(global::Xamarin.Forms.BindableObject data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable BindingContextChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.PropertyChangingEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PropertyChanging += x, x => _data.PropertyChanging -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxButtonEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Button _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxButtonEvents(global::Xamarin.Forms.Button data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Released += x, x => _data.Released -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxCarouselViewEvents : global::Xamarin.Forms.RxItemsViewEvents + { + private readonly global::Xamarin.Forms.CarouselView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxCarouselViewEvents(global::Xamarin.Forms.CarouselView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CurrentItemChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.CurrentItemChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.CurrentItemChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CurrentItemChanged += x, x => _data.CurrentItemChanged -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PositionChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.PositionChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.PositionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PositionChanged += x, x => _data.PositionChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxCellEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.Cell _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxCellEvents(global::Xamarin.Forms.Cell data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Appearing => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Tapped += x, x => _data.Tapped -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxCheckBoxEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.CheckBox _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxCheckBoxEvents(global::Xamarin.Forms.CheckBox data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CheckedChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.CheckedChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.CheckedChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CheckedChanged += x, x => _data.CheckedChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxChildGestureRecognizerEvents + { + private readonly global::Xamarin.Forms.ChildGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxChildGestureRecognizerEvents(global::Xamarin.Forms.ChildGestureRecognizer data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PropertyChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PropertyChanged += x, x => _data.PropertyChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxClickGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.ClickGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxClickGestureRecognizerEvents(global::Xamarin.Forms.ClickGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Clicked += x, x => _data.Clicked -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxColumnDefinitionEvents : global::Xamarin.Forms.RxBindableObjectEvents + { + private readonly global::Xamarin.Forms.ColumnDefinition _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxColumnDefinitionEvents(global::Xamarin.Forms.ColumnDefinition data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SizeChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SizeChanged += x, x => _data.SizeChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxCommandEvents + { + private readonly global::Xamarin.Forms.Command _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxCommandEvents(global::Xamarin.Forms.Command data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CanExecuteChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CanExecuteChanged += x, x => _data.CanExecuteChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxDatePickerEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.DatePicker _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxDatePickerEvents(global::Xamarin.Forms.DatePicker data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DateSelected => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.DateChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.DateChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DateSelected += x, x => _data.DateSelected -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxDragGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.DragGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxDragGestureRecognizerEvents(global::Xamarin.Forms.DragGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DragStarting => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.DragStartingEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.DragStartingEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DragStarting += x, x => _data.DragStarting -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DropCompleted => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.DropCompletedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.DropCompletedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DropCompleted += x, x => _data.DropCompleted -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxDropGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.DropGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxDropGestureRecognizerEvents(global::Xamarin.Forms.DropGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DragOver => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.DragEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.DragEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DragOver += x, x => _data.DragOver -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Drop => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.DropEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.DropEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Drop += x, x => _data.Drop -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxEditorEvents : global::Xamarin.Forms.RxInputViewEvents + { + private readonly global::Xamarin.Forms.Editor _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxEditorEvents(global::Xamarin.Forms.Editor data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Completed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Completed += x, x => _data.Completed -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxElementEvents : global::Xamarin.Forms.RxBindableObjectEvents + { + private readonly global::Xamarin.Forms.Element _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxElementEvents(global::Xamarin.Forms.Element data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ChildAdded => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ElementEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ElementEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ElementEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ElementEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ElementEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ElementEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ElementEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ElementEventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlatformSet += x, x => _data.PlatformSet -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxEntryEvents : global::Xamarin.Forms.RxInputViewEvents + { + private readonly global::Xamarin.Forms.Entry _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxEntryEvents(global::Xamarin.Forms.Entry data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Completed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Completed += x, x => _data.Completed -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxEntryCellEvents : global::Xamarin.Forms.RxCellEvents + { + private readonly global::Xamarin.Forms.EntryCell _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxEntryCellEvents(global::Xamarin.Forms.EntryCell data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Completed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Completed += x, x => _data.Completed -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxExpanderEvents : global::Xamarin.Forms.RxLayoutEvents + { + private readonly global::Xamarin.Forms.Expander _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxExpanderEvents(global::Xamarin.Forms.Expander data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Tapped => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Tapped += x, x => _data.Tapped -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxICellControllerEvents + { + private readonly global::Xamarin.Forms.ICellController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxICellControllerEvents(global::Xamarin.Forms.ICellController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ForceUpdateSizeRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ForceUpdateSizeRequested += x, x => _data.ForceUpdateSizeRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIDefinitionEvents + { + private readonly global::Xamarin.Forms.IDefinition _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIDefinitionEvents(global::Xamarin.Forms.IDefinition data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SizeChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SizeChanged += x, x => _data.SizeChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIElementControllerEvents + { + private readonly global::Xamarin.Forms.IElementController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIElementControllerEvents(global::Xamarin.Forms.IElementController data) + { + _data = data; + } + + /// + /// 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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlatformSet += x, x => _data.PlatformSet -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxILayoutEvents + { + private readonly global::Xamarin.Forms.ILayout _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxILayoutEvents(global::Xamarin.Forms.ILayout data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable LayoutChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.LayoutChanged += x, x => _data.LayoutChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIListProxyEvents + { + private readonly global::Xamarin.Forms.IListProxy _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIListProxyEvents(global::Xamarin.Forms.IListProxy data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CollectionChanged += x, x => _data.CollectionChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIListViewControllerEvents + { + private readonly global::Xamarin.Forms.IListViewController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIListViewControllerEvents(global::Xamarin.Forms.IListViewController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ScrollToRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ScrollToRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrollToRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxImageButtonEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.ImageButton _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxImageButtonEvents(global::Xamarin.Forms.ImageButton data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Released += x, x => _data.Released -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIMasterDetailPageControllerEvents + { + private readonly global::Xamarin.Forms.IMasterDetailPageController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIMasterDetailPageControllerEvents(global::Xamarin.Forms.IMasterDetailPageController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable BackButtonPressed => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.BackButtonPressedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.BackButtonPressedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.BackButtonPressed += x, x => _data.BackButtonPressed -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxINavigationPageControllerEvents + { + private readonly global::Xamarin.Forms.INavigationPageController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxINavigationPageControllerEvents(global::Xamarin.Forms.INavigationPageController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable InsertPageBeforeRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.RemovePageRequested += x, x => _data.RemovePageRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxInputViewEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.InputView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxInputViewEvents(global::Xamarin.Forms.InputView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable TextChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.TextChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.TextChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.TextChanged += x, x => _data.TextChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIOpenGlViewControllerEvents + { + private readonly global::Xamarin.Forms.IOpenGlViewController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIOpenGlViewControllerEvents(global::Xamarin.Forms.IOpenGlViewController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DisplayRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DisplayRequested += x, x => _data.DisplayRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIScrollViewControllerEvents + { + private readonly global::Xamarin.Forms.IScrollViewController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIScrollViewControllerEvents(global::Xamarin.Forms.IScrollViewController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ScrollToRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ScrollToRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrollToRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxISearchHandlerControllerEvents + { + private readonly global::Xamarin.Forms.ISearchHandlerController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxISearchHandlerControllerEvents(global::Xamarin.Forms.ISearchHandlerController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ListProxyChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ListProxyChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ListProxyChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ListProxyChanged += x, x => _data.ListProxyChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIShellContentControllerEvents + { + private readonly global::Xamarin.Forms.IShellContentController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIShellContentControllerEvents(global::Xamarin.Forms.IShellContentController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable IsPageVisibleChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.IsPageVisibleChanged += x, x => _data.IsPageVisibleChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIShellControllerEvents + { + private readonly global::Xamarin.Forms.IShellController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIShellControllerEvents(global::Xamarin.Forms.IShellController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ItemsCollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ItemsCollectionChanged += x, x => _data.ItemsCollectionChanged -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable StructureChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.StructureChanged += x, x => _data.StructureChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIShellItemControllerEvents + { + private readonly global::Xamarin.Forms.IShellItemController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIShellItemControllerEvents(global::Xamarin.Forms.IShellItemController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ItemsCollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ItemsCollectionChanged += x, x => _data.ItemsCollectionChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIShellSectionControllerEvents + { + private readonly global::Xamarin.Forms.IShellSectionController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIShellSectionControllerEvents(global::Xamarin.Forms.IShellSectionController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ItemsCollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ItemsCollectionChanged += x, x => _data.ItemsCollectionChanged -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable NavigationRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.NavigationRequested += x, x => _data.NavigationRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxISwipeItemEvents + { + private readonly global::Xamarin.Forms.ISwipeItem _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxISwipeItemEvents(global::Xamarin.Forms.ISwipeItem data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Invoked => global::System.Reactive.Linq.Observable.FromEvent, global::System.EventArgs>(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Invoked += x, x => _data.Invoked -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxITableViewControllerEvents + { + private readonly global::Xamarin.Forms.ITableViewController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxITableViewControllerEvents(global::Xamarin.Forms.ITableViewController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ModelChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ModelChanged += x, x => _data.ModelChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxItemsViewEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.ItemsView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxItemsViewEvents(global::Xamarin.Forms.ItemsView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable RemainingItemsThresholdReached => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.RemainingItemsThresholdReached += x, x => _data.RemainingItemsThresholdReached -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Scrolled => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ItemsViewScrolledEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ItemsViewScrolledEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ScrollToRequestEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrollToRequestEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIVisualElementControllerEvents + { + private readonly global::Xamarin.Forms.IVisualElementController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIVisualElementControllerEvents(global::Xamarin.Forms.IVisualElementController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable> BatchCommitted => global::System.Reactive.Linq.Observable.FromEvent>, global::Xamarin.Forms.Internals.EventArg>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EventArg e) => eventHandler(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.FromEvent, global::Xamarin.Forms.VisualElement.FocusRequestArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.VisualElement.FocusRequestArgs e) => eventHandler(e); + return Handler; + }, x => _data.FocusChangeRequested += x, x => _data.FocusChangeRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIWebViewControllerEvents + { + private readonly global::Xamarin.Forms.IWebViewController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIWebViewControllerEvents(global::Xamarin.Forms.IWebViewController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable EvalRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Internals.EvalRequested>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EvalRequested e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ReloadRequested += x, x => _data.ReloadRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxLayoutEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Layout _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxLayoutEvents(global::Xamarin.Forms.Layout data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable LayoutChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.LayoutChanged += x, x => _data.LayoutChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxListViewEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.ListView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxListViewEvents(global::Xamarin.Forms.ListView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ItemAppearing => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ItemVisibilityEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ItemVisibilityEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ItemVisibilityEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ItemVisibilityEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.SelectedItemChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SelectedItemChangedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ItemTappedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ItemTappedEventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Refreshing += x, x => _data.Refreshing -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Scrolled => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ScrolledEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrolledEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ScrollToRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrollToRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxMarshalingObservableCollectionEvents + { + private readonly global::Xamarin.Forms.MarshalingObservableCollection _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxMarshalingObservableCollectionEvents(global::Xamarin.Forms.MarshalingObservableCollection data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CollectionChanged += x, x => _data.CollectionChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxMasterDetailPageEvents : global::Xamarin.Forms.RxPageEvents + { + private readonly global::Xamarin.Forms.MasterDetailPage _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxMasterDetailPageEvents(global::Xamarin.Forms.MasterDetailPage data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable BackButtonPressed => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.BackButtonPressedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.BackButtonPressedEventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.IsPresentedChanged += x, x => _data.IsPresentedChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxMediaElementEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.MediaElement _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxMediaElementEvents(global::Xamarin.Forms.MediaElement data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable MediaEnded => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.MediaEnded += x, x => _data.MediaEnded -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable MediaFailed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.MediaFailed += x, x => _data.MediaFailed -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable MediaOpened => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.MediaOpened += x, x => _data.MediaOpened -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PositionRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PositionRequested += x, x => _data.PositionRequested -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SeekCompleted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SeekCompleted += x, x => _data.SeekCompleted -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SeekRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.SeekRequested>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SeekRequested e) => eventHandler(e); + return Handler; + }, x => _data.SeekRequested += x, x => _data.SeekRequested -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable StateRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.StateRequested>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.StateRequested e) => eventHandler(e); + return Handler; + }, x => _data.StateRequested += x, x => _data.StateRequested -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable VolumeRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.VolumeRequested += x, x => _data.VolumeRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxMenuItemEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.MenuItem _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxMenuItemEvents(global::Xamarin.Forms.MenuItem data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Clicked += x, x => _data.Clicked -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxNavigationPageEvents : global::Xamarin.Forms.RxPageEvents + { + private readonly global::Xamarin.Forms.NavigationPage _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxNavigationPageEvents(global::Xamarin.Forms.NavigationPage data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable InsertPageBeforeRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.NavigationEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.NavigationEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.NavigationEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.NavigationEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.NavigationEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.NavigationEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.RemovePageRequested += x, x => _data.RemovePageRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxOpenGLViewEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.OpenGLView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxOpenGLViewEvents(global::Xamarin.Forms.OpenGLView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DisplayRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DisplayRequested += x, x => _data.DisplayRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxPageEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Page _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxPageEvents(global::Xamarin.Forms.Page data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Appearing => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.LayoutChanged += x, x => _data.LayoutChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxPanGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.PanGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxPanGestureRecognizerEvents(global::Xamarin.Forms.PanGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PanUpdated => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.PanUpdatedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.PanUpdatedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PanUpdated += x, x => _data.PanUpdated -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxPickerEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Picker _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxPickerEvents(global::Xamarin.Forms.Picker data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SelectedIndexChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SelectedIndexChanged += x, x => _data.SelectedIndexChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxPinchGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.PinchGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxPinchGestureRecognizerEvents(global::Xamarin.Forms.PinchGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PinchUpdated => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.PinchGestureUpdatedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.PinchGestureUpdatedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PinchUpdated += x, x => _data.PinchUpdated -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxRadioButtonEvents : global::Xamarin.Forms.RxButtonEvents + { + private readonly global::Xamarin.Forms.RadioButton _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxRadioButtonEvents(global::Xamarin.Forms.RadioButton data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CheckedChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.CheckedChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.CheckedChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CheckedChanged += x, x => _data.CheckedChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxRefreshViewEvents : global::Xamarin.Forms.RxLayoutEvents + { + private readonly global::Xamarin.Forms.RefreshView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxRefreshViewEvents(global::Xamarin.Forms.RefreshView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Refreshing => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Refreshing += x, x => _data.Refreshing -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxRowDefinitionEvents : global::Xamarin.Forms.RxBindableObjectEvents + { + private readonly global::Xamarin.Forms.RowDefinition _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxRowDefinitionEvents(global::Xamarin.Forms.RowDefinition data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SizeChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SizeChanged += x, x => _data.SizeChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxScrollViewEvents : global::Xamarin.Forms.RxLayoutEvents + { + private readonly global::Xamarin.Forms.ScrollView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxScrollViewEvents(global::Xamarin.Forms.ScrollView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Scrolled => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ScrolledEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrolledEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ScrollToRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrollToRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSearchBarEvents : global::Xamarin.Forms.RxInputViewEvents + { + private readonly global::Xamarin.Forms.SearchBar _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSearchBarEvents(global::Xamarin.Forms.SearchBar data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SearchButtonPressed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SearchButtonPressed += x, x => _data.SearchButtonPressed -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSearchHandlerEvents : global::Xamarin.Forms.RxBindableObjectEvents + { + private readonly global::Xamarin.Forms.SearchHandler _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSearchHandlerEvents(global::Xamarin.Forms.SearchHandler data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable FocusChangeRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.VisualElement.FocusRequestArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.VisualElement.FocusRequestArgs e) => eventHandler(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.FromEvent, global::System.EventArgs>(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent, global::System.EventArgs>(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Unfocused += x, x => _data.Unfocused -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSelectableItemsViewEvents : global::Xamarin.Forms.RxItemsViewEvents + { + private readonly global::Xamarin.Forms.SelectableItemsView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSelectableItemsViewEvents(global::Xamarin.Forms.SelectableItemsView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SelectionChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.SelectionChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SelectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SelectionChanged += x, x => _data.SelectionChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxShellEvents : global::Xamarin.Forms.RxPageEvents + { + private readonly global::Xamarin.Forms.Shell _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxShellEvents(global::Xamarin.Forms.Shell data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Navigated => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ShellNavigatedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ShellNavigatedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ShellNavigatingEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ShellNavigatingEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Navigating += x, x => _data.Navigating -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSliderEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Slider _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSliderEvents(global::Xamarin.Forms.Slider data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DragCompleted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ValueChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ValueChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ValueChanged += x, x => _data.ValueChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxStateTriggerBaseEvents : global::Xamarin.Forms.RxBindableObjectEvents + { + private readonly global::Xamarin.Forms.StateTriggerBase _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxStateTriggerBaseEvents(global::Xamarin.Forms.StateTriggerBase data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable IsActiveChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.IsActiveChanged += x, x => _data.IsActiveChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxStepperEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Stepper _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxStepperEvents(global::Xamarin.Forms.Stepper data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ValueChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ValueChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ValueChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ValueChanged += x, x => _data.ValueChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwipeGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.SwipeGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwipeGestureRecognizerEvents(global::Xamarin.Forms.SwipeGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Swiped => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.SwipedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SwipedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Swiped += x, x => _data.Swiped -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwipeItemEvents : global::Xamarin.Forms.RxMenuItemEvents + { + private readonly global::Xamarin.Forms.SwipeItem _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwipeItemEvents(global::Xamarin.Forms.SwipeItem data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Invoked => global::System.Reactive.Linq.Observable.FromEvent, global::System.EventArgs>(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Invoked += x, x => _data.Invoked -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwipeItemsEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.SwipeItems _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwipeItemsEvents(global::Xamarin.Forms.SwipeItems data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CollectionChanged += x, x => _data.CollectionChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwipeItemViewEvents : global::Xamarin.Forms.RxLayoutEvents + { + private readonly global::Xamarin.Forms.SwipeItemView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwipeItemViewEvents(global::Xamarin.Forms.SwipeItemView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Invoked => global::System.Reactive.Linq.Observable.FromEvent, global::System.EventArgs>(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Invoked += x, x => _data.Invoked -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwipeViewEvents : global::Xamarin.Forms.RxLayoutEvents + { + private readonly global::Xamarin.Forms.SwipeView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwipeViewEvents(global::Xamarin.Forms.SwipeView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CloseRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CloseRequested += x, x => _data.CloseRequested -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable OpenRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.OpenSwipeEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.OpenSwipeEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.OpenRequested += x, x => _data.OpenRequested -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SwipeChanging => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.SwipeChangingEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SwipeChangingEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SwipeChanging += x, x => _data.SwipeChanging -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SwipeEnded => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.SwipeEndedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SwipeEndedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SwipeEnded += x, x => _data.SwipeEnded -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SwipeStarted => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.SwipeStartedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SwipeStartedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SwipeStarted += x, x => _data.SwipeStarted -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwitchEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Switch _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwitchEvents(global::Xamarin.Forms.Switch data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Toggled => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ToggledEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ToggledEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Toggled += x, x => _data.Toggled -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwitchCellEvents : global::Xamarin.Forms.RxCellEvents + { + private readonly global::Xamarin.Forms.SwitchCell _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwitchCellEvents(global::Xamarin.Forms.SwitchCell data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable OnChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ToggledEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ToggledEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.OnChanged += x, x => _data.OnChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxTableViewEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.TableView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxTableViewEvents(global::Xamarin.Forms.TableView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ModelChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ModelChanged += x, x => _data.ModelChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxTapGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.TapGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxTapGestureRecognizerEvents(global::Xamarin.Forms.TapGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Tapped => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Tapped += x, x => _data.Tapped -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxToolbarItemEvents : global::Xamarin.Forms.RxMenuItemEvents + { + private readonly global::Xamarin.Forms.ToolbarItem _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxToolbarItemEvents(global::Xamarin.Forms.ToolbarItem data): base(data) + { + _data = data; + } + + /// + /// 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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Activated += x, x => _data.Activated -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxVisualElementEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.VisualElement _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxVisualElementEvents(global::Xamarin.Forms.VisualElement data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable> BatchCommitted => global::System.Reactive.Linq.Observable.FromEvent>, global::Xamarin.Forms.Internals.EventArg>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EventArg e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.VisualElement.FocusRequestArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.VisualElement.FocusRequestArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.FocusEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.FocusEventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.FocusEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.FocusEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Unfocused += x, x => _data.Unfocused -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxWebViewEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.WebView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxWebViewEvents(global::Xamarin.Forms.WebView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable EvalRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Internals.EvalRequested>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EvalRequested e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.WebNavigatedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.WebNavigatedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.WebNavigatingEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.WebNavigatingEventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ReloadRequested += x, x => _data.ReloadRequested -= x); + } +} + +namespace Xamarin.Forms.Internals +{ + /// + /// A class that contains extension methods to wrap events for classes contained within the namespace. + /// + public static class EventExtensions + { + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxDeviceInfoEvents Events(this global::Xamarin.Forms.Internals.DeviceInfo item) => new RxDeviceInfoEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIResourceDictionaryEvents Events(this global::Xamarin.Forms.Internals.IResourceDictionary item) => new RxIResourceDictionaryEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxTableModelEvents Events(this global::Xamarin.Forms.Internals.TableModel item) => new RxTableModelEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxToolbarTrackerEvents Events(this global::Xamarin.Forms.Internals.ToolbarTracker item) => new RxToolbarTrackerEvents(item); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxDeviceInfoEvents + { + private readonly global::Xamarin.Forms.Internals.DeviceInfo _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxDeviceInfoEvents(global::Xamarin.Forms.Internals.DeviceInfo data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PropertyChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PropertyChanged += x, x => _data.PropertyChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIResourceDictionaryEvents + { + private readonly global::Xamarin.Forms.Internals.IResourceDictionary _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIResourceDictionaryEvents(global::Xamarin.Forms.Internals.IResourceDictionary data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ValuesChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Internals.ResourcesChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.ResourcesChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ValuesChanged += x, x => _data.ValuesChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxTableModelEvents + { + private readonly global::Xamarin.Forms.Internals.TableModel _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxTableModelEvents(global::Xamarin.Forms.Internals.TableModel data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable> ItemLongPressed => global::System.Reactive.Linq.Observable.FromEvent>, global::Xamarin.Forms.Internals.EventArg>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EventArg e) => eventHandler(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.FromEvent>, global::Xamarin.Forms.Internals.EventArg>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EventArg e) => eventHandler(e); + return Handler; + }, x => _data.ItemSelected += x, x => _data.ItemSelected -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxToolbarTrackerEvents + { + private readonly global::Xamarin.Forms.Internals.ToolbarTracker _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxToolbarTrackerEvents(global::Xamarin.Forms.Internals.ToolbarTracker data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CollectionChanged += x, x => _data.CollectionChanged -= x); + } +} + +namespace Xamarin.Forms.Platform.Android +{ + /// + /// A class that contains extension methods to wrap events for classes contained within the namespace. + /// + public static class EventExtensions + { + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxCheckBoxRendererBaseEvents Events(this global::Xamarin.Forms.Platform.Android.CheckBoxRendererBase item) => new RxCheckBoxRendererBaseEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxFormsAnimationDrawableEvents Events(this global::Xamarin.Forms.Platform.Android.FormsAnimationDrawable item) => new RxFormsAnimationDrawableEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxFormsAppCompatActivityEvents Events(this global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity item) => new RxFormsAppCompatActivityEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxFormsApplicationActivityEvents Events(this global::Xamarin.Forms.Platform.Android.FormsApplicationActivity item) => new RxFormsApplicationActivityEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIBorderVisualElementRendererEvents Events(this global::Xamarin.Forms.Platform.Android.IBorderVisualElementRenderer item) => new RxIBorderVisualElementRendererEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIButtonLayoutRendererEvents Events(this global::Xamarin.Forms.Platform.Android.IButtonLayoutRenderer item) => new RxIButtonLayoutRendererEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIDeviceInfoProviderEvents Events(this global::Xamarin.Forms.Platform.Android.IDeviceInfoProvider item) => new RxIDeviceInfoProviderEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIFormsAnimationDrawableEvents Events(this global::Xamarin.Forms.Platform.Android.IFormsAnimationDrawable item) => new RxIFormsAnimationDrawableEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxImageButtonRendererEvents Events(this global::Xamarin.Forms.Platform.Android.ImageButtonRenderer item) => new RxImageButtonRendererEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIndicatorViewRendererEvents Events(this global::Xamarin.Forms.Platform.Android.IndicatorViewRenderer item) => new RxIndicatorViewRendererEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIShellItemRendererEvents Events(this global::Xamarin.Forms.Platform.Android.IShellItemRenderer item) => new RxIShellItemRendererEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIShellObservableFragmentEvents Events(this global::Xamarin.Forms.Platform.Android.IShellObservableFragment item) => new RxIShellObservableFragmentEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIShellSearchViewEvents Events(this global::Xamarin.Forms.Platform.Android.IShellSearchView item) => new RxIShellSearchViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIVisualElementRendererEvents Events(this global::Xamarin.Forms.Platform.Android.IVisualElementRenderer item) => new RxIVisualElementRendererEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxMasterDetailRendererEvents Events(this global::Xamarin.Forms.Platform.Android.MasterDetailRenderer item) => new RxMasterDetailRendererEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxMediaElementRendererEvents Events(this global::Xamarin.Forms.Platform.Android.MediaElementRenderer item) => new RxMediaElementRendererEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxRadioButtonRendererEvents Events(this global::Xamarin.Forms.Platform.Android.RadioButtonRenderer item) => new RxRadioButtonRendererEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxRefreshViewRendererEvents Events(this global::Xamarin.Forms.Platform.Android.RefreshViewRenderer item) => new RxRefreshViewRendererEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxScrollViewRendererEvents Events(this global::Xamarin.Forms.Platform.Android.ScrollViewRenderer item) => new RxScrollViewRendererEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSelectableViewHolderEvents Events(this global::Xamarin.Forms.Platform.Android.SelectableViewHolder item) => new RxSelectableViewHolderEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxShellContentFragmentEvents Events(this global::Xamarin.Forms.Platform.Android.ShellContentFragment item) => new RxShellContentFragmentEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxShellItemRendererBaseEvents Events(this global::Xamarin.Forms.Platform.Android.ShellItemRendererBase item) => new RxShellItemRendererBaseEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxShellSearchViewEvents Events(this global::Xamarin.Forms.Platform.Android.ShellSearchView item) => new RxShellSearchViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxShellSectionRendererEvents Events(this global::Xamarin.Forms.Platform.Android.ShellSectionRenderer item) => new RxShellSectionRendererEvents(item); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxCheckBoxRendererBaseEvents : global::Android.Widget.RxCompoundButtonEvents + { + private readonly global::Xamarin.Forms.Platform.Android.CheckBoxRendererBase _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxCheckBoxRendererBaseEvents(global::Xamarin.Forms.Platform.Android.CheckBoxRendererBase data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler(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.FromEvent, global::System.ComponentModel.PropertyChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxFormsAnimationDrawableEvents + { + private readonly global::Xamarin.Forms.Platform.Android.FormsAnimationDrawable _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxFormsAnimationDrawableEvents(global::Xamarin.Forms.Platform.Android.FormsAnimationDrawable data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable AnimationStarted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.AnimationStarted += x, x => _data.AnimationStarted -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable AnimationStopped => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.Android.FormsAnimationDrawableStateEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.FormsAnimationDrawableStateEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.AnimationStopped += x, x => _data.AnimationStopped -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxFormsAppCompatActivityEvents + { + private readonly global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxFormsAppCompatActivityEvents(global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ConfigurationChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ConfigurationChanged += x, x => _data.ConfigurationChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxFormsApplicationActivityEvents + { + private readonly global::Xamarin.Forms.Platform.Android.FormsApplicationActivity _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxFormsApplicationActivityEvents(global::Xamarin.Forms.Platform.Android.FormsApplicationActivity data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ConfigurationChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ConfigurationChanged += x, x => _data.ConfigurationChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIBorderVisualElementRendererEvents + { + private readonly global::Xamarin.Forms.Platform.Android.IBorderVisualElementRenderer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIBorderVisualElementRendererEvents(global::Xamarin.Forms.Platform.Android.IBorderVisualElementRenderer data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ElementChanged += x, x => _data.ElementChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIButtonLayoutRendererEvents + { + private readonly global::Xamarin.Forms.Platform.Android.IButtonLayoutRenderer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIButtonLayoutRendererEvents(global::Xamarin.Forms.Platform.Android.IButtonLayoutRenderer data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ElementChanged += x, x => _data.ElementChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIDeviceInfoProviderEvents + { + private readonly global::Xamarin.Forms.Platform.Android.IDeviceInfoProvider _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIDeviceInfoProviderEvents(global::Xamarin.Forms.Platform.Android.IDeviceInfoProvider data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ConfigurationChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ConfigurationChanged += x, x => _data.ConfigurationChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIFormsAnimationDrawableEvents + { + private readonly global::Xamarin.Forms.Platform.Android.IFormsAnimationDrawable _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIFormsAnimationDrawableEvents(global::Xamarin.Forms.Platform.Android.IFormsAnimationDrawable data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable AnimationStarted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.AnimationStarted += x, x => _data.AnimationStarted -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable AnimationStopped => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.Android.FormsAnimationDrawableStateEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.FormsAnimationDrawableStateEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.AnimationStopped += x, x => _data.AnimationStopped -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxImageButtonRendererEvents : global::Android.Views.RxViewEvents + { + private readonly global::Xamarin.Forms.Platform.Android.ImageButtonRenderer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxImageButtonRendererEvents(global::Xamarin.Forms.Platform.Android.ImageButtonRenderer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler(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.FromEvent, global::System.ComponentModel.PropertyChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIndicatorViewRendererEvents : global::Android.Views.RxViewGroupEvents + { + private readonly global::Xamarin.Forms.Platform.Android.IndicatorViewRenderer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIndicatorViewRendererEvents(global::Xamarin.Forms.Platform.Android.IndicatorViewRenderer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler(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.FromEvent, global::System.ComponentModel.PropertyChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIShellItemRendererEvents + { + private readonly global::Xamarin.Forms.Platform.Android.IShellItemRenderer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIShellItemRendererEvents(global::Xamarin.Forms.Platform.Android.IShellItemRenderer data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Destroyed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Destroyed += x, x => _data.Destroyed -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIShellObservableFragmentEvents + { + private readonly global::Xamarin.Forms.Platform.Android.IShellObservableFragment _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIShellObservableFragmentEvents(global::Xamarin.Forms.Platform.Android.IShellObservableFragment data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable AnimationFinished => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.AnimationFinished += x, x => _data.AnimationFinished -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIShellSearchViewEvents + { + private readonly global::Xamarin.Forms.Platform.Android.IShellSearchView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIShellSearchViewEvents(global::Xamarin.Forms.Platform.Android.IShellSearchView data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SearchConfirmed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SearchConfirmed += x, x => _data.SearchConfirmed -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIVisualElementRendererEvents + { + private readonly global::Xamarin.Forms.Platform.Android.IVisualElementRenderer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIVisualElementRendererEvents(global::Xamarin.Forms.Platform.Android.IVisualElementRenderer data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler(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.FromEvent, global::System.ComponentModel.PropertyChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxMasterDetailRendererEvents : global::AndroidX.DrawerLayout.Widget.RxDrawerLayoutEvents + { + private readonly global::Xamarin.Forms.Platform.Android.MasterDetailRenderer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxMasterDetailRendererEvents(global::Xamarin.Forms.Platform.Android.MasterDetailRenderer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ElementChanged += x, x => _data.ElementChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxMediaElementRendererEvents : global::Android.Views.RxViewGroupEvents + { + private readonly global::Xamarin.Forms.Platform.Android.MediaElementRenderer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxMediaElementRendererEvents(global::Xamarin.Forms.Platform.Android.MediaElementRenderer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler(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.FromEvent, global::System.ComponentModel.PropertyChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxRadioButtonRendererEvents : global::Android.Widget.RxCompoundButtonEvents + { + private readonly global::Xamarin.Forms.Platform.Android.RadioButtonRenderer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxRadioButtonRendererEvents(global::Xamarin.Forms.Platform.Android.RadioButtonRenderer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler(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.FromEvent, global::System.ComponentModel.PropertyChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxRefreshViewRendererEvents : global::AndroidX.SwipeRefreshLayout.Widget.RxSwipeRefreshLayoutEvents + { + private readonly global::Xamarin.Forms.Platform.Android.RefreshViewRenderer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxRefreshViewRendererEvents(global::Xamarin.Forms.Platform.Android.RefreshViewRenderer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler(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.FromEvent, global::System.ComponentModel.PropertyChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxScrollViewRendererEvents : global::AndroidX.Core.Widget.RxNestedScrollViewEvents + { + private readonly global::Xamarin.Forms.Platform.Android.ScrollViewRenderer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxScrollViewRendererEvents(global::Xamarin.Forms.Platform.Android.ScrollViewRenderer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ElementChanged += x, x => _data.ElementChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSelectableViewHolderEvents + { + private readonly global::Xamarin.Forms.Platform.Android.SelectableViewHolder _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSelectableViewHolderEvents(global::Xamarin.Forms.Platform.Android.SelectableViewHolder data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEvent, int>(eventHandler => + { + void Handler(object sender, int e) => eventHandler(e); + return Handler; + }, x => _data.Clicked += x, x => _data.Clicked -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxShellContentFragmentEvents + { + private readonly global::Xamarin.Forms.Platform.Android.ShellContentFragment _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxShellContentFragmentEvents(global::Xamarin.Forms.Platform.Android.ShellContentFragment data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable AnimationFinished => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.AnimationFinished += x, x => _data.AnimationFinished -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxShellItemRendererBaseEvents + { + private readonly global::Xamarin.Forms.Platform.Android.ShellItemRendererBase _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxShellItemRendererBaseEvents(global::Xamarin.Forms.Platform.Android.ShellItemRendererBase data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Destroyed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Destroyed += x, x => _data.Destroyed -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxShellSearchViewEvents : global::Android.Views.RxViewGroupEvents + { + private readonly global::Xamarin.Forms.Platform.Android.ShellSearchView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxShellSearchViewEvents(global::Xamarin.Forms.Platform.Android.ShellSearchView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SearchConfirmed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SearchConfirmed += x, x => _data.SearchConfirmed -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxShellSectionRendererEvents + { + private readonly global::Xamarin.Forms.Platform.Android.ShellSectionRenderer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxShellSectionRendererEvents(global::Xamarin.Forms.Platform.Android.ShellSectionRenderer data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable AnimationFinished => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.AnimationFinished += x, x => _data.AnimationFinished -= x); + } +} + +namespace Xamarin.Forms.Platform.Android.FastRenderers +{ + /// + /// A class that contains extension methods to wrap events for classes contained within the namespace. + /// + public static class EventExtensions + { + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxButtonRendererEvents Events(this global::Xamarin.Forms.Platform.Android.FastRenderers.ButtonRenderer item) => new RxButtonRendererEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxFrameRendererEvents Events(this global::Xamarin.Forms.Platform.Android.FastRenderers.FrameRenderer item) => new RxFrameRendererEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxImageRendererEvents Events(this global::Xamarin.Forms.Platform.Android.FastRenderers.ImageRenderer item) => new RxImageRendererEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxLabelRendererEvents Events(this global::Xamarin.Forms.Platform.Android.FastRenderers.LabelRenderer item) => new RxLabelRendererEvents(item); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxButtonRendererEvents : global::Android.Widget.RxTextViewEvents + { + private readonly global::Xamarin.Forms.Platform.Android.FastRenderers.ButtonRenderer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxButtonRendererEvents(global::Xamarin.Forms.Platform.Android.FastRenderers.ButtonRenderer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler(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.FromEvent, global::System.ComponentModel.PropertyChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxFrameRendererEvents : global::Android.Views.RxViewGroupEvents + { + private readonly global::Xamarin.Forms.Platform.Android.FastRenderers.FrameRenderer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxFrameRendererEvents(global::Xamarin.Forms.Platform.Android.FastRenderers.FrameRenderer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler(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.FromEvent, global::System.ComponentModel.PropertyChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxImageRendererEvents : global::Android.Views.RxViewEvents + { + private readonly global::Xamarin.Forms.Platform.Android.FastRenderers.ImageRenderer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxImageRendererEvents(global::Xamarin.Forms.Platform.Android.FastRenderers.ImageRenderer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler(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.FromEvent, global::System.ComponentModel.PropertyChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxLabelRendererEvents : global::Android.Widget.RxTextViewEvents + { + private readonly global::Xamarin.Forms.Platform.Android.FastRenderers.LabelRenderer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxLabelRendererEvents(global::Xamarin.Forms.Platform.Android.FastRenderers.LabelRenderer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler(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.FromEvent, global::System.ComponentModel.PropertyChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x); + } +} + +namespace Xamarin.Forms.PlatformConfiguration.TizenSpecific +{ + /// + /// A class that contains extension methods to wrap events for classes contained within the namespace. + /// + public static class EventExtensions + { + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIMediaPlayerEvents Events(this global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.IMediaPlayer item) => new RxIMediaPlayerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIPlatformMediaPlayerEvents Events(this global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.IPlatformMediaPlayer item) => new RxIPlatformMediaPlayerEvents(item); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIMediaPlayerEvents + { + private readonly global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.IMediaPlayer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIMediaPlayerEvents(global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.IMediaPlayer data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackPaused => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackPaused += x, x => _data.PlaybackPaused -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackStarted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackStarted += x, x => _data.PlaybackStarted -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackStopped => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackStopped += x, x => _data.PlaybackStopped -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIPlatformMediaPlayerEvents + { + private readonly global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.IPlatformMediaPlayer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIPlatformMediaPlayerEvents(global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.IPlatformMediaPlayer data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable BufferingProgressUpdated => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.BufferingProgressUpdatedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.BufferingProgressUpdatedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.BufferingProgressUpdated += x, x => _data.BufferingProgressUpdated -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ErrorOccurred => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackCompleted += x, x => _data.PlaybackCompleted -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackPaused => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackPaused += x, x => _data.PlaybackPaused -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackStarted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackStarted += x, x => _data.PlaybackStarted -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackStopped => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackStopped += x, x => _data.PlaybackStopped -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable UpdateStreamInfo => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.UpdateStreamInfo += x, x => _data.UpdateStreamInfo -= x); + } +} + +namespace Xamarin.Forms +{ + /// + /// A class that contains extension methods to wrap events contained within static classes within the namespace. + /// + public static class Events + { + /// + /// Gets an observable which signals when the event triggers. + /// + public static global::System.IObservable FormsViewInitialized => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ViewInitializedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ViewInitializedEventArgs e) => eventHandler(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.8.0.1821.monoandroid90.approved.txt b/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Forms.4.8.0.1821.monoandroid90.approved.txt new file mode 100644 index 0000000..ab8ac96 --- /dev/null +++ b/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Forms.4.8.0.1821.monoandroid90.approved.txt @@ -0,0 +1,4516 @@ + +using global::System; +using global::System.Reactive; +using global::System.Reactive.Linq; +using global::System.Reactive.Subjects; +using global::Pharmacist.Common; + +namespace Android.Support.V4.Widget +{ + /// + /// A class that contains extension methods to wrap events for classes contained within the namespace. + /// + public static class EventExtensions + { + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxDrawerLayoutEvents Events(this global::Android.Support.V4.Widget.DrawerLayout item) => new RxDrawerLayoutEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxNestedScrollViewEvents Events(this global::Android.Support.V4.Widget.NestedScrollView item) => new RxNestedScrollViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwipeRefreshLayoutEvents Events(this global::Android.Support.V4.Widget.SwipeRefreshLayout item) => new RxSwipeRefreshLayoutEvents(item); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxDrawerLayoutEvents : global::Android.Views.RxViewGroupEvents + { + private readonly global::Android.Support.V4.Widget.DrawerLayout _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxDrawerLayoutEvents(global::Android.Support.V4.Widget.DrawerLayout data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DrawerClosed => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Support.V4.Widget.DrawerLayout.DrawerClosedEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Support.V4.Widget.DrawerLayout.DrawerClosedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DrawerClosed += x, x => _data.DrawerClosed -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DrawerOpened => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Support.V4.Widget.DrawerLayout.DrawerOpenedEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Support.V4.Widget.DrawerLayout.DrawerOpenedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DrawerOpened += x, x => _data.DrawerOpened -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DrawerSlide => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Support.V4.Widget.DrawerLayout.DrawerSlideEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Support.V4.Widget.DrawerLayout.DrawerSlideEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DrawerSlide += x, x => _data.DrawerSlide -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DrawerStateChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Support.V4.Widget.DrawerLayout.DrawerStateChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Support.V4.Widget.DrawerLayout.DrawerStateChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DrawerStateChanged += x, x => _data.DrawerStateChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxNestedScrollViewEvents : global::Android.Views.RxViewGroupEvents + { + private readonly global::Android.Support.V4.Widget.NestedScrollView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxNestedScrollViewEvents(global::Android.Support.V4.Widget.NestedScrollView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ScrollChange => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Support.V4.Widget.NestedScrollView.ScrollChangeEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Support.V4.Widget.NestedScrollView.ScrollChangeEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ScrollChange += x, x => _data.ScrollChange -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwipeRefreshLayoutEvents : global::Android.Views.RxViewGroupEvents + { + private readonly global::Android.Support.V4.Widget.SwipeRefreshLayout _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwipeRefreshLayoutEvents(global::Android.Support.V4.Widget.SwipeRefreshLayout data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Refresh => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Refresh += x, x => _data.Refresh -= x); + } +} + +namespace Android.Views +{ + /// + /// A class that contains extension methods to wrap events for classes contained within the namespace. + /// + public static class EventExtensions + { + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxViewEvents Events(this global::Android.Views.View item) => new RxViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxViewGroupEvents Events(this global::Android.Views.ViewGroup item) => new RxViewGroupEvents(item); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxViewEvents + { + private readonly global::Android.Views.View _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxViewEvents(global::Android.Views.View data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CapturedPointer => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Views.View.CapturedPointerEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Views.View.CapturedPointerEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CapturedPointer += x, x => _data.CapturedPointer -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Click => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Click += x, x => _data.Click -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ContextClick => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Views.View.ContextClickEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Views.View.ContextClickEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ContextClick += x, x => _data.ContextClick -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ContextMenuCreated => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Views.View.CreateContextMenuEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Views.View.CreateContextMenuEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ContextMenuCreated += x, x => _data.ContextMenuCreated -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Drag => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Views.View.DragEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Views.View.DragEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Drag += x, x => _data.Drag -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable FocusChange => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Views.View.FocusChangeEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Views.View.FocusChangeEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.FocusChange += x, x => _data.FocusChange -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable GenericMotion => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Views.View.GenericMotionEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Views.View.GenericMotionEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.GenericMotion += x, x => _data.GenericMotion -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Hover => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Views.View.HoverEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Views.View.HoverEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Hover += x, x => _data.Hover -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable KeyPress => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Views.View.KeyEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Views.View.KeyEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.KeyPress += x, x => _data.KeyPress -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable LayoutChange => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Views.View.LayoutChangeEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Views.View.LayoutChangeEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.LayoutChange += x, x => _data.LayoutChange -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable LongClick => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Views.View.LongClickEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Views.View.LongClickEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.LongClick += x, x => _data.LongClick -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ScrollChange => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Views.View.ScrollChangeEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Views.View.ScrollChangeEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ScrollChange += x, x => _data.ScrollChange -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SystemUiVisibilityChange => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Views.View.SystemUiVisibilityChangeEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Views.View.SystemUiVisibilityChangeEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SystemUiVisibilityChange += x, x => _data.SystemUiVisibilityChange -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Touch => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Views.View.TouchEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Views.View.TouchEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Touch += x, x => _data.Touch -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable UnhandledKeyEvent => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Views.View.UnhandledKeyEventEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Views.View.UnhandledKeyEventEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.UnhandledKeyEvent += x, x => _data.UnhandledKeyEvent -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ViewAttachedToWindow => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Views.View.ViewAttachedToWindowEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Views.View.ViewAttachedToWindowEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ViewAttachedToWindow += x, x => _data.ViewAttachedToWindow -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ViewDetachedFromWindow => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Views.View.ViewDetachedFromWindowEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Views.View.ViewDetachedFromWindowEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ViewDetachedFromWindow += x, x => _data.ViewDetachedFromWindow -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxViewGroupEvents : global::Android.Views.RxViewEvents + { + private readonly global::Android.Views.ViewGroup _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxViewGroupEvents(global::Android.Views.ViewGroup data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable AnimationEnd => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Views.Animations.Animation.AnimationEndEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Views.Animations.Animation.AnimationEndEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.AnimationEnd += x, x => _data.AnimationEnd -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable AnimationRepeat => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Views.Animations.Animation.AnimationRepeatEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Views.Animations.Animation.AnimationRepeatEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.AnimationRepeat += x, x => _data.AnimationRepeat -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable AnimationStart => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Views.Animations.Animation.AnimationStartEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Views.Animations.Animation.AnimationStartEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.AnimationStart += x, x => _data.AnimationStart -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ChildViewAdded => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Views.ViewGroup.ChildViewAddedEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Views.ViewGroup.ChildViewAddedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ChildViewAdded += x, x => _data.ChildViewAdded -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ChildViewRemoved => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Views.ViewGroup.ChildViewRemovedEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Views.ViewGroup.ChildViewRemovedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ChildViewRemoved += x, x => _data.ChildViewRemoved -= x); + } +} + +namespace Android.Widget +{ + /// + /// A class that contains extension methods to wrap events for classes contained within the namespace. + /// + public static class EventExtensions + { + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxCompoundButtonEvents Events(this global::Android.Widget.CompoundButton item) => new RxCompoundButtonEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxTextViewEvents Events(this global::Android.Widget.TextView item) => new RxTextViewEvents(item); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxCompoundButtonEvents : global::Android.Widget.RxTextViewEvents + { + private readonly global::Android.Widget.CompoundButton _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxCompoundButtonEvents(global::Android.Widget.CompoundButton data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CheckedChange => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Widget.CompoundButton.CheckedChangeEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Widget.CompoundButton.CheckedChangeEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CheckedChange += x, x => _data.CheckedChange -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxTextViewEvents : global::Android.Views.RxViewEvents + { + private readonly global::Android.Widget.TextView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxTextViewEvents(global::Android.Widget.TextView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable AfterTextChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Text.AfterTextChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Text.AfterTextChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.AfterTextChanged += x, x => _data.AfterTextChanged -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable BeforeTextChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Text.TextChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Text.TextChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.BeforeTextChanged += x, x => _data.BeforeTextChanged -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable EditorAction => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Widget.TextView.EditorActionEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Widget.TextView.EditorActionEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.EditorAction += x, x => _data.EditorAction -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable TextChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Android.Text.TextChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Android.Text.TextChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.TextChanged += x, x => _data.TextChanged -= x); + } +} + +namespace Xamarin.Forms +{ + /// + /// A class that contains extension methods to wrap events for classes contained within the namespace. + /// + public static class EventExtensions + { + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxApplicationEvents Events(this global::Xamarin.Forms.Application item) => new RxApplicationEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxBaseShellItemEvents Events(this global::Xamarin.Forms.BaseShellItem item) => new RxBaseShellItemEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxBindableObjectEvents Events(this global::Xamarin.Forms.BindableObject item) => new RxBindableObjectEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxButtonEvents Events(this global::Xamarin.Forms.Button item) => new RxButtonEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxCarouselViewEvents Events(this global::Xamarin.Forms.CarouselView item) => new RxCarouselViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxCellEvents Events(this global::Xamarin.Forms.Cell item) => new RxCellEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxCheckBoxEvents Events(this global::Xamarin.Forms.CheckBox item) => new RxCheckBoxEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxChildGestureRecognizerEvents Events(this global::Xamarin.Forms.ChildGestureRecognizer item) => new RxChildGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxClickGestureRecognizerEvents Events(this global::Xamarin.Forms.ClickGestureRecognizer item) => new RxClickGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxColumnDefinitionEvents Events(this global::Xamarin.Forms.ColumnDefinition item) => new RxColumnDefinitionEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxCommandEvents Events(this global::Xamarin.Forms.Command item) => new RxCommandEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxDatePickerEvents Events(this global::Xamarin.Forms.DatePicker item) => new RxDatePickerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxDragGestureRecognizerEvents Events(this global::Xamarin.Forms.DragGestureRecognizer item) => new RxDragGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxDropGestureRecognizerEvents Events(this global::Xamarin.Forms.DropGestureRecognizer item) => new RxDropGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxEditorEvents Events(this global::Xamarin.Forms.Editor item) => new RxEditorEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxElementEvents Events(this global::Xamarin.Forms.Element item) => new RxElementEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxEntryEvents Events(this global::Xamarin.Forms.Entry item) => new RxEntryEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxEntryCellEvents Events(this global::Xamarin.Forms.EntryCell item) => new RxEntryCellEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxExpanderEvents Events(this global::Xamarin.Forms.Expander item) => new RxExpanderEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxICellControllerEvents Events(this global::Xamarin.Forms.ICellController item) => new RxICellControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIDefinitionEvents Events(this global::Xamarin.Forms.IDefinition item) => new RxIDefinitionEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIElementControllerEvents Events(this global::Xamarin.Forms.IElementController item) => new RxIElementControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxILayoutEvents Events(this global::Xamarin.Forms.ILayout item) => new RxILayoutEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIListProxyEvents Events(this global::Xamarin.Forms.IListProxy item) => new RxIListProxyEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIListViewControllerEvents Events(this global::Xamarin.Forms.IListViewController item) => new RxIListViewControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxImageButtonEvents Events(this global::Xamarin.Forms.ImageButton item) => new RxImageButtonEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIMasterDetailPageControllerEvents Events(this global::Xamarin.Forms.IMasterDetailPageController item) => new RxIMasterDetailPageControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxINavigationPageControllerEvents Events(this global::Xamarin.Forms.INavigationPageController item) => new RxINavigationPageControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxInputViewEvents Events(this global::Xamarin.Forms.InputView item) => new RxInputViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIOpenGlViewControllerEvents Events(this global::Xamarin.Forms.IOpenGlViewController item) => new RxIOpenGlViewControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIScrollViewControllerEvents Events(this global::Xamarin.Forms.IScrollViewController item) => new RxIScrollViewControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxISearchHandlerControllerEvents Events(this global::Xamarin.Forms.ISearchHandlerController item) => new RxISearchHandlerControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIShellContentControllerEvents Events(this global::Xamarin.Forms.IShellContentController item) => new RxIShellContentControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIShellControllerEvents Events(this global::Xamarin.Forms.IShellController item) => new RxIShellControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIShellItemControllerEvents Events(this global::Xamarin.Forms.IShellItemController item) => new RxIShellItemControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIShellSectionControllerEvents Events(this global::Xamarin.Forms.IShellSectionController item) => new RxIShellSectionControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxISwipeItemEvents Events(this global::Xamarin.Forms.ISwipeItem item) => new RxISwipeItemEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxITableViewControllerEvents Events(this global::Xamarin.Forms.ITableViewController item) => new RxITableViewControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxItemsViewEvents Events(this global::Xamarin.Forms.ItemsView item) => new RxItemsViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIVisualElementControllerEvents Events(this global::Xamarin.Forms.IVisualElementController item) => new RxIVisualElementControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIWebViewControllerEvents Events(this global::Xamarin.Forms.IWebViewController item) => new RxIWebViewControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxLayoutEvents Events(this global::Xamarin.Forms.Layout item) => new RxLayoutEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxListViewEvents Events(this global::Xamarin.Forms.ListView item) => new RxListViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxMarshalingObservableCollectionEvents Events(this global::Xamarin.Forms.MarshalingObservableCollection item) => new RxMarshalingObservableCollectionEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxMasterDetailPageEvents Events(this global::Xamarin.Forms.MasterDetailPage item) => new RxMasterDetailPageEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxMediaElementEvents Events(this global::Xamarin.Forms.MediaElement item) => new RxMediaElementEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxMenuItemEvents Events(this global::Xamarin.Forms.MenuItem item) => new RxMenuItemEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxNavigationPageEvents Events(this global::Xamarin.Forms.NavigationPage item) => new RxNavigationPageEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxOpenGLViewEvents Events(this global::Xamarin.Forms.OpenGLView item) => new RxOpenGLViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxPageEvents Events(this global::Xamarin.Forms.Page item) => new RxPageEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxPanGestureRecognizerEvents Events(this global::Xamarin.Forms.PanGestureRecognizer item) => new RxPanGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxPickerEvents Events(this global::Xamarin.Forms.Picker item) => new RxPickerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxPinchGestureRecognizerEvents Events(this global::Xamarin.Forms.PinchGestureRecognizer item) => new RxPinchGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxRadioButtonEvents Events(this global::Xamarin.Forms.RadioButton item) => new RxRadioButtonEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxRefreshViewEvents Events(this global::Xamarin.Forms.RefreshView item) => new RxRefreshViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxRowDefinitionEvents Events(this global::Xamarin.Forms.RowDefinition item) => new RxRowDefinitionEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxScrollViewEvents Events(this global::Xamarin.Forms.ScrollView item) => new RxScrollViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSearchBarEvents Events(this global::Xamarin.Forms.SearchBar item) => new RxSearchBarEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSearchHandlerEvents Events(this global::Xamarin.Forms.SearchHandler item) => new RxSearchHandlerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSelectableItemsViewEvents Events(this global::Xamarin.Forms.SelectableItemsView item) => new RxSelectableItemsViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxShellEvents Events(this global::Xamarin.Forms.Shell item) => new RxShellEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSliderEvents Events(this global::Xamarin.Forms.Slider item) => new RxSliderEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxStateTriggerBaseEvents Events(this global::Xamarin.Forms.StateTriggerBase item) => new RxStateTriggerBaseEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxStepperEvents Events(this global::Xamarin.Forms.Stepper item) => new RxStepperEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwipeGestureRecognizerEvents Events(this global::Xamarin.Forms.SwipeGestureRecognizer item) => new RxSwipeGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwipeItemEvents Events(this global::Xamarin.Forms.SwipeItem item) => new RxSwipeItemEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwipeItemsEvents Events(this global::Xamarin.Forms.SwipeItems item) => new RxSwipeItemsEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwipeItemViewEvents Events(this global::Xamarin.Forms.SwipeItemView item) => new RxSwipeItemViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwipeViewEvents Events(this global::Xamarin.Forms.SwipeView item) => new RxSwipeViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwitchEvents Events(this global::Xamarin.Forms.Switch item) => new RxSwitchEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwitchCellEvents Events(this global::Xamarin.Forms.SwitchCell item) => new RxSwitchCellEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxTableViewEvents Events(this global::Xamarin.Forms.TableView item) => new RxTableViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxTapGestureRecognizerEvents Events(this global::Xamarin.Forms.TapGestureRecognizer item) => new RxTapGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxToolbarItemEvents Events(this global::Xamarin.Forms.ToolbarItem item) => new RxToolbarItemEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxVisualElementEvents Events(this global::Xamarin.Forms.VisualElement item) => new RxVisualElementEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxWebViewEvents Events(this global::Xamarin.Forms.WebView item) => new RxWebViewEvents(item); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxApplicationEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.Application _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxApplicationEvents(global::Xamarin.Forms.Application data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ModalPopped => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ModalPoppedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ModalPoppedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ModalPoppingEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ModalPoppingEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ModalPushedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ModalPushedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ModalPushingEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ModalPushingEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Page>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Page e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Page>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Page e) => eventHandler(e); + return Handler; + }, x => _data.PageDisappearing += x, x => _data.PageDisappearing -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable RequestedThemeChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.AppThemeChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.AppThemeChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.RequestedThemeChanged += x, x => _data.RequestedThemeChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxBaseShellItemEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.BaseShellItem _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxBaseShellItemEvents(global::Xamarin.Forms.BaseShellItem data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Appearing => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Disappearing += x, x => _data.Disappearing -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxBindableObjectEvents + { + private readonly global::Xamarin.Forms.BindableObject _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxBindableObjectEvents(global::Xamarin.Forms.BindableObject data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable BindingContextChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.PropertyChangingEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PropertyChanging += x, x => _data.PropertyChanging -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxButtonEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Button _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxButtonEvents(global::Xamarin.Forms.Button data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Released += x, x => _data.Released -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxCarouselViewEvents : global::Xamarin.Forms.RxItemsViewEvents + { + private readonly global::Xamarin.Forms.CarouselView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxCarouselViewEvents(global::Xamarin.Forms.CarouselView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CurrentItemChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.CurrentItemChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.CurrentItemChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CurrentItemChanged += x, x => _data.CurrentItemChanged -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PositionChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.PositionChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.PositionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PositionChanged += x, x => _data.PositionChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxCellEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.Cell _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxCellEvents(global::Xamarin.Forms.Cell data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Appearing => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Tapped += x, x => _data.Tapped -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxCheckBoxEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.CheckBox _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxCheckBoxEvents(global::Xamarin.Forms.CheckBox data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CheckedChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.CheckedChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.CheckedChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CheckedChanged += x, x => _data.CheckedChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxChildGestureRecognizerEvents + { + private readonly global::Xamarin.Forms.ChildGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxChildGestureRecognizerEvents(global::Xamarin.Forms.ChildGestureRecognizer data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PropertyChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PropertyChanged += x, x => _data.PropertyChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxClickGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.ClickGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxClickGestureRecognizerEvents(global::Xamarin.Forms.ClickGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Clicked += x, x => _data.Clicked -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxColumnDefinitionEvents : global::Xamarin.Forms.RxBindableObjectEvents + { + private readonly global::Xamarin.Forms.ColumnDefinition _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxColumnDefinitionEvents(global::Xamarin.Forms.ColumnDefinition data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SizeChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SizeChanged += x, x => _data.SizeChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxCommandEvents + { + private readonly global::Xamarin.Forms.Command _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxCommandEvents(global::Xamarin.Forms.Command data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CanExecuteChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CanExecuteChanged += x, x => _data.CanExecuteChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxDatePickerEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.DatePicker _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxDatePickerEvents(global::Xamarin.Forms.DatePicker data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DateSelected => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.DateChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.DateChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DateSelected += x, x => _data.DateSelected -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxDragGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.DragGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxDragGestureRecognizerEvents(global::Xamarin.Forms.DragGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DragStarting => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.DragStartingEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.DragStartingEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DragStarting += x, x => _data.DragStarting -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DropCompleted => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.DropCompletedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.DropCompletedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DropCompleted += x, x => _data.DropCompleted -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxDropGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.DropGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxDropGestureRecognizerEvents(global::Xamarin.Forms.DropGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DragOver => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.DragEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.DragEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DragOver += x, x => _data.DragOver -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Drop => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.DropEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.DropEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Drop += x, x => _data.Drop -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxEditorEvents : global::Xamarin.Forms.RxInputViewEvents + { + private readonly global::Xamarin.Forms.Editor _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxEditorEvents(global::Xamarin.Forms.Editor data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Completed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Completed += x, x => _data.Completed -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxElementEvents : global::Xamarin.Forms.RxBindableObjectEvents + { + private readonly global::Xamarin.Forms.Element _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxElementEvents(global::Xamarin.Forms.Element data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ChildAdded => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ElementEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ElementEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ElementEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ElementEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ElementEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ElementEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ElementEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ElementEventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlatformSet += x, x => _data.PlatformSet -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxEntryEvents : global::Xamarin.Forms.RxInputViewEvents + { + private readonly global::Xamarin.Forms.Entry _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxEntryEvents(global::Xamarin.Forms.Entry data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Completed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Completed += x, x => _data.Completed -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxEntryCellEvents : global::Xamarin.Forms.RxCellEvents + { + private readonly global::Xamarin.Forms.EntryCell _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxEntryCellEvents(global::Xamarin.Forms.EntryCell data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Completed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Completed += x, x => _data.Completed -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxExpanderEvents : global::Xamarin.Forms.RxLayoutEvents + { + private readonly global::Xamarin.Forms.Expander _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxExpanderEvents(global::Xamarin.Forms.Expander data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Tapped => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Tapped += x, x => _data.Tapped -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxICellControllerEvents + { + private readonly global::Xamarin.Forms.ICellController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxICellControllerEvents(global::Xamarin.Forms.ICellController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ForceUpdateSizeRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ForceUpdateSizeRequested += x, x => _data.ForceUpdateSizeRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIDefinitionEvents + { + private readonly global::Xamarin.Forms.IDefinition _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIDefinitionEvents(global::Xamarin.Forms.IDefinition data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SizeChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SizeChanged += x, x => _data.SizeChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIElementControllerEvents + { + private readonly global::Xamarin.Forms.IElementController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIElementControllerEvents(global::Xamarin.Forms.IElementController data) + { + _data = data; + } + + /// + /// 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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlatformSet += x, x => _data.PlatformSet -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxILayoutEvents + { + private readonly global::Xamarin.Forms.ILayout _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxILayoutEvents(global::Xamarin.Forms.ILayout data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable LayoutChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.LayoutChanged += x, x => _data.LayoutChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIListProxyEvents + { + private readonly global::Xamarin.Forms.IListProxy _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIListProxyEvents(global::Xamarin.Forms.IListProxy data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CollectionChanged += x, x => _data.CollectionChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIListViewControllerEvents + { + private readonly global::Xamarin.Forms.IListViewController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIListViewControllerEvents(global::Xamarin.Forms.IListViewController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ScrollToRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ScrollToRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrollToRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxImageButtonEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.ImageButton _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxImageButtonEvents(global::Xamarin.Forms.ImageButton data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Released += x, x => _data.Released -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIMasterDetailPageControllerEvents + { + private readonly global::Xamarin.Forms.IMasterDetailPageController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIMasterDetailPageControllerEvents(global::Xamarin.Forms.IMasterDetailPageController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable BackButtonPressed => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.BackButtonPressedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.BackButtonPressedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.BackButtonPressed += x, x => _data.BackButtonPressed -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxINavigationPageControllerEvents + { + private readonly global::Xamarin.Forms.INavigationPageController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxINavigationPageControllerEvents(global::Xamarin.Forms.INavigationPageController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable InsertPageBeforeRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.RemovePageRequested += x, x => _data.RemovePageRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxInputViewEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.InputView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxInputViewEvents(global::Xamarin.Forms.InputView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable TextChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.TextChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.TextChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.TextChanged += x, x => _data.TextChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIOpenGlViewControllerEvents + { + private readonly global::Xamarin.Forms.IOpenGlViewController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIOpenGlViewControllerEvents(global::Xamarin.Forms.IOpenGlViewController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DisplayRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DisplayRequested += x, x => _data.DisplayRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIScrollViewControllerEvents + { + private readonly global::Xamarin.Forms.IScrollViewController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIScrollViewControllerEvents(global::Xamarin.Forms.IScrollViewController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ScrollToRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ScrollToRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrollToRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxISearchHandlerControllerEvents + { + private readonly global::Xamarin.Forms.ISearchHandlerController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxISearchHandlerControllerEvents(global::Xamarin.Forms.ISearchHandlerController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ListProxyChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ListProxyChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ListProxyChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ListProxyChanged += x, x => _data.ListProxyChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIShellContentControllerEvents + { + private readonly global::Xamarin.Forms.IShellContentController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIShellContentControllerEvents(global::Xamarin.Forms.IShellContentController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable IsPageVisibleChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.IsPageVisibleChanged += x, x => _data.IsPageVisibleChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIShellControllerEvents + { + private readonly global::Xamarin.Forms.IShellController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIShellControllerEvents(global::Xamarin.Forms.IShellController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ItemsCollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ItemsCollectionChanged += x, x => _data.ItemsCollectionChanged -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable StructureChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.StructureChanged += x, x => _data.StructureChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIShellItemControllerEvents + { + private readonly global::Xamarin.Forms.IShellItemController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIShellItemControllerEvents(global::Xamarin.Forms.IShellItemController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ItemsCollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ItemsCollectionChanged += x, x => _data.ItemsCollectionChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIShellSectionControllerEvents + { + private readonly global::Xamarin.Forms.IShellSectionController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIShellSectionControllerEvents(global::Xamarin.Forms.IShellSectionController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ItemsCollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ItemsCollectionChanged += x, x => _data.ItemsCollectionChanged -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable NavigationRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.NavigationRequested += x, x => _data.NavigationRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxISwipeItemEvents + { + private readonly global::Xamarin.Forms.ISwipeItem _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxISwipeItemEvents(global::Xamarin.Forms.ISwipeItem data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Invoked => global::System.Reactive.Linq.Observable.FromEvent, global::System.EventArgs>(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Invoked += x, x => _data.Invoked -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxITableViewControllerEvents + { + private readonly global::Xamarin.Forms.ITableViewController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxITableViewControllerEvents(global::Xamarin.Forms.ITableViewController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ModelChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ModelChanged += x, x => _data.ModelChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxItemsViewEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.ItemsView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxItemsViewEvents(global::Xamarin.Forms.ItemsView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable RemainingItemsThresholdReached => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.RemainingItemsThresholdReached += x, x => _data.RemainingItemsThresholdReached -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Scrolled => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ItemsViewScrolledEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ItemsViewScrolledEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ScrollToRequestEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrollToRequestEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIVisualElementControllerEvents + { + private readonly global::Xamarin.Forms.IVisualElementController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIVisualElementControllerEvents(global::Xamarin.Forms.IVisualElementController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable> BatchCommitted => global::System.Reactive.Linq.Observable.FromEvent>, global::Xamarin.Forms.Internals.EventArg>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EventArg e) => eventHandler(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.FromEvent, global::Xamarin.Forms.VisualElement.FocusRequestArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.VisualElement.FocusRequestArgs e) => eventHandler(e); + return Handler; + }, x => _data.FocusChangeRequested += x, x => _data.FocusChangeRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIWebViewControllerEvents + { + private readonly global::Xamarin.Forms.IWebViewController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIWebViewControllerEvents(global::Xamarin.Forms.IWebViewController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable EvalRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Internals.EvalRequested>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EvalRequested e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ReloadRequested += x, x => _data.ReloadRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxLayoutEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Layout _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxLayoutEvents(global::Xamarin.Forms.Layout data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable LayoutChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.LayoutChanged += x, x => _data.LayoutChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxListViewEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.ListView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxListViewEvents(global::Xamarin.Forms.ListView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ItemAppearing => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ItemVisibilityEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ItemVisibilityEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ItemVisibilityEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ItemVisibilityEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.SelectedItemChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SelectedItemChangedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ItemTappedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ItemTappedEventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Refreshing += x, x => _data.Refreshing -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Scrolled => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ScrolledEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrolledEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ScrollToRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrollToRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxMarshalingObservableCollectionEvents + { + private readonly global::Xamarin.Forms.MarshalingObservableCollection _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxMarshalingObservableCollectionEvents(global::Xamarin.Forms.MarshalingObservableCollection data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CollectionChanged += x, x => _data.CollectionChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxMasterDetailPageEvents : global::Xamarin.Forms.RxPageEvents + { + private readonly global::Xamarin.Forms.MasterDetailPage _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxMasterDetailPageEvents(global::Xamarin.Forms.MasterDetailPage data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable BackButtonPressed => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.BackButtonPressedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.BackButtonPressedEventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.IsPresentedChanged += x, x => _data.IsPresentedChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxMediaElementEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.MediaElement _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxMediaElementEvents(global::Xamarin.Forms.MediaElement data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable MediaEnded => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.MediaEnded += x, x => _data.MediaEnded -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable MediaFailed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.MediaFailed += x, x => _data.MediaFailed -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable MediaOpened => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.MediaOpened += x, x => _data.MediaOpened -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PositionRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PositionRequested += x, x => _data.PositionRequested -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SeekCompleted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SeekCompleted += x, x => _data.SeekCompleted -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SeekRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.SeekRequested>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SeekRequested e) => eventHandler(e); + return Handler; + }, x => _data.SeekRequested += x, x => _data.SeekRequested -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable StateRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.StateRequested>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.StateRequested e) => eventHandler(e); + return Handler; + }, x => _data.StateRequested += x, x => _data.StateRequested -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable VolumeRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.VolumeRequested += x, x => _data.VolumeRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxMenuItemEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.MenuItem _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxMenuItemEvents(global::Xamarin.Forms.MenuItem data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Clicked += x, x => _data.Clicked -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxNavigationPageEvents : global::Xamarin.Forms.RxPageEvents + { + private readonly global::Xamarin.Forms.NavigationPage _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxNavigationPageEvents(global::Xamarin.Forms.NavigationPage data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable InsertPageBeforeRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.NavigationEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.NavigationEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.NavigationEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.NavigationEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.NavigationEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.NavigationEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.RemovePageRequested += x, x => _data.RemovePageRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxOpenGLViewEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.OpenGLView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxOpenGLViewEvents(global::Xamarin.Forms.OpenGLView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DisplayRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DisplayRequested += x, x => _data.DisplayRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxPageEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Page _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxPageEvents(global::Xamarin.Forms.Page data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Appearing => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.LayoutChanged += x, x => _data.LayoutChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxPanGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.PanGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxPanGestureRecognizerEvents(global::Xamarin.Forms.PanGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PanUpdated => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.PanUpdatedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.PanUpdatedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PanUpdated += x, x => _data.PanUpdated -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxPickerEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Picker _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxPickerEvents(global::Xamarin.Forms.Picker data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SelectedIndexChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SelectedIndexChanged += x, x => _data.SelectedIndexChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxPinchGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.PinchGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxPinchGestureRecognizerEvents(global::Xamarin.Forms.PinchGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PinchUpdated => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.PinchGestureUpdatedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.PinchGestureUpdatedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PinchUpdated += x, x => _data.PinchUpdated -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxRadioButtonEvents : global::Xamarin.Forms.RxButtonEvents + { + private readonly global::Xamarin.Forms.RadioButton _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxRadioButtonEvents(global::Xamarin.Forms.RadioButton data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CheckedChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.CheckedChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.CheckedChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CheckedChanged += x, x => _data.CheckedChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxRefreshViewEvents : global::Xamarin.Forms.RxLayoutEvents + { + private readonly global::Xamarin.Forms.RefreshView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxRefreshViewEvents(global::Xamarin.Forms.RefreshView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Refreshing => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Refreshing += x, x => _data.Refreshing -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxRowDefinitionEvents : global::Xamarin.Forms.RxBindableObjectEvents + { + private readonly global::Xamarin.Forms.RowDefinition _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxRowDefinitionEvents(global::Xamarin.Forms.RowDefinition data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SizeChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SizeChanged += x, x => _data.SizeChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxScrollViewEvents : global::Xamarin.Forms.RxLayoutEvents + { + private readonly global::Xamarin.Forms.ScrollView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxScrollViewEvents(global::Xamarin.Forms.ScrollView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Scrolled => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ScrolledEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrolledEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ScrollToRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrollToRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSearchBarEvents : global::Xamarin.Forms.RxInputViewEvents + { + private readonly global::Xamarin.Forms.SearchBar _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSearchBarEvents(global::Xamarin.Forms.SearchBar data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SearchButtonPressed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SearchButtonPressed += x, x => _data.SearchButtonPressed -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSearchHandlerEvents : global::Xamarin.Forms.RxBindableObjectEvents + { + private readonly global::Xamarin.Forms.SearchHandler _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSearchHandlerEvents(global::Xamarin.Forms.SearchHandler data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable FocusChangeRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.VisualElement.FocusRequestArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.VisualElement.FocusRequestArgs e) => eventHandler(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.FromEvent, global::System.EventArgs>(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent, global::System.EventArgs>(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Unfocused += x, x => _data.Unfocused -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSelectableItemsViewEvents : global::Xamarin.Forms.RxItemsViewEvents + { + private readonly global::Xamarin.Forms.SelectableItemsView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSelectableItemsViewEvents(global::Xamarin.Forms.SelectableItemsView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SelectionChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.SelectionChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SelectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SelectionChanged += x, x => _data.SelectionChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxShellEvents : global::Xamarin.Forms.RxPageEvents + { + private readonly global::Xamarin.Forms.Shell _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxShellEvents(global::Xamarin.Forms.Shell data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Navigated => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ShellNavigatedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ShellNavigatedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ShellNavigatingEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ShellNavigatingEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Navigating += x, x => _data.Navigating -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSliderEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Slider _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSliderEvents(global::Xamarin.Forms.Slider data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DragCompleted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ValueChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ValueChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ValueChanged += x, x => _data.ValueChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxStateTriggerBaseEvents : global::Xamarin.Forms.RxBindableObjectEvents + { + private readonly global::Xamarin.Forms.StateTriggerBase _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxStateTriggerBaseEvents(global::Xamarin.Forms.StateTriggerBase data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable IsActiveChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.IsActiveChanged += x, x => _data.IsActiveChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxStepperEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Stepper _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxStepperEvents(global::Xamarin.Forms.Stepper data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ValueChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ValueChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ValueChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ValueChanged += x, x => _data.ValueChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwipeGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.SwipeGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwipeGestureRecognizerEvents(global::Xamarin.Forms.SwipeGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Swiped => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.SwipedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SwipedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Swiped += x, x => _data.Swiped -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwipeItemEvents : global::Xamarin.Forms.RxMenuItemEvents + { + private readonly global::Xamarin.Forms.SwipeItem _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwipeItemEvents(global::Xamarin.Forms.SwipeItem data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Invoked => global::System.Reactive.Linq.Observable.FromEvent, global::System.EventArgs>(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Invoked += x, x => _data.Invoked -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwipeItemsEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.SwipeItems _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwipeItemsEvents(global::Xamarin.Forms.SwipeItems data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CollectionChanged += x, x => _data.CollectionChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwipeItemViewEvents : global::Xamarin.Forms.RxLayoutEvents + { + private readonly global::Xamarin.Forms.SwipeItemView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwipeItemViewEvents(global::Xamarin.Forms.SwipeItemView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Invoked => global::System.Reactive.Linq.Observable.FromEvent, global::System.EventArgs>(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Invoked += x, x => _data.Invoked -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwipeViewEvents : global::Xamarin.Forms.RxLayoutEvents + { + private readonly global::Xamarin.Forms.SwipeView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwipeViewEvents(global::Xamarin.Forms.SwipeView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CloseRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CloseRequested += x, x => _data.CloseRequested -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable OpenRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.OpenSwipeEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.OpenSwipeEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.OpenRequested += x, x => _data.OpenRequested -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SwipeChanging => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.SwipeChangingEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SwipeChangingEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SwipeChanging += x, x => _data.SwipeChanging -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SwipeEnded => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.SwipeEndedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SwipeEndedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SwipeEnded += x, x => _data.SwipeEnded -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SwipeStarted => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.SwipeStartedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SwipeStartedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SwipeStarted += x, x => _data.SwipeStarted -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwitchEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Switch _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwitchEvents(global::Xamarin.Forms.Switch data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Toggled => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ToggledEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ToggledEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Toggled += x, x => _data.Toggled -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwitchCellEvents : global::Xamarin.Forms.RxCellEvents + { + private readonly global::Xamarin.Forms.SwitchCell _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwitchCellEvents(global::Xamarin.Forms.SwitchCell data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable OnChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ToggledEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ToggledEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.OnChanged += x, x => _data.OnChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxTableViewEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.TableView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxTableViewEvents(global::Xamarin.Forms.TableView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ModelChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ModelChanged += x, x => _data.ModelChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxTapGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.TapGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxTapGestureRecognizerEvents(global::Xamarin.Forms.TapGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Tapped => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Tapped += x, x => _data.Tapped -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxToolbarItemEvents : global::Xamarin.Forms.RxMenuItemEvents + { + private readonly global::Xamarin.Forms.ToolbarItem _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxToolbarItemEvents(global::Xamarin.Forms.ToolbarItem data): base(data) + { + _data = data; + } + + /// + /// 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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Activated += x, x => _data.Activated -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxVisualElementEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.VisualElement _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxVisualElementEvents(global::Xamarin.Forms.VisualElement data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable> BatchCommitted => global::System.Reactive.Linq.Observable.FromEvent>, global::Xamarin.Forms.Internals.EventArg>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EventArg e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.VisualElement.FocusRequestArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.VisualElement.FocusRequestArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.FocusEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.FocusEventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.FocusEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.FocusEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Unfocused += x, x => _data.Unfocused -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxWebViewEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.WebView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxWebViewEvents(global::Xamarin.Forms.WebView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable EvalRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Internals.EvalRequested>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EvalRequested e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.WebNavigatedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.WebNavigatedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.WebNavigatingEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.WebNavigatingEventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ReloadRequested += x, x => _data.ReloadRequested -= x); + } +} + +namespace Xamarin.Forms.Internals +{ + /// + /// A class that contains extension methods to wrap events for classes contained within the namespace. + /// + public static class EventExtensions + { + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxDeviceInfoEvents Events(this global::Xamarin.Forms.Internals.DeviceInfo item) => new RxDeviceInfoEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIResourceDictionaryEvents Events(this global::Xamarin.Forms.Internals.IResourceDictionary item) => new RxIResourceDictionaryEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxTableModelEvents Events(this global::Xamarin.Forms.Internals.TableModel item) => new RxTableModelEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxToolbarTrackerEvents Events(this global::Xamarin.Forms.Internals.ToolbarTracker item) => new RxToolbarTrackerEvents(item); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxDeviceInfoEvents + { + private readonly global::Xamarin.Forms.Internals.DeviceInfo _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxDeviceInfoEvents(global::Xamarin.Forms.Internals.DeviceInfo data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PropertyChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PropertyChanged += x, x => _data.PropertyChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIResourceDictionaryEvents + { + private readonly global::Xamarin.Forms.Internals.IResourceDictionary _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIResourceDictionaryEvents(global::Xamarin.Forms.Internals.IResourceDictionary data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ValuesChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Internals.ResourcesChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.ResourcesChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ValuesChanged += x, x => _data.ValuesChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxTableModelEvents + { + private readonly global::Xamarin.Forms.Internals.TableModel _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxTableModelEvents(global::Xamarin.Forms.Internals.TableModel data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable> ItemLongPressed => global::System.Reactive.Linq.Observable.FromEvent>, global::Xamarin.Forms.Internals.EventArg>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EventArg e) => eventHandler(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.FromEvent>, global::Xamarin.Forms.Internals.EventArg>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EventArg e) => eventHandler(e); + return Handler; + }, x => _data.ItemSelected += x, x => _data.ItemSelected -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxToolbarTrackerEvents + { + private readonly global::Xamarin.Forms.Internals.ToolbarTracker _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxToolbarTrackerEvents(global::Xamarin.Forms.Internals.ToolbarTracker data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CollectionChanged += x, x => _data.CollectionChanged -= x); + } +} + +namespace Xamarin.Forms.Platform.Android +{ + /// + /// A class that contains extension methods to wrap events for classes contained within the namespace. + /// + public static class EventExtensions + { + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxCheckBoxRendererBaseEvents Events(this global::Xamarin.Forms.Platform.Android.CheckBoxRendererBase item) => new RxCheckBoxRendererBaseEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxFormsAnimationDrawableEvents Events(this global::Xamarin.Forms.Platform.Android.FormsAnimationDrawable item) => new RxFormsAnimationDrawableEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxFormsAppCompatActivityEvents Events(this global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity item) => new RxFormsAppCompatActivityEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxFormsApplicationActivityEvents Events(this global::Xamarin.Forms.Platform.Android.FormsApplicationActivity item) => new RxFormsApplicationActivityEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIBorderVisualElementRendererEvents Events(this global::Xamarin.Forms.Platform.Android.IBorderVisualElementRenderer item) => new RxIBorderVisualElementRendererEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIButtonLayoutRendererEvents Events(this global::Xamarin.Forms.Platform.Android.IButtonLayoutRenderer item) => new RxIButtonLayoutRendererEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIDeviceInfoProviderEvents Events(this global::Xamarin.Forms.Platform.Android.IDeviceInfoProvider item) => new RxIDeviceInfoProviderEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIFormsAnimationDrawableEvents Events(this global::Xamarin.Forms.Platform.Android.IFormsAnimationDrawable item) => new RxIFormsAnimationDrawableEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxImageButtonRendererEvents Events(this global::Xamarin.Forms.Platform.Android.ImageButtonRenderer item) => new RxImageButtonRendererEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIndicatorViewRendererEvents Events(this global::Xamarin.Forms.Platform.Android.IndicatorViewRenderer item) => new RxIndicatorViewRendererEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIShellItemRendererEvents Events(this global::Xamarin.Forms.Platform.Android.IShellItemRenderer item) => new RxIShellItemRendererEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIShellObservableFragmentEvents Events(this global::Xamarin.Forms.Platform.Android.IShellObservableFragment item) => new RxIShellObservableFragmentEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIShellSearchViewEvents Events(this global::Xamarin.Forms.Platform.Android.IShellSearchView item) => new RxIShellSearchViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIVisualElementRendererEvents Events(this global::Xamarin.Forms.Platform.Android.IVisualElementRenderer item) => new RxIVisualElementRendererEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxMasterDetailRendererEvents Events(this global::Xamarin.Forms.Platform.Android.MasterDetailRenderer item) => new RxMasterDetailRendererEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxMediaElementRendererEvents Events(this global::Xamarin.Forms.Platform.Android.MediaElementRenderer item) => new RxMediaElementRendererEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxRadioButtonRendererEvents Events(this global::Xamarin.Forms.Platform.Android.RadioButtonRenderer item) => new RxRadioButtonRendererEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxRefreshViewRendererEvents Events(this global::Xamarin.Forms.Platform.Android.RefreshViewRenderer item) => new RxRefreshViewRendererEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxScrollViewRendererEvents Events(this global::Xamarin.Forms.Platform.Android.ScrollViewRenderer item) => new RxScrollViewRendererEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSelectableViewHolderEvents Events(this global::Xamarin.Forms.Platform.Android.SelectableViewHolder item) => new RxSelectableViewHolderEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxShellContentFragmentEvents Events(this global::Xamarin.Forms.Platform.Android.ShellContentFragment item) => new RxShellContentFragmentEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxShellItemRendererBaseEvents Events(this global::Xamarin.Forms.Platform.Android.ShellItemRendererBase item) => new RxShellItemRendererBaseEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxShellSearchViewEvents Events(this global::Xamarin.Forms.Platform.Android.ShellSearchView item) => new RxShellSearchViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxShellSectionRendererEvents Events(this global::Xamarin.Forms.Platform.Android.ShellSectionRenderer item) => new RxShellSectionRendererEvents(item); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxCheckBoxRendererBaseEvents : global::Android.Widget.RxCompoundButtonEvents + { + private readonly global::Xamarin.Forms.Platform.Android.CheckBoxRendererBase _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxCheckBoxRendererBaseEvents(global::Xamarin.Forms.Platform.Android.CheckBoxRendererBase data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler(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.FromEvent, global::System.ComponentModel.PropertyChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxFormsAnimationDrawableEvents + { + private readonly global::Xamarin.Forms.Platform.Android.FormsAnimationDrawable _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxFormsAnimationDrawableEvents(global::Xamarin.Forms.Platform.Android.FormsAnimationDrawable data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable AnimationStarted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.AnimationStarted += x, x => _data.AnimationStarted -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable AnimationStopped => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.Android.FormsAnimationDrawableStateEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.FormsAnimationDrawableStateEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.AnimationStopped += x, x => _data.AnimationStopped -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxFormsAppCompatActivityEvents + { + private readonly global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxFormsAppCompatActivityEvents(global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ConfigurationChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ConfigurationChanged += x, x => _data.ConfigurationChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxFormsApplicationActivityEvents + { + private readonly global::Xamarin.Forms.Platform.Android.FormsApplicationActivity _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxFormsApplicationActivityEvents(global::Xamarin.Forms.Platform.Android.FormsApplicationActivity data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ConfigurationChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ConfigurationChanged += x, x => _data.ConfigurationChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIBorderVisualElementRendererEvents + { + private readonly global::Xamarin.Forms.Platform.Android.IBorderVisualElementRenderer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIBorderVisualElementRendererEvents(global::Xamarin.Forms.Platform.Android.IBorderVisualElementRenderer data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ElementChanged += x, x => _data.ElementChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIButtonLayoutRendererEvents + { + private readonly global::Xamarin.Forms.Platform.Android.IButtonLayoutRenderer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIButtonLayoutRendererEvents(global::Xamarin.Forms.Platform.Android.IButtonLayoutRenderer data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ElementChanged += x, x => _data.ElementChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIDeviceInfoProviderEvents + { + private readonly global::Xamarin.Forms.Platform.Android.IDeviceInfoProvider _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIDeviceInfoProviderEvents(global::Xamarin.Forms.Platform.Android.IDeviceInfoProvider data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ConfigurationChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ConfigurationChanged += x, x => _data.ConfigurationChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIFormsAnimationDrawableEvents + { + private readonly global::Xamarin.Forms.Platform.Android.IFormsAnimationDrawable _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIFormsAnimationDrawableEvents(global::Xamarin.Forms.Platform.Android.IFormsAnimationDrawable data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable AnimationStarted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.AnimationStarted += x, x => _data.AnimationStarted -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable AnimationStopped => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.Android.FormsAnimationDrawableStateEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.FormsAnimationDrawableStateEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.AnimationStopped += x, x => _data.AnimationStopped -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxImageButtonRendererEvents : global::Android.Views.RxViewEvents + { + private readonly global::Xamarin.Forms.Platform.Android.ImageButtonRenderer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxImageButtonRendererEvents(global::Xamarin.Forms.Platform.Android.ImageButtonRenderer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler(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.FromEvent, global::System.ComponentModel.PropertyChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIndicatorViewRendererEvents : global::Android.Views.RxViewGroupEvents + { + private readonly global::Xamarin.Forms.Platform.Android.IndicatorViewRenderer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIndicatorViewRendererEvents(global::Xamarin.Forms.Platform.Android.IndicatorViewRenderer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler(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.FromEvent, global::System.ComponentModel.PropertyChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIShellItemRendererEvents + { + private readonly global::Xamarin.Forms.Platform.Android.IShellItemRenderer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIShellItemRendererEvents(global::Xamarin.Forms.Platform.Android.IShellItemRenderer data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Destroyed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Destroyed += x, x => _data.Destroyed -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIShellObservableFragmentEvents + { + private readonly global::Xamarin.Forms.Platform.Android.IShellObservableFragment _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIShellObservableFragmentEvents(global::Xamarin.Forms.Platform.Android.IShellObservableFragment data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable AnimationFinished => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.AnimationFinished += x, x => _data.AnimationFinished -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIShellSearchViewEvents + { + private readonly global::Xamarin.Forms.Platform.Android.IShellSearchView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIShellSearchViewEvents(global::Xamarin.Forms.Platform.Android.IShellSearchView data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SearchConfirmed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SearchConfirmed += x, x => _data.SearchConfirmed -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIVisualElementRendererEvents + { + private readonly global::Xamarin.Forms.Platform.Android.IVisualElementRenderer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIVisualElementRendererEvents(global::Xamarin.Forms.Platform.Android.IVisualElementRenderer data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler(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.FromEvent, global::System.ComponentModel.PropertyChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxMasterDetailRendererEvents : global::Android.Support.V4.Widget.RxDrawerLayoutEvents + { + private readonly global::Xamarin.Forms.Platform.Android.MasterDetailRenderer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxMasterDetailRendererEvents(global::Xamarin.Forms.Platform.Android.MasterDetailRenderer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ElementChanged += x, x => _data.ElementChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxMediaElementRendererEvents : global::Android.Views.RxViewGroupEvents + { + private readonly global::Xamarin.Forms.Platform.Android.MediaElementRenderer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxMediaElementRendererEvents(global::Xamarin.Forms.Platform.Android.MediaElementRenderer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler(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.FromEvent, global::System.ComponentModel.PropertyChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxRadioButtonRendererEvents : global::Android.Widget.RxCompoundButtonEvents + { + private readonly global::Xamarin.Forms.Platform.Android.RadioButtonRenderer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxRadioButtonRendererEvents(global::Xamarin.Forms.Platform.Android.RadioButtonRenderer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler(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.FromEvent, global::System.ComponentModel.PropertyChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxRefreshViewRendererEvents : global::Android.Support.V4.Widget.RxSwipeRefreshLayoutEvents + { + private readonly global::Xamarin.Forms.Platform.Android.RefreshViewRenderer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxRefreshViewRendererEvents(global::Xamarin.Forms.Platform.Android.RefreshViewRenderer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler(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.FromEvent, global::System.ComponentModel.PropertyChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxScrollViewRendererEvents : global::Android.Support.V4.Widget.RxNestedScrollViewEvents + { + private readonly global::Xamarin.Forms.Platform.Android.ScrollViewRenderer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxScrollViewRendererEvents(global::Xamarin.Forms.Platform.Android.ScrollViewRenderer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ElementChanged += x, x => _data.ElementChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSelectableViewHolderEvents + { + private readonly global::Xamarin.Forms.Platform.Android.SelectableViewHolder _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSelectableViewHolderEvents(global::Xamarin.Forms.Platform.Android.SelectableViewHolder data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEvent, int>(eventHandler => + { + void Handler(object sender, int e) => eventHandler(e); + return Handler; + }, x => _data.Clicked += x, x => _data.Clicked -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxShellContentFragmentEvents + { + private readonly global::Xamarin.Forms.Platform.Android.ShellContentFragment _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxShellContentFragmentEvents(global::Xamarin.Forms.Platform.Android.ShellContentFragment data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable AnimationFinished => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.AnimationFinished += x, x => _data.AnimationFinished -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxShellItemRendererBaseEvents + { + private readonly global::Xamarin.Forms.Platform.Android.ShellItemRendererBase _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxShellItemRendererBaseEvents(global::Xamarin.Forms.Platform.Android.ShellItemRendererBase data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Destroyed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Destroyed += x, x => _data.Destroyed -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxShellSearchViewEvents : global::Android.Views.RxViewGroupEvents + { + private readonly global::Xamarin.Forms.Platform.Android.ShellSearchView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxShellSearchViewEvents(global::Xamarin.Forms.Platform.Android.ShellSearchView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SearchConfirmed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SearchConfirmed += x, x => _data.SearchConfirmed -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxShellSectionRendererEvents + { + private readonly global::Xamarin.Forms.Platform.Android.ShellSectionRenderer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxShellSectionRendererEvents(global::Xamarin.Forms.Platform.Android.ShellSectionRenderer data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable AnimationFinished => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.AnimationFinished += x, x => _data.AnimationFinished -= x); + } +} + +namespace Xamarin.Forms.Platform.Android.FastRenderers +{ + /// + /// A class that contains extension methods to wrap events for classes contained within the namespace. + /// + public static class EventExtensions + { + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxButtonRendererEvents Events(this global::Xamarin.Forms.Platform.Android.FastRenderers.ButtonRenderer item) => new RxButtonRendererEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxFrameRendererEvents Events(this global::Xamarin.Forms.Platform.Android.FastRenderers.FrameRenderer item) => new RxFrameRendererEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxImageRendererEvents Events(this global::Xamarin.Forms.Platform.Android.FastRenderers.ImageRenderer item) => new RxImageRendererEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxLabelRendererEvents Events(this global::Xamarin.Forms.Platform.Android.FastRenderers.LabelRenderer item) => new RxLabelRendererEvents(item); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxButtonRendererEvents : global::Android.Widget.RxTextViewEvents + { + private readonly global::Xamarin.Forms.Platform.Android.FastRenderers.ButtonRenderer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxButtonRendererEvents(global::Xamarin.Forms.Platform.Android.FastRenderers.ButtonRenderer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler(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.FromEvent, global::System.ComponentModel.PropertyChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxFrameRendererEvents : global::Android.Views.RxViewGroupEvents + { + private readonly global::Xamarin.Forms.Platform.Android.FastRenderers.FrameRenderer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxFrameRendererEvents(global::Xamarin.Forms.Platform.Android.FastRenderers.FrameRenderer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler(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.FromEvent, global::System.ComponentModel.PropertyChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxImageRendererEvents : global::Android.Views.RxViewEvents + { + private readonly global::Xamarin.Forms.Platform.Android.FastRenderers.ImageRenderer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxImageRendererEvents(global::Xamarin.Forms.Platform.Android.FastRenderers.ImageRenderer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler(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.FromEvent, global::System.ComponentModel.PropertyChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxLabelRendererEvents : global::Android.Widget.RxTextViewEvents + { + private readonly global::Xamarin.Forms.Platform.Android.FastRenderers.LabelRenderer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxLabelRendererEvents(global::Xamarin.Forms.Platform.Android.FastRenderers.LabelRenderer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs e) => eventHandler(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.FromEvent, global::System.ComponentModel.PropertyChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x); + } +} + +namespace Xamarin.Forms.PlatformConfiguration.TizenSpecific +{ + /// + /// A class that contains extension methods to wrap events for classes contained within the namespace. + /// + public static class EventExtensions + { + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIMediaPlayerEvents Events(this global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.IMediaPlayer item) => new RxIMediaPlayerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIPlatformMediaPlayerEvents Events(this global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.IPlatformMediaPlayer item) => new RxIPlatformMediaPlayerEvents(item); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIMediaPlayerEvents + { + private readonly global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.IMediaPlayer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIMediaPlayerEvents(global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.IMediaPlayer data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackPaused => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackPaused += x, x => _data.PlaybackPaused -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackStarted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackStarted += x, x => _data.PlaybackStarted -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackStopped => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackStopped += x, x => _data.PlaybackStopped -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIPlatformMediaPlayerEvents + { + private readonly global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.IPlatformMediaPlayer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIPlatformMediaPlayerEvents(global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.IPlatformMediaPlayer data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable BufferingProgressUpdated => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.BufferingProgressUpdatedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.BufferingProgressUpdatedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.BufferingProgressUpdated += x, x => _data.BufferingProgressUpdated -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ErrorOccurred => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackCompleted += x, x => _data.PlaybackCompleted -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackPaused => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackPaused += x, x => _data.PlaybackPaused -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackStarted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackStarted += x, x => _data.PlaybackStarted -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackStopped => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackStopped += x, x => _data.PlaybackStopped -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable UpdateStreamInfo => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.UpdateStreamInfo += x, x => _data.UpdateStreamInfo -= x); + } +} + +namespace Xamarin.Forms +{ + /// + /// A class that contains extension methods to wrap events contained within static classes within the namespace. + /// + public static class Events + { + /// + /// Gets an observable which signals when the event triggers. + /// + public static global::System.IObservable FormsViewInitialized => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ViewInitializedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ViewInitializedEventArgs e) => eventHandler(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.8.0.1821.netstandard2.0.approved.txt b/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Forms.4.8.0.1821.netstandard2.0.approved.txt new file mode 100644 index 0000000..dfb5975 --- /dev/null +++ b/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Forms.4.8.0.1821.netstandard2.0.approved.txt @@ -0,0 +1,3121 @@ + +using global::System; +using global::System.Reactive; +using global::System.Reactive.Linq; +using global::System.Reactive.Subjects; +using global::Pharmacist.Common; + +namespace Xamarin.Forms +{ + /// + /// A class that contains extension methods to wrap events for classes contained within the namespace. + /// + public static class EventExtensions + { + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxApplicationEvents Events(this global::Xamarin.Forms.Application item) => new RxApplicationEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxBaseShellItemEvents Events(this global::Xamarin.Forms.BaseShellItem item) => new RxBaseShellItemEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxBindableObjectEvents Events(this global::Xamarin.Forms.BindableObject item) => new RxBindableObjectEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxButtonEvents Events(this global::Xamarin.Forms.Button item) => new RxButtonEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxCarouselViewEvents Events(this global::Xamarin.Forms.CarouselView item) => new RxCarouselViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxCellEvents Events(this global::Xamarin.Forms.Cell item) => new RxCellEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxCheckBoxEvents Events(this global::Xamarin.Forms.CheckBox item) => new RxCheckBoxEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxChildGestureRecognizerEvents Events(this global::Xamarin.Forms.ChildGestureRecognizer item) => new RxChildGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxClickGestureRecognizerEvents Events(this global::Xamarin.Forms.ClickGestureRecognizer item) => new RxClickGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxColumnDefinitionEvents Events(this global::Xamarin.Forms.ColumnDefinition item) => new RxColumnDefinitionEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxCommandEvents Events(this global::Xamarin.Forms.Command item) => new RxCommandEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxDatePickerEvents Events(this global::Xamarin.Forms.DatePicker item) => new RxDatePickerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxDragGestureRecognizerEvents Events(this global::Xamarin.Forms.DragGestureRecognizer item) => new RxDragGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxDropGestureRecognizerEvents Events(this global::Xamarin.Forms.DropGestureRecognizer item) => new RxDropGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxEditorEvents Events(this global::Xamarin.Forms.Editor item) => new RxEditorEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxElementEvents Events(this global::Xamarin.Forms.Element item) => new RxElementEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxEntryEvents Events(this global::Xamarin.Forms.Entry item) => new RxEntryEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxEntryCellEvents Events(this global::Xamarin.Forms.EntryCell item) => new RxEntryCellEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxExpanderEvents Events(this global::Xamarin.Forms.Expander item) => new RxExpanderEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxICellControllerEvents Events(this global::Xamarin.Forms.ICellController item) => new RxICellControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIDefinitionEvents Events(this global::Xamarin.Forms.IDefinition item) => new RxIDefinitionEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIElementControllerEvents Events(this global::Xamarin.Forms.IElementController item) => new RxIElementControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxILayoutEvents Events(this global::Xamarin.Forms.ILayout item) => new RxILayoutEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIListProxyEvents Events(this global::Xamarin.Forms.IListProxy item) => new RxIListProxyEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIListViewControllerEvents Events(this global::Xamarin.Forms.IListViewController item) => new RxIListViewControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxImageButtonEvents Events(this global::Xamarin.Forms.ImageButton item) => new RxImageButtonEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIMasterDetailPageControllerEvents Events(this global::Xamarin.Forms.IMasterDetailPageController item) => new RxIMasterDetailPageControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxINavigationPageControllerEvents Events(this global::Xamarin.Forms.INavigationPageController item) => new RxINavigationPageControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxInputViewEvents Events(this global::Xamarin.Forms.InputView item) => new RxInputViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIOpenGlViewControllerEvents Events(this global::Xamarin.Forms.IOpenGlViewController item) => new RxIOpenGlViewControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIScrollViewControllerEvents Events(this global::Xamarin.Forms.IScrollViewController item) => new RxIScrollViewControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxISearchHandlerControllerEvents Events(this global::Xamarin.Forms.ISearchHandlerController item) => new RxISearchHandlerControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIShellContentControllerEvents Events(this global::Xamarin.Forms.IShellContentController item) => new RxIShellContentControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIShellControllerEvents Events(this global::Xamarin.Forms.IShellController item) => new RxIShellControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIShellItemControllerEvents Events(this global::Xamarin.Forms.IShellItemController item) => new RxIShellItemControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIShellSectionControllerEvents Events(this global::Xamarin.Forms.IShellSectionController item) => new RxIShellSectionControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxISwipeItemEvents Events(this global::Xamarin.Forms.ISwipeItem item) => new RxISwipeItemEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxITableViewControllerEvents Events(this global::Xamarin.Forms.ITableViewController item) => new RxITableViewControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxItemsViewEvents Events(this global::Xamarin.Forms.ItemsView item) => new RxItemsViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIVisualElementControllerEvents Events(this global::Xamarin.Forms.IVisualElementController item) => new RxIVisualElementControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIWebViewControllerEvents Events(this global::Xamarin.Forms.IWebViewController item) => new RxIWebViewControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxLayoutEvents Events(this global::Xamarin.Forms.Layout item) => new RxLayoutEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxListViewEvents Events(this global::Xamarin.Forms.ListView item) => new RxListViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxMarshalingObservableCollectionEvents Events(this global::Xamarin.Forms.MarshalingObservableCollection item) => new RxMarshalingObservableCollectionEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxMasterDetailPageEvents Events(this global::Xamarin.Forms.MasterDetailPage item) => new RxMasterDetailPageEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxMediaElementEvents Events(this global::Xamarin.Forms.MediaElement item) => new RxMediaElementEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxMenuItemEvents Events(this global::Xamarin.Forms.MenuItem item) => new RxMenuItemEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxNavigationPageEvents Events(this global::Xamarin.Forms.NavigationPage item) => new RxNavigationPageEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxOpenGLViewEvents Events(this global::Xamarin.Forms.OpenGLView item) => new RxOpenGLViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxPageEvents Events(this global::Xamarin.Forms.Page item) => new RxPageEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxPanGestureRecognizerEvents Events(this global::Xamarin.Forms.PanGestureRecognizer item) => new RxPanGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxPickerEvents Events(this global::Xamarin.Forms.Picker item) => new RxPickerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxPinchGestureRecognizerEvents Events(this global::Xamarin.Forms.PinchGestureRecognizer item) => new RxPinchGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxRadioButtonEvents Events(this global::Xamarin.Forms.RadioButton item) => new RxRadioButtonEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxRefreshViewEvents Events(this global::Xamarin.Forms.RefreshView item) => new RxRefreshViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxRowDefinitionEvents Events(this global::Xamarin.Forms.RowDefinition item) => new RxRowDefinitionEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxScrollViewEvents Events(this global::Xamarin.Forms.ScrollView item) => new RxScrollViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSearchBarEvents Events(this global::Xamarin.Forms.SearchBar item) => new RxSearchBarEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSearchHandlerEvents Events(this global::Xamarin.Forms.SearchHandler item) => new RxSearchHandlerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSelectableItemsViewEvents Events(this global::Xamarin.Forms.SelectableItemsView item) => new RxSelectableItemsViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxShellEvents Events(this global::Xamarin.Forms.Shell item) => new RxShellEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSliderEvents Events(this global::Xamarin.Forms.Slider item) => new RxSliderEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxStateTriggerBaseEvents Events(this global::Xamarin.Forms.StateTriggerBase item) => new RxStateTriggerBaseEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxStepperEvents Events(this global::Xamarin.Forms.Stepper item) => new RxStepperEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwipeGestureRecognizerEvents Events(this global::Xamarin.Forms.SwipeGestureRecognizer item) => new RxSwipeGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwipeItemEvents Events(this global::Xamarin.Forms.SwipeItem item) => new RxSwipeItemEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwipeItemsEvents Events(this global::Xamarin.Forms.SwipeItems item) => new RxSwipeItemsEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwipeItemViewEvents Events(this global::Xamarin.Forms.SwipeItemView item) => new RxSwipeItemViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwipeViewEvents Events(this global::Xamarin.Forms.SwipeView item) => new RxSwipeViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwitchEvents Events(this global::Xamarin.Forms.Switch item) => new RxSwitchEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwitchCellEvents Events(this global::Xamarin.Forms.SwitchCell item) => new RxSwitchCellEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxTableViewEvents Events(this global::Xamarin.Forms.TableView item) => new RxTableViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxTapGestureRecognizerEvents Events(this global::Xamarin.Forms.TapGestureRecognizer item) => new RxTapGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxToolbarItemEvents Events(this global::Xamarin.Forms.ToolbarItem item) => new RxToolbarItemEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxVisualElementEvents Events(this global::Xamarin.Forms.VisualElement item) => new RxVisualElementEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxWebViewEvents Events(this global::Xamarin.Forms.WebView item) => new RxWebViewEvents(item); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxApplicationEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.Application _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxApplicationEvents(global::Xamarin.Forms.Application data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ModalPopped => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ModalPoppedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ModalPoppedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ModalPoppingEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ModalPoppingEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ModalPushedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ModalPushedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ModalPushingEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ModalPushingEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Page>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Page e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Page>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Page e) => eventHandler(e); + return Handler; + }, x => _data.PageDisappearing += x, x => _data.PageDisappearing -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable RequestedThemeChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.AppThemeChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.AppThemeChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.RequestedThemeChanged += x, x => _data.RequestedThemeChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxBaseShellItemEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.BaseShellItem _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxBaseShellItemEvents(global::Xamarin.Forms.BaseShellItem data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Appearing => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Disappearing += x, x => _data.Disappearing -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxBindableObjectEvents + { + private readonly global::Xamarin.Forms.BindableObject _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxBindableObjectEvents(global::Xamarin.Forms.BindableObject data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable BindingContextChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.PropertyChangingEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PropertyChanging += x, x => _data.PropertyChanging -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxButtonEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Button _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxButtonEvents(global::Xamarin.Forms.Button data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Released += x, x => _data.Released -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxCarouselViewEvents : global::Xamarin.Forms.RxItemsViewEvents + { + private readonly global::Xamarin.Forms.CarouselView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxCarouselViewEvents(global::Xamarin.Forms.CarouselView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CurrentItemChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.CurrentItemChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.CurrentItemChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CurrentItemChanged += x, x => _data.CurrentItemChanged -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PositionChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.PositionChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.PositionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PositionChanged += x, x => _data.PositionChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxCellEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.Cell _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxCellEvents(global::Xamarin.Forms.Cell data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Appearing => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Tapped += x, x => _data.Tapped -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxCheckBoxEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.CheckBox _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxCheckBoxEvents(global::Xamarin.Forms.CheckBox data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CheckedChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.CheckedChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.CheckedChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CheckedChanged += x, x => _data.CheckedChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxChildGestureRecognizerEvents + { + private readonly global::Xamarin.Forms.ChildGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxChildGestureRecognizerEvents(global::Xamarin.Forms.ChildGestureRecognizer data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PropertyChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PropertyChanged += x, x => _data.PropertyChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxClickGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.ClickGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxClickGestureRecognizerEvents(global::Xamarin.Forms.ClickGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Clicked += x, x => _data.Clicked -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxColumnDefinitionEvents : global::Xamarin.Forms.RxBindableObjectEvents + { + private readonly global::Xamarin.Forms.ColumnDefinition _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxColumnDefinitionEvents(global::Xamarin.Forms.ColumnDefinition data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SizeChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SizeChanged += x, x => _data.SizeChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxCommandEvents + { + private readonly global::Xamarin.Forms.Command _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxCommandEvents(global::Xamarin.Forms.Command data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CanExecuteChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CanExecuteChanged += x, x => _data.CanExecuteChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxDatePickerEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.DatePicker _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxDatePickerEvents(global::Xamarin.Forms.DatePicker data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DateSelected => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.DateChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.DateChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DateSelected += x, x => _data.DateSelected -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxDragGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.DragGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxDragGestureRecognizerEvents(global::Xamarin.Forms.DragGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DragStarting => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.DragStartingEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.DragStartingEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DragStarting += x, x => _data.DragStarting -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DropCompleted => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.DropCompletedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.DropCompletedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DropCompleted += x, x => _data.DropCompleted -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxDropGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.DropGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxDropGestureRecognizerEvents(global::Xamarin.Forms.DropGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DragOver => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.DragEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.DragEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DragOver += x, x => _data.DragOver -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Drop => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.DropEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.DropEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Drop += x, x => _data.Drop -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxEditorEvents : global::Xamarin.Forms.RxInputViewEvents + { + private readonly global::Xamarin.Forms.Editor _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxEditorEvents(global::Xamarin.Forms.Editor data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Completed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Completed += x, x => _data.Completed -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxElementEvents : global::Xamarin.Forms.RxBindableObjectEvents + { + private readonly global::Xamarin.Forms.Element _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxElementEvents(global::Xamarin.Forms.Element data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ChildAdded => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ElementEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ElementEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ElementEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ElementEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ElementEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ElementEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ElementEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ElementEventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlatformSet += x, x => _data.PlatformSet -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxEntryEvents : global::Xamarin.Forms.RxInputViewEvents + { + private readonly global::Xamarin.Forms.Entry _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxEntryEvents(global::Xamarin.Forms.Entry data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Completed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Completed += x, x => _data.Completed -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxEntryCellEvents : global::Xamarin.Forms.RxCellEvents + { + private readonly global::Xamarin.Forms.EntryCell _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxEntryCellEvents(global::Xamarin.Forms.EntryCell data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Completed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Completed += x, x => _data.Completed -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxExpanderEvents : global::Xamarin.Forms.RxLayoutEvents + { + private readonly global::Xamarin.Forms.Expander _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxExpanderEvents(global::Xamarin.Forms.Expander data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Tapped => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Tapped += x, x => _data.Tapped -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxICellControllerEvents + { + private readonly global::Xamarin.Forms.ICellController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxICellControllerEvents(global::Xamarin.Forms.ICellController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ForceUpdateSizeRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ForceUpdateSizeRequested += x, x => _data.ForceUpdateSizeRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIDefinitionEvents + { + private readonly global::Xamarin.Forms.IDefinition _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIDefinitionEvents(global::Xamarin.Forms.IDefinition data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SizeChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SizeChanged += x, x => _data.SizeChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIElementControllerEvents + { + private readonly global::Xamarin.Forms.IElementController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIElementControllerEvents(global::Xamarin.Forms.IElementController data) + { + _data = data; + } + + /// + /// 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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlatformSet += x, x => _data.PlatformSet -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxILayoutEvents + { + private readonly global::Xamarin.Forms.ILayout _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxILayoutEvents(global::Xamarin.Forms.ILayout data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable LayoutChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.LayoutChanged += x, x => _data.LayoutChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIListProxyEvents + { + private readonly global::Xamarin.Forms.IListProxy _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIListProxyEvents(global::Xamarin.Forms.IListProxy data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CollectionChanged += x, x => _data.CollectionChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIListViewControllerEvents + { + private readonly global::Xamarin.Forms.IListViewController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIListViewControllerEvents(global::Xamarin.Forms.IListViewController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ScrollToRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ScrollToRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrollToRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxImageButtonEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.ImageButton _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxImageButtonEvents(global::Xamarin.Forms.ImageButton data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Released += x, x => _data.Released -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIMasterDetailPageControllerEvents + { + private readonly global::Xamarin.Forms.IMasterDetailPageController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIMasterDetailPageControllerEvents(global::Xamarin.Forms.IMasterDetailPageController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable BackButtonPressed => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.BackButtonPressedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.BackButtonPressedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.BackButtonPressed += x, x => _data.BackButtonPressed -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxINavigationPageControllerEvents + { + private readonly global::Xamarin.Forms.INavigationPageController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxINavigationPageControllerEvents(global::Xamarin.Forms.INavigationPageController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable InsertPageBeforeRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.RemovePageRequested += x, x => _data.RemovePageRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxInputViewEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.InputView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxInputViewEvents(global::Xamarin.Forms.InputView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable TextChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.TextChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.TextChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.TextChanged += x, x => _data.TextChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIOpenGlViewControllerEvents + { + private readonly global::Xamarin.Forms.IOpenGlViewController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIOpenGlViewControllerEvents(global::Xamarin.Forms.IOpenGlViewController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DisplayRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DisplayRequested += x, x => _data.DisplayRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIScrollViewControllerEvents + { + private readonly global::Xamarin.Forms.IScrollViewController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIScrollViewControllerEvents(global::Xamarin.Forms.IScrollViewController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ScrollToRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ScrollToRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrollToRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxISearchHandlerControllerEvents + { + private readonly global::Xamarin.Forms.ISearchHandlerController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxISearchHandlerControllerEvents(global::Xamarin.Forms.ISearchHandlerController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ListProxyChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ListProxyChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ListProxyChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ListProxyChanged += x, x => _data.ListProxyChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIShellContentControllerEvents + { + private readonly global::Xamarin.Forms.IShellContentController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIShellContentControllerEvents(global::Xamarin.Forms.IShellContentController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable IsPageVisibleChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.IsPageVisibleChanged += x, x => _data.IsPageVisibleChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIShellControllerEvents + { + private readonly global::Xamarin.Forms.IShellController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIShellControllerEvents(global::Xamarin.Forms.IShellController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ItemsCollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ItemsCollectionChanged += x, x => _data.ItemsCollectionChanged -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable StructureChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.StructureChanged += x, x => _data.StructureChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIShellItemControllerEvents + { + private readonly global::Xamarin.Forms.IShellItemController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIShellItemControllerEvents(global::Xamarin.Forms.IShellItemController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ItemsCollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ItemsCollectionChanged += x, x => _data.ItemsCollectionChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIShellSectionControllerEvents + { + private readonly global::Xamarin.Forms.IShellSectionController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIShellSectionControllerEvents(global::Xamarin.Forms.IShellSectionController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ItemsCollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ItemsCollectionChanged += x, x => _data.ItemsCollectionChanged -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable NavigationRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.NavigationRequested += x, x => _data.NavigationRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxISwipeItemEvents + { + private readonly global::Xamarin.Forms.ISwipeItem _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxISwipeItemEvents(global::Xamarin.Forms.ISwipeItem data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Invoked => global::System.Reactive.Linq.Observable.FromEvent, global::System.EventArgs>(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Invoked += x, x => _data.Invoked -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxITableViewControllerEvents + { + private readonly global::Xamarin.Forms.ITableViewController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxITableViewControllerEvents(global::Xamarin.Forms.ITableViewController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ModelChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ModelChanged += x, x => _data.ModelChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxItemsViewEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.ItemsView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxItemsViewEvents(global::Xamarin.Forms.ItemsView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable RemainingItemsThresholdReached => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.RemainingItemsThresholdReached += x, x => _data.RemainingItemsThresholdReached -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Scrolled => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ItemsViewScrolledEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ItemsViewScrolledEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ScrollToRequestEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrollToRequestEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIVisualElementControllerEvents + { + private readonly global::Xamarin.Forms.IVisualElementController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIVisualElementControllerEvents(global::Xamarin.Forms.IVisualElementController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable> BatchCommitted => global::System.Reactive.Linq.Observable.FromEvent>, global::Xamarin.Forms.Internals.EventArg>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EventArg e) => eventHandler(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.FromEvent, global::Xamarin.Forms.VisualElement.FocusRequestArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.VisualElement.FocusRequestArgs e) => eventHandler(e); + return Handler; + }, x => _data.FocusChangeRequested += x, x => _data.FocusChangeRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIWebViewControllerEvents + { + private readonly global::Xamarin.Forms.IWebViewController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIWebViewControllerEvents(global::Xamarin.Forms.IWebViewController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable EvalRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Internals.EvalRequested>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EvalRequested e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ReloadRequested += x, x => _data.ReloadRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxLayoutEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Layout _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxLayoutEvents(global::Xamarin.Forms.Layout data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable LayoutChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.LayoutChanged += x, x => _data.LayoutChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxListViewEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.ListView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxListViewEvents(global::Xamarin.Forms.ListView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ItemAppearing => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ItemVisibilityEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ItemVisibilityEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ItemVisibilityEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ItemVisibilityEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.SelectedItemChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SelectedItemChangedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ItemTappedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ItemTappedEventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Refreshing += x, x => _data.Refreshing -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Scrolled => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ScrolledEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrolledEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ScrollToRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrollToRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxMarshalingObservableCollectionEvents + { + private readonly global::Xamarin.Forms.MarshalingObservableCollection _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxMarshalingObservableCollectionEvents(global::Xamarin.Forms.MarshalingObservableCollection data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CollectionChanged += x, x => _data.CollectionChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxMasterDetailPageEvents : global::Xamarin.Forms.RxPageEvents + { + private readonly global::Xamarin.Forms.MasterDetailPage _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxMasterDetailPageEvents(global::Xamarin.Forms.MasterDetailPage data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable BackButtonPressed => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.BackButtonPressedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.BackButtonPressedEventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.IsPresentedChanged += x, x => _data.IsPresentedChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxMediaElementEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.MediaElement _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxMediaElementEvents(global::Xamarin.Forms.MediaElement data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable MediaEnded => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.MediaEnded += x, x => _data.MediaEnded -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable MediaFailed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.MediaFailed += x, x => _data.MediaFailed -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable MediaOpened => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.MediaOpened += x, x => _data.MediaOpened -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PositionRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PositionRequested += x, x => _data.PositionRequested -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SeekCompleted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SeekCompleted += x, x => _data.SeekCompleted -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SeekRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.SeekRequested>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SeekRequested e) => eventHandler(e); + return Handler; + }, x => _data.SeekRequested += x, x => _data.SeekRequested -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable StateRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.StateRequested>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.StateRequested e) => eventHandler(e); + return Handler; + }, x => _data.StateRequested += x, x => _data.StateRequested -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable VolumeRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.VolumeRequested += x, x => _data.VolumeRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxMenuItemEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.MenuItem _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxMenuItemEvents(global::Xamarin.Forms.MenuItem data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Clicked += x, x => _data.Clicked -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxNavigationPageEvents : global::Xamarin.Forms.RxPageEvents + { + private readonly global::Xamarin.Forms.NavigationPage _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxNavigationPageEvents(global::Xamarin.Forms.NavigationPage data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable InsertPageBeforeRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.NavigationEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.NavigationEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.NavigationEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.NavigationEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.NavigationEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.NavigationEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.RemovePageRequested += x, x => _data.RemovePageRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxOpenGLViewEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.OpenGLView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxOpenGLViewEvents(global::Xamarin.Forms.OpenGLView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DisplayRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DisplayRequested += x, x => _data.DisplayRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxPageEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Page _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxPageEvents(global::Xamarin.Forms.Page data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Appearing => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.LayoutChanged += x, x => _data.LayoutChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxPanGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.PanGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxPanGestureRecognizerEvents(global::Xamarin.Forms.PanGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PanUpdated => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.PanUpdatedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.PanUpdatedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PanUpdated += x, x => _data.PanUpdated -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxPickerEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Picker _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxPickerEvents(global::Xamarin.Forms.Picker data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SelectedIndexChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SelectedIndexChanged += x, x => _data.SelectedIndexChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxPinchGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.PinchGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxPinchGestureRecognizerEvents(global::Xamarin.Forms.PinchGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PinchUpdated => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.PinchGestureUpdatedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.PinchGestureUpdatedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PinchUpdated += x, x => _data.PinchUpdated -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxRadioButtonEvents : global::Xamarin.Forms.RxButtonEvents + { + private readonly global::Xamarin.Forms.RadioButton _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxRadioButtonEvents(global::Xamarin.Forms.RadioButton data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CheckedChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.CheckedChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.CheckedChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CheckedChanged += x, x => _data.CheckedChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxRefreshViewEvents : global::Xamarin.Forms.RxLayoutEvents + { + private readonly global::Xamarin.Forms.RefreshView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxRefreshViewEvents(global::Xamarin.Forms.RefreshView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Refreshing => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Refreshing += x, x => _data.Refreshing -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxRowDefinitionEvents : global::Xamarin.Forms.RxBindableObjectEvents + { + private readonly global::Xamarin.Forms.RowDefinition _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxRowDefinitionEvents(global::Xamarin.Forms.RowDefinition data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SizeChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SizeChanged += x, x => _data.SizeChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxScrollViewEvents : global::Xamarin.Forms.RxLayoutEvents + { + private readonly global::Xamarin.Forms.ScrollView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxScrollViewEvents(global::Xamarin.Forms.ScrollView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Scrolled => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ScrolledEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrolledEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ScrollToRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrollToRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSearchBarEvents : global::Xamarin.Forms.RxInputViewEvents + { + private readonly global::Xamarin.Forms.SearchBar _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSearchBarEvents(global::Xamarin.Forms.SearchBar data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SearchButtonPressed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SearchButtonPressed += x, x => _data.SearchButtonPressed -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSearchHandlerEvents : global::Xamarin.Forms.RxBindableObjectEvents + { + private readonly global::Xamarin.Forms.SearchHandler _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSearchHandlerEvents(global::Xamarin.Forms.SearchHandler data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable FocusChangeRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.VisualElement.FocusRequestArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.VisualElement.FocusRequestArgs e) => eventHandler(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.FromEvent, global::System.EventArgs>(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent, global::System.EventArgs>(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Unfocused += x, x => _data.Unfocused -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSelectableItemsViewEvents : global::Xamarin.Forms.RxItemsViewEvents + { + private readonly global::Xamarin.Forms.SelectableItemsView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSelectableItemsViewEvents(global::Xamarin.Forms.SelectableItemsView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SelectionChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.SelectionChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SelectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SelectionChanged += x, x => _data.SelectionChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxShellEvents : global::Xamarin.Forms.RxPageEvents + { + private readonly global::Xamarin.Forms.Shell _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxShellEvents(global::Xamarin.Forms.Shell data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Navigated => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ShellNavigatedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ShellNavigatedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ShellNavigatingEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ShellNavigatingEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Navigating += x, x => _data.Navigating -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSliderEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Slider _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSliderEvents(global::Xamarin.Forms.Slider data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DragCompleted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ValueChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ValueChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ValueChanged += x, x => _data.ValueChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxStateTriggerBaseEvents : global::Xamarin.Forms.RxBindableObjectEvents + { + private readonly global::Xamarin.Forms.StateTriggerBase _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxStateTriggerBaseEvents(global::Xamarin.Forms.StateTriggerBase data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable IsActiveChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.IsActiveChanged += x, x => _data.IsActiveChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxStepperEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Stepper _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxStepperEvents(global::Xamarin.Forms.Stepper data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ValueChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ValueChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ValueChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ValueChanged += x, x => _data.ValueChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwipeGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.SwipeGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwipeGestureRecognizerEvents(global::Xamarin.Forms.SwipeGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Swiped => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.SwipedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SwipedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Swiped += x, x => _data.Swiped -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwipeItemEvents : global::Xamarin.Forms.RxMenuItemEvents + { + private readonly global::Xamarin.Forms.SwipeItem _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwipeItemEvents(global::Xamarin.Forms.SwipeItem data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Invoked => global::System.Reactive.Linq.Observable.FromEvent, global::System.EventArgs>(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Invoked += x, x => _data.Invoked -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwipeItemsEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.SwipeItems _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwipeItemsEvents(global::Xamarin.Forms.SwipeItems data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CollectionChanged += x, x => _data.CollectionChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwipeItemViewEvents : global::Xamarin.Forms.RxLayoutEvents + { + private readonly global::Xamarin.Forms.SwipeItemView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwipeItemViewEvents(global::Xamarin.Forms.SwipeItemView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Invoked => global::System.Reactive.Linq.Observable.FromEvent, global::System.EventArgs>(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Invoked += x, x => _data.Invoked -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwipeViewEvents : global::Xamarin.Forms.RxLayoutEvents + { + private readonly global::Xamarin.Forms.SwipeView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwipeViewEvents(global::Xamarin.Forms.SwipeView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CloseRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CloseRequested += x, x => _data.CloseRequested -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable OpenRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.OpenSwipeEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.OpenSwipeEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.OpenRequested += x, x => _data.OpenRequested -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SwipeChanging => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.SwipeChangingEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SwipeChangingEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SwipeChanging += x, x => _data.SwipeChanging -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SwipeEnded => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.SwipeEndedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SwipeEndedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SwipeEnded += x, x => _data.SwipeEnded -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SwipeStarted => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.SwipeStartedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SwipeStartedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SwipeStarted += x, x => _data.SwipeStarted -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwitchEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Switch _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwitchEvents(global::Xamarin.Forms.Switch data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Toggled => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ToggledEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ToggledEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Toggled += x, x => _data.Toggled -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwitchCellEvents : global::Xamarin.Forms.RxCellEvents + { + private readonly global::Xamarin.Forms.SwitchCell _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwitchCellEvents(global::Xamarin.Forms.SwitchCell data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable OnChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ToggledEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ToggledEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.OnChanged += x, x => _data.OnChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxTableViewEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.TableView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxTableViewEvents(global::Xamarin.Forms.TableView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ModelChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ModelChanged += x, x => _data.ModelChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxTapGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.TapGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxTapGestureRecognizerEvents(global::Xamarin.Forms.TapGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Tapped => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Tapped += x, x => _data.Tapped -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxToolbarItemEvents : global::Xamarin.Forms.RxMenuItemEvents + { + private readonly global::Xamarin.Forms.ToolbarItem _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxToolbarItemEvents(global::Xamarin.Forms.ToolbarItem data): base(data) + { + _data = data; + } + + /// + /// 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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Activated += x, x => _data.Activated -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxVisualElementEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.VisualElement _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxVisualElementEvents(global::Xamarin.Forms.VisualElement data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable> BatchCommitted => global::System.Reactive.Linq.Observable.FromEvent>, global::Xamarin.Forms.Internals.EventArg>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EventArg e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.VisualElement.FocusRequestArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.VisualElement.FocusRequestArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.FocusEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.FocusEventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.FocusEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.FocusEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Unfocused += x, x => _data.Unfocused -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxWebViewEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.WebView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxWebViewEvents(global::Xamarin.Forms.WebView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable EvalRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Internals.EvalRequested>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EvalRequested e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.WebNavigatedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.WebNavigatedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.WebNavigatingEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.WebNavigatingEventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ReloadRequested += x, x => _data.ReloadRequested -= x); + } +} + +namespace Xamarin.Forms.Internals +{ + /// + /// A class that contains extension methods to wrap events for classes contained within the namespace. + /// + public static class EventExtensions + { + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxDeviceInfoEvents Events(this global::Xamarin.Forms.Internals.DeviceInfo item) => new RxDeviceInfoEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIResourceDictionaryEvents Events(this global::Xamarin.Forms.Internals.IResourceDictionary item) => new RxIResourceDictionaryEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxTableModelEvents Events(this global::Xamarin.Forms.Internals.TableModel item) => new RxTableModelEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxToolbarTrackerEvents Events(this global::Xamarin.Forms.Internals.ToolbarTracker item) => new RxToolbarTrackerEvents(item); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxDeviceInfoEvents + { + private readonly global::Xamarin.Forms.Internals.DeviceInfo _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxDeviceInfoEvents(global::Xamarin.Forms.Internals.DeviceInfo data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PropertyChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PropertyChanged += x, x => _data.PropertyChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIResourceDictionaryEvents + { + private readonly global::Xamarin.Forms.Internals.IResourceDictionary _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIResourceDictionaryEvents(global::Xamarin.Forms.Internals.IResourceDictionary data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ValuesChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Internals.ResourcesChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.ResourcesChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ValuesChanged += x, x => _data.ValuesChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxTableModelEvents + { + private readonly global::Xamarin.Forms.Internals.TableModel _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxTableModelEvents(global::Xamarin.Forms.Internals.TableModel data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable> ItemLongPressed => global::System.Reactive.Linq.Observable.FromEvent>, global::Xamarin.Forms.Internals.EventArg>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EventArg e) => eventHandler(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.FromEvent>, global::Xamarin.Forms.Internals.EventArg>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EventArg e) => eventHandler(e); + return Handler; + }, x => _data.ItemSelected += x, x => _data.ItemSelected -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxToolbarTrackerEvents + { + private readonly global::Xamarin.Forms.Internals.ToolbarTracker _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxToolbarTrackerEvents(global::Xamarin.Forms.Internals.ToolbarTracker data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CollectionChanged += x, x => _data.CollectionChanged -= x); + } +} + +namespace Xamarin.Forms.PlatformConfiguration.TizenSpecific +{ + /// + /// A class that contains extension methods to wrap events for classes contained within the namespace. + /// + public static class EventExtensions + { + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIMediaPlayerEvents Events(this global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.IMediaPlayer item) => new RxIMediaPlayerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIPlatformMediaPlayerEvents Events(this global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.IPlatformMediaPlayer item) => new RxIPlatformMediaPlayerEvents(item); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIMediaPlayerEvents + { + private readonly global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.IMediaPlayer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIMediaPlayerEvents(global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.IMediaPlayer data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackPaused => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackPaused += x, x => _data.PlaybackPaused -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackStarted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackStarted += x, x => _data.PlaybackStarted -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackStopped => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackStopped += x, x => _data.PlaybackStopped -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIPlatformMediaPlayerEvents + { + private readonly global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.IPlatformMediaPlayer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIPlatformMediaPlayerEvents(global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.IPlatformMediaPlayer data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable BufferingProgressUpdated => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.BufferingProgressUpdatedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.BufferingProgressUpdatedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.BufferingProgressUpdated += x, x => _data.BufferingProgressUpdated -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ErrorOccurred => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackCompleted += x, x => _data.PlaybackCompleted -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackPaused => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackPaused += x, x => _data.PlaybackPaused -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackStarted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackStarted += x, x => _data.PlaybackStarted -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackStopped => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackStopped += x, x => _data.PlaybackStopped -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable UpdateStreamInfo => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.UpdateStreamInfo += x, x => _data.UpdateStreamInfo -= x); + } +} \ No newline at end of file diff --git a/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Forms.4.8.0.1821.tizen40.approved.txt b/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Forms.4.8.0.1821.tizen40.approved.txt new file mode 100644 index 0000000..9fb140f --- /dev/null +++ b/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Forms.4.8.0.1821.tizen40.approved.txt @@ -0,0 +1,4766 @@ + +using global::System; +using global::System.Reactive; +using global::System.Reactive.Linq; +using global::System.Reactive.Subjects; +using global::Pharmacist.Common; + +namespace ElmSharp +{ + /// + /// A class that contains extension methods to wrap events for classes contained within the namespace. + /// + public static class EventExtensions + { + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxEntryEvents Events(this global::ElmSharp.Entry item) => new RxEntryEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxEvasObjectEvents Events(this global::ElmSharp.EvasObject item) => new RxEvasObjectEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxGenListEvents Events(this global::ElmSharp.GenList item) => new RxGenListEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIndexEvents Events(this global::ElmSharp.Index item) => new RxIndexEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxLayoutEvents Events(this global::ElmSharp.Layout item) => new RxLayoutEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxPopupEvents Events(this global::ElmSharp.Popup item) => new RxPopupEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSpinnerEvents Events(this global::ElmSharp.Spinner item) => new RxSpinnerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxWidgetEvents Events(this global::ElmSharp.Widget item) => new RxWidgetEvents(item); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxEntryEvents : global::ElmSharp.RxLayoutEvents + { + private readonly global::ElmSharp.Entry _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxEntryEvents(global::ElmSharp.Entry data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Activated => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CursorChanged += x, x => _data.CursorChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxEvasObjectEvents + { + private readonly global::ElmSharp.EvasObject _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxEvasObjectEvents(global::ElmSharp.EvasObject data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable BackButtonPressed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent, global::ElmSharp.EvasKeyEventArgs>(eventHandler => + { + void Handler(object sender, global::ElmSharp.EvasKeyEventArgs e) => eventHandler(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.FromEvent, global::ElmSharp.EvasKeyEventArgs>(eventHandler => + { + void Handler(object sender, global::ElmSharp.EvasKeyEventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Resized += x, x => _data.Resized -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxGenListEvents : global::ElmSharp.RxLayoutEvents + { + private readonly global::ElmSharp.GenList _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxGenListEvents(global::ElmSharp.GenList data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Changed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent, global::ElmSharp.GenListItemEventArgs>(eventHandler => + { + void Handler(object sender, global::ElmSharp.GenListItemEventArgs e) => eventHandler(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.FromEvent, global::ElmSharp.GenListItemEventArgs>(eventHandler => + { + void Handler(object sender, global::ElmSharp.GenListItemEventArgs e) => eventHandler(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.FromEvent, global::ElmSharp.GenListItemEventArgs>(eventHandler => + { + void Handler(object sender, global::ElmSharp.GenListItemEventArgs e) => eventHandler(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.FromEvent, global::ElmSharp.GenListItemEventArgs>(eventHandler => + { + void Handler(object sender, global::ElmSharp.GenListItemEventArgs e) => eventHandler(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.FromEvent, global::ElmSharp.GenListItemEventArgs>(eventHandler => + { + void Handler(object sender, global::ElmSharp.GenListItemEventArgs e) => eventHandler(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.FromEvent, global::ElmSharp.GenListItemEventArgs>(eventHandler => + { + void Handler(object sender, global::ElmSharp.GenListItemEventArgs e) => eventHandler(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.FromEvent, global::ElmSharp.GenListItemEventArgs>(eventHandler => + { + void Handler(object sender, global::ElmSharp.GenListItemEventArgs e) => eventHandler(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.FromEvent, global::ElmSharp.GenListItemEventArgs>(eventHandler => + { + void Handler(object sender, global::ElmSharp.GenListItemEventArgs e) => eventHandler(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.FromEvent, global::ElmSharp.GenListItemEventArgs>(eventHandler => + { + void Handler(object sender, global::ElmSharp.GenListItemEventArgs e) => eventHandler(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.FromEvent, global::ElmSharp.GenListItemEventArgs>(eventHandler => + { + void Handler(object sender, global::ElmSharp.GenListItemEventArgs e) => eventHandler(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.FromEvent, global::ElmSharp.GenListItemEventArgs>(eventHandler => + { + void Handler(object sender, global::ElmSharp.GenListItemEventArgs e) => eventHandler(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.FromEvent, global::ElmSharp.GenListItemEventArgs>(eventHandler => + { + void Handler(object sender, global::ElmSharp.GenListItemEventArgs e) => eventHandler(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.FromEvent, global::ElmSharp.GenListItemEventArgs>(eventHandler => + { + void Handler(object sender, global::ElmSharp.GenListItemEventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ScrollAnimationStopped += x, x => _data.ScrollAnimationStopped -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIndexEvents : global::ElmSharp.RxLayoutEvents + { + private readonly global::ElmSharp.Index _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIndexEvents(global::ElmSharp.Index data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Changed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Changed += x, x => _data.Changed -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxLayoutEvents : global::ElmSharp.RxWidgetEvents + { + private readonly global::ElmSharp.Layout _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxLayoutEvents(global::ElmSharp.Layout data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable LanguageChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ThemeChanged += x, x => _data.ThemeChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxPopupEvents : global::ElmSharp.RxLayoutEvents + { + private readonly global::ElmSharp.Popup _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxPopupEvents(global::ElmSharp.Popup data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Dismissed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.TimedOut += x, x => _data.TimedOut -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSpinnerEvents : global::ElmSharp.RxLayoutEvents + { + private readonly global::ElmSharp.Spinner _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSpinnerEvents(global::ElmSharp.Spinner data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DelayedValueChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ValueChanged += x, x => _data.ValueChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxWidgetEvents : global::ElmSharp.RxEvasObjectEvents + { + private readonly global::ElmSharp.Widget _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxWidgetEvents(global::ElmSharp.Widget data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Focused => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Unfocused += x, x => _data.Unfocused -= x); + } +} + +namespace Xamarin.Forms +{ + /// + /// A class that contains extension methods to wrap events for classes contained within the namespace. + /// + public static class EventExtensions + { + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxApplicationEvents Events(this global::Xamarin.Forms.Application item) => new RxApplicationEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxBaseShellItemEvents Events(this global::Xamarin.Forms.BaseShellItem item) => new RxBaseShellItemEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxBindableObjectEvents Events(this global::Xamarin.Forms.BindableObject item) => new RxBindableObjectEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxButtonEvents Events(this global::Xamarin.Forms.Button item) => new RxButtonEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxCarouselViewEvents Events(this global::Xamarin.Forms.CarouselView item) => new RxCarouselViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxCellEvents Events(this global::Xamarin.Forms.Cell item) => new RxCellEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxCheckBoxEvents Events(this global::Xamarin.Forms.CheckBox item) => new RxCheckBoxEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxChildGestureRecognizerEvents Events(this global::Xamarin.Forms.ChildGestureRecognizer item) => new RxChildGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxClickGestureRecognizerEvents Events(this global::Xamarin.Forms.ClickGestureRecognizer item) => new RxClickGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxColumnDefinitionEvents Events(this global::Xamarin.Forms.ColumnDefinition item) => new RxColumnDefinitionEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxCommandEvents Events(this global::Xamarin.Forms.Command item) => new RxCommandEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxDatePickerEvents Events(this global::Xamarin.Forms.DatePicker item) => new RxDatePickerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxDragGestureRecognizerEvents Events(this global::Xamarin.Forms.DragGestureRecognizer item) => new RxDragGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxDropGestureRecognizerEvents Events(this global::Xamarin.Forms.DropGestureRecognizer item) => new RxDropGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxEditorEvents Events(this global::Xamarin.Forms.Editor item) => new RxEditorEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxElementEvents Events(this global::Xamarin.Forms.Element item) => new RxElementEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxEntryEvents Events(this global::Xamarin.Forms.Entry item) => new RxEntryEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxEntryCellEvents Events(this global::Xamarin.Forms.EntryCell item) => new RxEntryCellEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxExpanderEvents Events(this global::Xamarin.Forms.Expander item) => new RxExpanderEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxICellControllerEvents Events(this global::Xamarin.Forms.ICellController item) => new RxICellControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIDefinitionEvents Events(this global::Xamarin.Forms.IDefinition item) => new RxIDefinitionEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIElementControllerEvents Events(this global::Xamarin.Forms.IElementController item) => new RxIElementControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxILayoutEvents Events(this global::Xamarin.Forms.ILayout item) => new RxILayoutEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIListProxyEvents Events(this global::Xamarin.Forms.IListProxy item) => new RxIListProxyEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIListViewControllerEvents Events(this global::Xamarin.Forms.IListViewController item) => new RxIListViewControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxImageButtonEvents Events(this global::Xamarin.Forms.ImageButton item) => new RxImageButtonEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIMasterDetailPageControllerEvents Events(this global::Xamarin.Forms.IMasterDetailPageController item) => new RxIMasterDetailPageControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxINavigationPageControllerEvents Events(this global::Xamarin.Forms.INavigationPageController item) => new RxINavigationPageControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxInputViewEvents Events(this global::Xamarin.Forms.InputView item) => new RxInputViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIOpenGlViewControllerEvents Events(this global::Xamarin.Forms.IOpenGlViewController item) => new RxIOpenGlViewControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIScrollViewControllerEvents Events(this global::Xamarin.Forms.IScrollViewController item) => new RxIScrollViewControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxISearchHandlerControllerEvents Events(this global::Xamarin.Forms.ISearchHandlerController item) => new RxISearchHandlerControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIShellContentControllerEvents Events(this global::Xamarin.Forms.IShellContentController item) => new RxIShellContentControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIShellControllerEvents Events(this global::Xamarin.Forms.IShellController item) => new RxIShellControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIShellItemControllerEvents Events(this global::Xamarin.Forms.IShellItemController item) => new RxIShellItemControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIShellSectionControllerEvents Events(this global::Xamarin.Forms.IShellSectionController item) => new RxIShellSectionControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxISwipeItemEvents Events(this global::Xamarin.Forms.ISwipeItem item) => new RxISwipeItemEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxITableViewControllerEvents Events(this global::Xamarin.Forms.ITableViewController item) => new RxITableViewControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxItemsViewEvents Events(this global::Xamarin.Forms.ItemsView item) => new RxItemsViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIVisualElementControllerEvents Events(this global::Xamarin.Forms.IVisualElementController item) => new RxIVisualElementControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIWebViewControllerEvents Events(this global::Xamarin.Forms.IWebViewController item) => new RxIWebViewControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxLayoutEvents Events(this global::Xamarin.Forms.Layout item) => new RxLayoutEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxListViewEvents Events(this global::Xamarin.Forms.ListView item) => new RxListViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxMarshalingObservableCollectionEvents Events(this global::Xamarin.Forms.MarshalingObservableCollection item) => new RxMarshalingObservableCollectionEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxMasterDetailPageEvents Events(this global::Xamarin.Forms.MasterDetailPage item) => new RxMasterDetailPageEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxMediaElementEvents Events(this global::Xamarin.Forms.MediaElement item) => new RxMediaElementEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxMenuItemEvents Events(this global::Xamarin.Forms.MenuItem item) => new RxMenuItemEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxNavigationPageEvents Events(this global::Xamarin.Forms.NavigationPage item) => new RxNavigationPageEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxOpenGLViewEvents Events(this global::Xamarin.Forms.OpenGLView item) => new RxOpenGLViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxPageEvents Events(this global::Xamarin.Forms.Page item) => new RxPageEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxPanGestureRecognizerEvents Events(this global::Xamarin.Forms.PanGestureRecognizer item) => new RxPanGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxPickerEvents Events(this global::Xamarin.Forms.Picker item) => new RxPickerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxPinchGestureRecognizerEvents Events(this global::Xamarin.Forms.PinchGestureRecognizer item) => new RxPinchGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxRadioButtonEvents Events(this global::Xamarin.Forms.RadioButton item) => new RxRadioButtonEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxRefreshViewEvents Events(this global::Xamarin.Forms.RefreshView item) => new RxRefreshViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxRowDefinitionEvents Events(this global::Xamarin.Forms.RowDefinition item) => new RxRowDefinitionEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxScrollViewEvents Events(this global::Xamarin.Forms.ScrollView item) => new RxScrollViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSearchBarEvents Events(this global::Xamarin.Forms.SearchBar item) => new RxSearchBarEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSearchHandlerEvents Events(this global::Xamarin.Forms.SearchHandler item) => new RxSearchHandlerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSelectableItemsViewEvents Events(this global::Xamarin.Forms.SelectableItemsView item) => new RxSelectableItemsViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxShellEvents Events(this global::Xamarin.Forms.Shell item) => new RxShellEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSliderEvents Events(this global::Xamarin.Forms.Slider item) => new RxSliderEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxStateTriggerBaseEvents Events(this global::Xamarin.Forms.StateTriggerBase item) => new RxStateTriggerBaseEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxStepperEvents Events(this global::Xamarin.Forms.Stepper item) => new RxStepperEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwipeGestureRecognizerEvents Events(this global::Xamarin.Forms.SwipeGestureRecognizer item) => new RxSwipeGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwipeItemEvents Events(this global::Xamarin.Forms.SwipeItem item) => new RxSwipeItemEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwipeItemsEvents Events(this global::Xamarin.Forms.SwipeItems item) => new RxSwipeItemsEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwipeItemViewEvents Events(this global::Xamarin.Forms.SwipeItemView item) => new RxSwipeItemViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwipeViewEvents Events(this global::Xamarin.Forms.SwipeView item) => new RxSwipeViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwitchEvents Events(this global::Xamarin.Forms.Switch item) => new RxSwitchEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwitchCellEvents Events(this global::Xamarin.Forms.SwitchCell item) => new RxSwitchCellEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxTableViewEvents Events(this global::Xamarin.Forms.TableView item) => new RxTableViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxTapGestureRecognizerEvents Events(this global::Xamarin.Forms.TapGestureRecognizer item) => new RxTapGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxToolbarItemEvents Events(this global::Xamarin.Forms.ToolbarItem item) => new RxToolbarItemEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxVisualElementEvents Events(this global::Xamarin.Forms.VisualElement item) => new RxVisualElementEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxWebViewEvents Events(this global::Xamarin.Forms.WebView item) => new RxWebViewEvents(item); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxApplicationEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.Application _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxApplicationEvents(global::Xamarin.Forms.Application data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ModalPopped => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ModalPoppedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ModalPoppedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ModalPoppingEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ModalPoppingEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ModalPushedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ModalPushedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ModalPushingEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ModalPushingEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Page>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Page e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Page>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Page e) => eventHandler(e); + return Handler; + }, x => _data.PageDisappearing += x, x => _data.PageDisappearing -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable RequestedThemeChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.AppThemeChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.AppThemeChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.RequestedThemeChanged += x, x => _data.RequestedThemeChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxBaseShellItemEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.BaseShellItem _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxBaseShellItemEvents(global::Xamarin.Forms.BaseShellItem data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Appearing => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Disappearing += x, x => _data.Disappearing -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxBindableObjectEvents + { + private readonly global::Xamarin.Forms.BindableObject _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxBindableObjectEvents(global::Xamarin.Forms.BindableObject data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable BindingContextChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.PropertyChangingEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PropertyChanging += x, x => _data.PropertyChanging -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxButtonEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Button _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxButtonEvents(global::Xamarin.Forms.Button data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Released += x, x => _data.Released -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxCarouselViewEvents : global::Xamarin.Forms.RxItemsViewEvents + { + private readonly global::Xamarin.Forms.CarouselView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxCarouselViewEvents(global::Xamarin.Forms.CarouselView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CurrentItemChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.CurrentItemChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.CurrentItemChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CurrentItemChanged += x, x => _data.CurrentItemChanged -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PositionChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.PositionChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.PositionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PositionChanged += x, x => _data.PositionChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxCellEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.Cell _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxCellEvents(global::Xamarin.Forms.Cell data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Appearing => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Tapped += x, x => _data.Tapped -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxCheckBoxEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.CheckBox _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxCheckBoxEvents(global::Xamarin.Forms.CheckBox data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CheckedChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.CheckedChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.CheckedChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CheckedChanged += x, x => _data.CheckedChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxChildGestureRecognizerEvents + { + private readonly global::Xamarin.Forms.ChildGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxChildGestureRecognizerEvents(global::Xamarin.Forms.ChildGestureRecognizer data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PropertyChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PropertyChanged += x, x => _data.PropertyChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxClickGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.ClickGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxClickGestureRecognizerEvents(global::Xamarin.Forms.ClickGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Clicked += x, x => _data.Clicked -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxColumnDefinitionEvents : global::Xamarin.Forms.RxBindableObjectEvents + { + private readonly global::Xamarin.Forms.ColumnDefinition _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxColumnDefinitionEvents(global::Xamarin.Forms.ColumnDefinition data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SizeChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SizeChanged += x, x => _data.SizeChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxCommandEvents + { + private readonly global::Xamarin.Forms.Command _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxCommandEvents(global::Xamarin.Forms.Command data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CanExecuteChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CanExecuteChanged += x, x => _data.CanExecuteChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxDatePickerEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.DatePicker _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxDatePickerEvents(global::Xamarin.Forms.DatePicker data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DateSelected => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.DateChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.DateChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DateSelected += x, x => _data.DateSelected -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxDragGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.DragGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxDragGestureRecognizerEvents(global::Xamarin.Forms.DragGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DragStarting => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.DragStartingEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.DragStartingEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DragStarting += x, x => _data.DragStarting -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DropCompleted => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.DropCompletedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.DropCompletedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DropCompleted += x, x => _data.DropCompleted -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxDropGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.DropGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxDropGestureRecognizerEvents(global::Xamarin.Forms.DropGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DragOver => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.DragEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.DragEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DragOver += x, x => _data.DragOver -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Drop => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.DropEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.DropEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Drop += x, x => _data.Drop -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxEditorEvents : global::Xamarin.Forms.RxInputViewEvents + { + private readonly global::Xamarin.Forms.Editor _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxEditorEvents(global::Xamarin.Forms.Editor data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Completed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Completed += x, x => _data.Completed -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxElementEvents : global::Xamarin.Forms.RxBindableObjectEvents + { + private readonly global::Xamarin.Forms.Element _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxElementEvents(global::Xamarin.Forms.Element data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ChildAdded => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ElementEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ElementEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ElementEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ElementEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ElementEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ElementEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ElementEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ElementEventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlatformSet += x, x => _data.PlatformSet -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxEntryEvents : global::Xamarin.Forms.RxInputViewEvents + { + private readonly global::Xamarin.Forms.Entry _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxEntryEvents(global::Xamarin.Forms.Entry data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Completed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Completed += x, x => _data.Completed -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxEntryCellEvents : global::Xamarin.Forms.RxCellEvents + { + private readonly global::Xamarin.Forms.EntryCell _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxEntryCellEvents(global::Xamarin.Forms.EntryCell data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Completed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Completed += x, x => _data.Completed -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxExpanderEvents : global::Xamarin.Forms.RxLayoutEvents + { + private readonly global::Xamarin.Forms.Expander _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxExpanderEvents(global::Xamarin.Forms.Expander data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Tapped => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Tapped += x, x => _data.Tapped -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxICellControllerEvents + { + private readonly global::Xamarin.Forms.ICellController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxICellControllerEvents(global::Xamarin.Forms.ICellController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ForceUpdateSizeRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ForceUpdateSizeRequested += x, x => _data.ForceUpdateSizeRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIDefinitionEvents + { + private readonly global::Xamarin.Forms.IDefinition _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIDefinitionEvents(global::Xamarin.Forms.IDefinition data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SizeChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SizeChanged += x, x => _data.SizeChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIElementControllerEvents + { + private readonly global::Xamarin.Forms.IElementController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIElementControllerEvents(global::Xamarin.Forms.IElementController data) + { + _data = data; + } + + /// + /// 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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlatformSet += x, x => _data.PlatformSet -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxILayoutEvents + { + private readonly global::Xamarin.Forms.ILayout _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxILayoutEvents(global::Xamarin.Forms.ILayout data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable LayoutChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.LayoutChanged += x, x => _data.LayoutChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIListProxyEvents + { + private readonly global::Xamarin.Forms.IListProxy _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIListProxyEvents(global::Xamarin.Forms.IListProxy data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CollectionChanged += x, x => _data.CollectionChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIListViewControllerEvents + { + private readonly global::Xamarin.Forms.IListViewController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIListViewControllerEvents(global::Xamarin.Forms.IListViewController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ScrollToRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ScrollToRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrollToRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxImageButtonEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.ImageButton _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxImageButtonEvents(global::Xamarin.Forms.ImageButton data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Released += x, x => _data.Released -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIMasterDetailPageControllerEvents + { + private readonly global::Xamarin.Forms.IMasterDetailPageController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIMasterDetailPageControllerEvents(global::Xamarin.Forms.IMasterDetailPageController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable BackButtonPressed => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.BackButtonPressedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.BackButtonPressedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.BackButtonPressed += x, x => _data.BackButtonPressed -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxINavigationPageControllerEvents + { + private readonly global::Xamarin.Forms.INavigationPageController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxINavigationPageControllerEvents(global::Xamarin.Forms.INavigationPageController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable InsertPageBeforeRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.RemovePageRequested += x, x => _data.RemovePageRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxInputViewEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.InputView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxInputViewEvents(global::Xamarin.Forms.InputView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable TextChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.TextChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.TextChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.TextChanged += x, x => _data.TextChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIOpenGlViewControllerEvents + { + private readonly global::Xamarin.Forms.IOpenGlViewController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIOpenGlViewControllerEvents(global::Xamarin.Forms.IOpenGlViewController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DisplayRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DisplayRequested += x, x => _data.DisplayRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIScrollViewControllerEvents + { + private readonly global::Xamarin.Forms.IScrollViewController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIScrollViewControllerEvents(global::Xamarin.Forms.IScrollViewController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ScrollToRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ScrollToRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrollToRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxISearchHandlerControllerEvents + { + private readonly global::Xamarin.Forms.ISearchHandlerController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxISearchHandlerControllerEvents(global::Xamarin.Forms.ISearchHandlerController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ListProxyChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ListProxyChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ListProxyChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ListProxyChanged += x, x => _data.ListProxyChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIShellContentControllerEvents + { + private readonly global::Xamarin.Forms.IShellContentController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIShellContentControllerEvents(global::Xamarin.Forms.IShellContentController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable IsPageVisibleChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.IsPageVisibleChanged += x, x => _data.IsPageVisibleChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIShellControllerEvents + { + private readonly global::Xamarin.Forms.IShellController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIShellControllerEvents(global::Xamarin.Forms.IShellController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ItemsCollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ItemsCollectionChanged += x, x => _data.ItemsCollectionChanged -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable StructureChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.StructureChanged += x, x => _data.StructureChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIShellItemControllerEvents + { + private readonly global::Xamarin.Forms.IShellItemController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIShellItemControllerEvents(global::Xamarin.Forms.IShellItemController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ItemsCollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ItemsCollectionChanged += x, x => _data.ItemsCollectionChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIShellSectionControllerEvents + { + private readonly global::Xamarin.Forms.IShellSectionController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIShellSectionControllerEvents(global::Xamarin.Forms.IShellSectionController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ItemsCollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ItemsCollectionChanged += x, x => _data.ItemsCollectionChanged -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable NavigationRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.NavigationRequested += x, x => _data.NavigationRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxISwipeItemEvents + { + private readonly global::Xamarin.Forms.ISwipeItem _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxISwipeItemEvents(global::Xamarin.Forms.ISwipeItem data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Invoked => global::System.Reactive.Linq.Observable.FromEvent, global::System.EventArgs>(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Invoked += x, x => _data.Invoked -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxITableViewControllerEvents + { + private readonly global::Xamarin.Forms.ITableViewController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxITableViewControllerEvents(global::Xamarin.Forms.ITableViewController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ModelChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ModelChanged += x, x => _data.ModelChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxItemsViewEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.ItemsView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxItemsViewEvents(global::Xamarin.Forms.ItemsView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable RemainingItemsThresholdReached => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.RemainingItemsThresholdReached += x, x => _data.RemainingItemsThresholdReached -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Scrolled => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ItemsViewScrolledEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ItemsViewScrolledEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ScrollToRequestEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrollToRequestEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIVisualElementControllerEvents + { + private readonly global::Xamarin.Forms.IVisualElementController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIVisualElementControllerEvents(global::Xamarin.Forms.IVisualElementController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable> BatchCommitted => global::System.Reactive.Linq.Observable.FromEvent>, global::Xamarin.Forms.Internals.EventArg>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EventArg e) => eventHandler(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.FromEvent, global::Xamarin.Forms.VisualElement.FocusRequestArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.VisualElement.FocusRequestArgs e) => eventHandler(e); + return Handler; + }, x => _data.FocusChangeRequested += x, x => _data.FocusChangeRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIWebViewControllerEvents + { + private readonly global::Xamarin.Forms.IWebViewController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIWebViewControllerEvents(global::Xamarin.Forms.IWebViewController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable EvalRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Internals.EvalRequested>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EvalRequested e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ReloadRequested += x, x => _data.ReloadRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxLayoutEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Layout _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxLayoutEvents(global::Xamarin.Forms.Layout data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable LayoutChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.LayoutChanged += x, x => _data.LayoutChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxListViewEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.ListView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxListViewEvents(global::Xamarin.Forms.ListView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ItemAppearing => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ItemVisibilityEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ItemVisibilityEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ItemVisibilityEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ItemVisibilityEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.SelectedItemChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SelectedItemChangedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ItemTappedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ItemTappedEventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Refreshing += x, x => _data.Refreshing -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Scrolled => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ScrolledEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrolledEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ScrollToRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrollToRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxMarshalingObservableCollectionEvents + { + private readonly global::Xamarin.Forms.MarshalingObservableCollection _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxMarshalingObservableCollectionEvents(global::Xamarin.Forms.MarshalingObservableCollection data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CollectionChanged += x, x => _data.CollectionChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxMasterDetailPageEvents : global::Xamarin.Forms.RxPageEvents + { + private readonly global::Xamarin.Forms.MasterDetailPage _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxMasterDetailPageEvents(global::Xamarin.Forms.MasterDetailPage data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable BackButtonPressed => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.BackButtonPressedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.BackButtonPressedEventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.IsPresentedChanged += x, x => _data.IsPresentedChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxMediaElementEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.MediaElement _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxMediaElementEvents(global::Xamarin.Forms.MediaElement data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable MediaEnded => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.MediaEnded += x, x => _data.MediaEnded -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable MediaFailed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.MediaFailed += x, x => _data.MediaFailed -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable MediaOpened => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.MediaOpened += x, x => _data.MediaOpened -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PositionRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PositionRequested += x, x => _data.PositionRequested -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SeekCompleted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SeekCompleted += x, x => _data.SeekCompleted -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SeekRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.SeekRequested>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SeekRequested e) => eventHandler(e); + return Handler; + }, x => _data.SeekRequested += x, x => _data.SeekRequested -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable StateRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.StateRequested>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.StateRequested e) => eventHandler(e); + return Handler; + }, x => _data.StateRequested += x, x => _data.StateRequested -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable VolumeRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.VolumeRequested += x, x => _data.VolumeRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxMenuItemEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.MenuItem _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxMenuItemEvents(global::Xamarin.Forms.MenuItem data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Clicked += x, x => _data.Clicked -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxNavigationPageEvents : global::Xamarin.Forms.RxPageEvents + { + private readonly global::Xamarin.Forms.NavigationPage _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxNavigationPageEvents(global::Xamarin.Forms.NavigationPage data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable InsertPageBeforeRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.NavigationEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.NavigationEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.NavigationEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.NavigationEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.NavigationEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.NavigationEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.RemovePageRequested += x, x => _data.RemovePageRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxOpenGLViewEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.OpenGLView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxOpenGLViewEvents(global::Xamarin.Forms.OpenGLView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DisplayRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DisplayRequested += x, x => _data.DisplayRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxPageEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Page _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxPageEvents(global::Xamarin.Forms.Page data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Appearing => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.LayoutChanged += x, x => _data.LayoutChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxPanGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.PanGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxPanGestureRecognizerEvents(global::Xamarin.Forms.PanGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PanUpdated => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.PanUpdatedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.PanUpdatedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PanUpdated += x, x => _data.PanUpdated -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxPickerEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Picker _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxPickerEvents(global::Xamarin.Forms.Picker data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SelectedIndexChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SelectedIndexChanged += x, x => _data.SelectedIndexChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxPinchGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.PinchGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxPinchGestureRecognizerEvents(global::Xamarin.Forms.PinchGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PinchUpdated => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.PinchGestureUpdatedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.PinchGestureUpdatedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PinchUpdated += x, x => _data.PinchUpdated -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxRadioButtonEvents : global::Xamarin.Forms.RxButtonEvents + { + private readonly global::Xamarin.Forms.RadioButton _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxRadioButtonEvents(global::Xamarin.Forms.RadioButton data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CheckedChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.CheckedChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.CheckedChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CheckedChanged += x, x => _data.CheckedChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxRefreshViewEvents : global::Xamarin.Forms.RxLayoutEvents + { + private readonly global::Xamarin.Forms.RefreshView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxRefreshViewEvents(global::Xamarin.Forms.RefreshView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Refreshing => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Refreshing += x, x => _data.Refreshing -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxRowDefinitionEvents : global::Xamarin.Forms.RxBindableObjectEvents + { + private readonly global::Xamarin.Forms.RowDefinition _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxRowDefinitionEvents(global::Xamarin.Forms.RowDefinition data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SizeChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SizeChanged += x, x => _data.SizeChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxScrollViewEvents : global::Xamarin.Forms.RxLayoutEvents + { + private readonly global::Xamarin.Forms.ScrollView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxScrollViewEvents(global::Xamarin.Forms.ScrollView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Scrolled => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ScrolledEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrolledEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ScrollToRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrollToRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSearchBarEvents : global::Xamarin.Forms.RxInputViewEvents + { + private readonly global::Xamarin.Forms.SearchBar _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSearchBarEvents(global::Xamarin.Forms.SearchBar data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SearchButtonPressed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SearchButtonPressed += x, x => _data.SearchButtonPressed -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSearchHandlerEvents : global::Xamarin.Forms.RxBindableObjectEvents + { + private readonly global::Xamarin.Forms.SearchHandler _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSearchHandlerEvents(global::Xamarin.Forms.SearchHandler data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable FocusChangeRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.VisualElement.FocusRequestArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.VisualElement.FocusRequestArgs e) => eventHandler(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.FromEvent, global::System.EventArgs>(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent, global::System.EventArgs>(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Unfocused += x, x => _data.Unfocused -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSelectableItemsViewEvents : global::Xamarin.Forms.RxItemsViewEvents + { + private readonly global::Xamarin.Forms.SelectableItemsView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSelectableItemsViewEvents(global::Xamarin.Forms.SelectableItemsView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SelectionChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.SelectionChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SelectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SelectionChanged += x, x => _data.SelectionChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxShellEvents : global::Xamarin.Forms.RxPageEvents + { + private readonly global::Xamarin.Forms.Shell _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxShellEvents(global::Xamarin.Forms.Shell data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Navigated => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ShellNavigatedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ShellNavigatedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ShellNavigatingEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ShellNavigatingEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Navigating += x, x => _data.Navigating -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSliderEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Slider _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSliderEvents(global::Xamarin.Forms.Slider data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DragCompleted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ValueChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ValueChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ValueChanged += x, x => _data.ValueChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxStateTriggerBaseEvents : global::Xamarin.Forms.RxBindableObjectEvents + { + private readonly global::Xamarin.Forms.StateTriggerBase _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxStateTriggerBaseEvents(global::Xamarin.Forms.StateTriggerBase data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable IsActiveChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.IsActiveChanged += x, x => _data.IsActiveChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxStepperEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Stepper _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxStepperEvents(global::Xamarin.Forms.Stepper data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ValueChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ValueChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ValueChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ValueChanged += x, x => _data.ValueChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwipeGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.SwipeGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwipeGestureRecognizerEvents(global::Xamarin.Forms.SwipeGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Swiped => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.SwipedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SwipedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Swiped += x, x => _data.Swiped -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwipeItemEvents : global::Xamarin.Forms.RxMenuItemEvents + { + private readonly global::Xamarin.Forms.SwipeItem _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwipeItemEvents(global::Xamarin.Forms.SwipeItem data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Invoked => global::System.Reactive.Linq.Observable.FromEvent, global::System.EventArgs>(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Invoked += x, x => _data.Invoked -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwipeItemsEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.SwipeItems _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwipeItemsEvents(global::Xamarin.Forms.SwipeItems data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CollectionChanged += x, x => _data.CollectionChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwipeItemViewEvents : global::Xamarin.Forms.RxLayoutEvents + { + private readonly global::Xamarin.Forms.SwipeItemView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwipeItemViewEvents(global::Xamarin.Forms.SwipeItemView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Invoked => global::System.Reactive.Linq.Observable.FromEvent, global::System.EventArgs>(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Invoked += x, x => _data.Invoked -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwipeViewEvents : global::Xamarin.Forms.RxLayoutEvents + { + private readonly global::Xamarin.Forms.SwipeView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwipeViewEvents(global::Xamarin.Forms.SwipeView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CloseRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CloseRequested += x, x => _data.CloseRequested -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable OpenRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.OpenSwipeEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.OpenSwipeEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.OpenRequested += x, x => _data.OpenRequested -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SwipeChanging => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.SwipeChangingEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SwipeChangingEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SwipeChanging += x, x => _data.SwipeChanging -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SwipeEnded => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.SwipeEndedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SwipeEndedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SwipeEnded += x, x => _data.SwipeEnded -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SwipeStarted => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.SwipeStartedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SwipeStartedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SwipeStarted += x, x => _data.SwipeStarted -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwitchEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Switch _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwitchEvents(global::Xamarin.Forms.Switch data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Toggled => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ToggledEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ToggledEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Toggled += x, x => _data.Toggled -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwitchCellEvents : global::Xamarin.Forms.RxCellEvents + { + private readonly global::Xamarin.Forms.SwitchCell _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwitchCellEvents(global::Xamarin.Forms.SwitchCell data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable OnChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ToggledEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ToggledEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.OnChanged += x, x => _data.OnChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxTableViewEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.TableView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxTableViewEvents(global::Xamarin.Forms.TableView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ModelChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ModelChanged += x, x => _data.ModelChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxTapGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.TapGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxTapGestureRecognizerEvents(global::Xamarin.Forms.TapGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Tapped => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Tapped += x, x => _data.Tapped -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxToolbarItemEvents : global::Xamarin.Forms.RxMenuItemEvents + { + private readonly global::Xamarin.Forms.ToolbarItem _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxToolbarItemEvents(global::Xamarin.Forms.ToolbarItem data): base(data) + { + _data = data; + } + + /// + /// 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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Activated += x, x => _data.Activated -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxVisualElementEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.VisualElement _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxVisualElementEvents(global::Xamarin.Forms.VisualElement data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable> BatchCommitted => global::System.Reactive.Linq.Observable.FromEvent>, global::Xamarin.Forms.Internals.EventArg>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EventArg e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.VisualElement.FocusRequestArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.VisualElement.FocusRequestArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.FocusEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.FocusEventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.FocusEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.FocusEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Unfocused += x, x => _data.Unfocused -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxWebViewEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.WebView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxWebViewEvents(global::Xamarin.Forms.WebView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable EvalRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Internals.EvalRequested>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EvalRequested e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.WebNavigatedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.WebNavigatedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.WebNavigatingEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.WebNavigatingEventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ReloadRequested += x, x => _data.ReloadRequested -= x); + } +} + +namespace Xamarin.Forms.Internals +{ + /// + /// A class that contains extension methods to wrap events for classes contained within the namespace. + /// + public static class EventExtensions + { + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxDeviceInfoEvents Events(this global::Xamarin.Forms.Internals.DeviceInfo item) => new RxDeviceInfoEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIResourceDictionaryEvents Events(this global::Xamarin.Forms.Internals.IResourceDictionary item) => new RxIResourceDictionaryEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxTableModelEvents Events(this global::Xamarin.Forms.Internals.TableModel item) => new RxTableModelEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxToolbarTrackerEvents Events(this global::Xamarin.Forms.Internals.ToolbarTracker item) => new RxToolbarTrackerEvents(item); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxDeviceInfoEvents + { + private readonly global::Xamarin.Forms.Internals.DeviceInfo _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxDeviceInfoEvents(global::Xamarin.Forms.Internals.DeviceInfo data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PropertyChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PropertyChanged += x, x => _data.PropertyChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIResourceDictionaryEvents + { + private readonly global::Xamarin.Forms.Internals.IResourceDictionary _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIResourceDictionaryEvents(global::Xamarin.Forms.Internals.IResourceDictionary data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ValuesChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Internals.ResourcesChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.ResourcesChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ValuesChanged += x, x => _data.ValuesChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxTableModelEvents + { + private readonly global::Xamarin.Forms.Internals.TableModel _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxTableModelEvents(global::Xamarin.Forms.Internals.TableModel data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable> ItemLongPressed => global::System.Reactive.Linq.Observable.FromEvent>, global::Xamarin.Forms.Internals.EventArg>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EventArg e) => eventHandler(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.FromEvent>, global::Xamarin.Forms.Internals.EventArg>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EventArg e) => eventHandler(e); + return Handler; + }, x => _data.ItemSelected += x, x => _data.ItemSelected -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxToolbarTrackerEvents + { + private readonly global::Xamarin.Forms.Internals.ToolbarTracker _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxToolbarTrackerEvents(global::Xamarin.Forms.Internals.ToolbarTracker data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CollectionChanged += x, x => _data.CollectionChanged -= x); + } +} + +namespace Xamarin.Forms.Platform.Tizen +{ + /// + /// A class that contains extension methods to wrap events for classes contained within the namespace. + /// + public static class EventExtensions + { + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxDefaultPlatformEvents Events(this global::Xamarin.Forms.Platform.Tizen.DefaultPlatform item) => new RxDefaultPlatformEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxGestureHandlerEvents Events(this global::Xamarin.Forms.Platform.Tizen.GestureHandler item) => new RxGestureHandlerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxINavigationDrawerEvents Events(this global::Xamarin.Forms.Platform.Tizen.INavigationDrawer item) => new RxINavigationDrawerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxINavigationViewEvents Events(this global::Xamarin.Forms.Platform.Tizen.INavigationView item) => new RxINavigationViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIShellTabsEvents Events(this global::Xamarin.Forms.Platform.Tizen.IShellTabs item) => new RxIShellTabsEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxITizenPlatformEvents Events(this global::Xamarin.Forms.Platform.Tizen.ITizenPlatform item) => new RxITizenPlatformEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxLightweightPlatformEvents Events(this global::Xamarin.Forms.Platform.Tizen.LightweightPlatform item) => new RxLightweightPlatformEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxNavigationDrawerEvents Events(this global::Xamarin.Forms.Platform.Tizen.NavigationDrawer item) => new RxNavigationDrawerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxNavigationViewEvents Events(this global::Xamarin.Forms.Platform.Tizen.NavigationView item) => new RxNavigationViewEvents(item); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxDefaultPlatformEvents : global::Xamarin.Forms.RxBindableObjectEvents + { + private readonly global::Xamarin.Forms.Platform.Tizen.DefaultPlatform _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxDefaultPlatformEvents(global::Xamarin.Forms.Platform.Tizen.DefaultPlatform data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable RootNativeViewChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.Tizen.RootNativeViewChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Tizen.RootNativeViewChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.RootNativeViewChanged += x, x => _data.RootNativeViewChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxGestureHandlerEvents + { + private readonly global::Xamarin.Forms.Platform.Tizen.GestureHandler _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxGestureHandlerEvents(global::Xamarin.Forms.Platform.Tizen.GestureHandler data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PropertyChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PropertyChanged += x, x => _data.PropertyChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxINavigationDrawerEvents + { + private readonly global::Xamarin.Forms.Platform.Tizen.INavigationDrawer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxINavigationDrawerEvents(global::Xamarin.Forms.Platform.Tizen.INavigationDrawer data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Toggled => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Toggled += x, x => _data.Toggled -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxINavigationViewEvents + { + private readonly global::Xamarin.Forms.Platform.Tizen.INavigationView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxINavigationViewEvents(global::Xamarin.Forms.Platform.Tizen.INavigationView data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SelectedItemChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.SelectedItemChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SelectedItemChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SelectedItemChanged += x, x => _data.SelectedItemChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIShellTabsEvents + { + private readonly global::Xamarin.Forms.Platform.Tizen.IShellTabs _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIShellTabsEvents(global::Xamarin.Forms.Platform.Tizen.IShellTabs data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Selected => global::System.Reactive.Linq.Observable.FromEvent, global::ElmSharp.ToolbarItemEventArgs>(eventHandler => + { + void Handler(object sender, global::ElmSharp.ToolbarItemEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Selected += x, x => _data.Selected -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxITizenPlatformEvents + { + private readonly global::Xamarin.Forms.Platform.Tizen.ITizenPlatform _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxITizenPlatformEvents(global::Xamarin.Forms.Platform.Tizen.ITizenPlatform data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable RootNativeViewChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.Tizen.RootNativeViewChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Tizen.RootNativeViewChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.RootNativeViewChanged += x, x => _data.RootNativeViewChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxLightweightPlatformEvents + { + private readonly global::Xamarin.Forms.Platform.Tizen.LightweightPlatform _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxLightweightPlatformEvents(global::Xamarin.Forms.Platform.Tizen.LightweightPlatform data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable RootNativeViewChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.Tizen.RootNativeViewChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Tizen.RootNativeViewChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.RootNativeViewChanged += x, x => _data.RootNativeViewChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxNavigationDrawerEvents : global::Xamarin.Forms.Platform.Tizen.Native.RxBoxEvents + { + private readonly global::Xamarin.Forms.Platform.Tizen.NavigationDrawer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxNavigationDrawerEvents(global::Xamarin.Forms.Platform.Tizen.NavigationDrawer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Toggled => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Toggled += x, x => _data.Toggled -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxNavigationViewEvents : global::ElmSharp.RxLayoutEvents + { + private readonly global::Xamarin.Forms.Platform.Tizen.NavigationView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxNavigationViewEvents(global::Xamarin.Forms.Platform.Tizen.NavigationView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SelectedItemChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.SelectedItemChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SelectedItemChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SelectedItemChanged += x, x => _data.SelectedItemChanged -= x); + } +} + +namespace Xamarin.Forms.Platform.Tizen.Native +{ + /// + /// A class that contains extension methods to wrap events for classes contained within the namespace. + /// + public static class EventExtensions + { + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxBoxEvents Events(this global::Xamarin.Forms.Platform.Tizen.Native.Box item) => new RxBoxEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxCollectionViewEvents Events(this global::Xamarin.Forms.Platform.Tizen.Native.CollectionView item) => new RxCollectionViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxDateTimePickerDialogEvents Events(this global::Xamarin.Forms.Platform.Tizen.Native.DateTimePickerDialog item) => new RxDateTimePickerDialogEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxDialogEvents Events(this global::Xamarin.Forms.Platform.Tizen.Native.Dialog item) => new RxDialogEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxEntryEvents Events(this global::Xamarin.Forms.Platform.Tizen.Native.Entry item) => new RxEntryEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIDateTimeDialogEvents Events(this global::Xamarin.Forms.Platform.Tizen.Native.IDateTimeDialog item) => new RxIDateTimeDialogEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIEntryEvents Events(this global::Xamarin.Forms.Platform.Tizen.Native.IEntry item) => new RxIEntryEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIndicatorViewEvents Events(this global::Xamarin.Forms.Platform.Tizen.Native.IndicatorView item) => new RxIndicatorViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxItemAdaptorEvents Events(this global::Xamarin.Forms.Platform.Tizen.Native.ItemAdaptor item) => new RxItemAdaptorEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxLayoutCanvasEvents Events(this global::Xamarin.Forms.Platform.Tizen.Native.LayoutCanvas item) => new RxLayoutCanvasEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxListViewEvents Events(this global::Xamarin.Forms.Platform.Tizen.Native.ListView item) => new RxListViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxMasterDetailPageEvents Events(this global::Xamarin.Forms.Platform.Tizen.Native.MasterDetailPage item) => new RxMasterDetailPageEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxMediaPlayerEvents Events(this global::Xamarin.Forms.Platform.Tizen.Native.MediaPlayer item) => new RxMediaPlayerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxMediaPlayerImplEvents Events(this global::Xamarin.Forms.Platform.Tizen.Native.MediaPlayerImpl item) => new RxMediaPlayerImplEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxPageEvents Events(this global::Xamarin.Forms.Platform.Tizen.Native.Page item) => new RxPageEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxViewHolderEvents Events(this global::Xamarin.Forms.Platform.Tizen.Native.ViewHolder item) => new RxViewHolderEvents(item); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxBoxEvents : global::ElmSharp.RxWidgetEvents + { + private readonly global::Xamarin.Forms.Platform.Tizen.Native.Box _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxBoxEvents(global::Xamarin.Forms.Platform.Tizen.Native.Box data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable LayoutUpdated => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.Tizen.Native.LayoutEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Tizen.Native.LayoutEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.LayoutUpdated += x, x => _data.LayoutUpdated -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxCollectionViewEvents : global::ElmSharp.RxWidgetEvents + { + private readonly global::Xamarin.Forms.Platform.Tizen.Native.CollectionView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxCollectionViewEvents(global::Xamarin.Forms.Platform.Tizen.Native.CollectionView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Scrolled => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ItemsViewScrolledEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ItemsViewScrolledEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Scrolled += x, x => _data.Scrolled -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxDateTimePickerDialogEvents : global::Xamarin.Forms.Platform.Tizen.Native.RxDialogEvents + { + private readonly global::Xamarin.Forms.Platform.Tizen.Native.DateTimePickerDialog _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxDateTimePickerDialogEvents(global::Xamarin.Forms.Platform.Tizen.Native.DateTimePickerDialog data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DateTimeChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.Tizen.Native.DateChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Tizen.Native.DateChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DateTimeChanged += x, x => _data.DateTimeChanged -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PickerClosed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PickerClosed += x, x => _data.PickerClosed -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PickerOpened => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PickerOpened += x, x => _data.PickerOpened -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxDialogEvents : global::ElmSharp.RxPopupEvents + { + private readonly global::Xamarin.Forms.Platform.Tizen.Native.Dialog _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxDialogEvents(global::Xamarin.Forms.Platform.Tizen.Native.Dialog data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Shown => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Shown += x, x => _data.Shown -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxEntryEvents : global::ElmSharp.RxEntryEvents + { + private readonly global::Xamarin.Forms.Platform.Tizen.Native.Entry _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxEntryEvents(global::Xamarin.Forms.Platform.Tizen.Native.Entry data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable EntryLayoutFocused => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.EntryLayoutFocused += x, x => _data.EntryLayoutFocused -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable EntryLayoutUnfocused => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.EntryLayoutUnfocused += x, x => _data.EntryLayoutUnfocused -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable TextBlockFocused => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.TextBlockFocused += x, x => _data.TextBlockFocused -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable TextBlockUnfocused => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.TextBlockUnfocused += x, x => _data.TextBlockUnfocused -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable TextChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.TextChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.TextChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.TextChanged += x, x => _data.TextChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIDateTimeDialogEvents + { + private readonly global::Xamarin.Forms.Platform.Tizen.Native.IDateTimeDialog _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIDateTimeDialogEvents(global::Xamarin.Forms.Platform.Tizen.Native.IDateTimeDialog data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DateTimeChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.Tizen.Native.DateChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Tizen.Native.DateChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DateTimeChanged += x, x => _data.DateTimeChanged -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PickerClosed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PickerClosed += x, x => _data.PickerClosed -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PickerOpened => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PickerOpened += x, x => _data.PickerOpened -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIEntryEvents + { + private readonly global::Xamarin.Forms.Platform.Tizen.Native.IEntry _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIEntryEvents(global::Xamarin.Forms.Platform.Tizen.Native.IEntry data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable EntryLayoutFocused => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.EntryLayoutFocused += x, x => _data.EntryLayoutFocused -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable EntryLayoutUnfocused => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.EntryLayoutUnfocused += x, x => _data.EntryLayoutUnfocused -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable TextBlockFocused => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.TextBlockFocused += x, x => _data.TextBlockFocused -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable TextBlockUnfocused => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.TextBlockUnfocused += x, x => _data.TextBlockUnfocused -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable TextChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.TextChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.TextChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.TextChanged += x, x => _data.TextChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIndicatorViewEvents : global::ElmSharp.RxIndexEvents + { + private readonly global::Xamarin.Forms.Platform.Tizen.Native.IndicatorView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIndicatorViewEvents(global::Xamarin.Forms.Platform.Tizen.Native.IndicatorView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SelectedPosition => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.SelectedPositionChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SelectedPositionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SelectedPosition += x, x => _data.SelectedPosition -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxItemAdaptorEvents + { + private readonly global::Xamarin.Forms.Platform.Tizen.Native.ItemAdaptor _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxItemAdaptorEvents(global::Xamarin.Forms.Platform.Tizen.Native.ItemAdaptor data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ItemSelected => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.SelectedItemChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SelectedItemChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ItemSelected += x, x => _data.ItemSelected -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxLayoutCanvasEvents : global::ElmSharp.RxLayoutEvents + { + private readonly global::Xamarin.Forms.Platform.Tizen.Native.LayoutCanvas _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxLayoutCanvasEvents(global::Xamarin.Forms.Platform.Tizen.Native.LayoutCanvas data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable LayoutUpdated => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.Tizen.Native.LayoutEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Tizen.Native.LayoutEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.LayoutUpdated += x, x => _data.LayoutUpdated -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxListViewEvents : global::ElmSharp.RxGenListEvents + { + private readonly global::Xamarin.Forms.Platform.Tizen.Native.ListView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxListViewEvents(global::Xamarin.Forms.Platform.Tizen.Native.ListView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Scrolled => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Scrolled += x, x => _data.Scrolled -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxMasterDetailPageEvents : global::Xamarin.Forms.Platform.Tizen.Native.RxBoxEvents + { + private readonly global::Xamarin.Forms.Platform.Tizen.Native.MasterDetailPage _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxMasterDetailPageEvents(global::Xamarin.Forms.Platform.Tizen.Native.MasterDetailPage data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable IsPresentedChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.Tizen.Native.IsPresentedChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Tizen.Native.IsPresentedChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.IsPresentedChanged += x, x => _data.IsPresentedChanged -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable UpdateIsPresentChangeable => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.Tizen.Native.UpdateIsPresentChangeableEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Tizen.Native.UpdateIsPresentChangeableEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.UpdateIsPresentChangeable += x, x => _data.UpdateIsPresentChangeable -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxMediaPlayerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.Platform.Tizen.Native.MediaPlayer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxMediaPlayerEvents(global::Xamarin.Forms.Platform.Tizen.Native.MediaPlayer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable BufferingCompleted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.BufferingCompleted += x, x => _data.BufferingCompleted -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable BufferingProgressUpdated => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.BufferingProgressUpdatedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.BufferingProgressUpdatedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.BufferingProgressUpdated += x, x => _data.BufferingProgressUpdated -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable BufferingStarted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.BufferingStarted += x, x => _data.BufferingStarted -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ErrorOccurred => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ErrorOccurred += x, x => _data.ErrorOccurred -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable MediaPrepared => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.MediaPrepared += x, x => _data.MediaPrepared -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackCompleted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackCompleted += x, x => _data.PlaybackCompleted -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackPaused => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackPaused += x, x => _data.PlaybackPaused -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackStarted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackStarted += x, x => _data.PlaybackStarted -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackStopped => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackStopped += x, x => _data.PlaybackStopped -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxMediaPlayerImplEvents + { + private readonly global::Xamarin.Forms.Platform.Tizen.Native.MediaPlayerImpl _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxMediaPlayerImplEvents(global::Xamarin.Forms.Platform.Tizen.Native.MediaPlayerImpl data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable BufferingProgressUpdated => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.BufferingProgressUpdatedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.BufferingProgressUpdatedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.BufferingProgressUpdated += x, x => _data.BufferingProgressUpdated -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ErrorOccurred => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackCompleted += x, x => _data.PlaybackCompleted -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackPaused => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackPaused += x, x => _data.PlaybackPaused -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackStarted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackStarted += x, x => _data.PlaybackStarted -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackStopped => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackStopped += x, x => _data.PlaybackStopped -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable UpdateStreamInfo => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.UpdateStreamInfo += x, x => _data.UpdateStreamInfo -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxPageEvents : global::ElmSharp.RxLayoutEvents + { + private readonly global::Xamarin.Forms.Platform.Tizen.Native.Page _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxPageEvents(global::Xamarin.Forms.Platform.Tizen.Native.Page data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable LayoutUpdated => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.Tizen.Native.LayoutEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Tizen.Native.LayoutEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.LayoutUpdated += x, x => _data.LayoutUpdated -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxViewHolderEvents : global::Xamarin.Forms.Platform.Tizen.Native.RxBoxEvents + { + private readonly global::Xamarin.Forms.Platform.Tizen.Native.ViewHolder _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxViewHolderEvents(global::Xamarin.Forms.Platform.Tizen.Native.ViewHolder data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable RequestSelected => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.RequestSelected += x, x => _data.RequestSelected -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Selected => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Selected += x, x => _data.Selected -= x); + } +} + +namespace Xamarin.Forms.Platform.Tizen.Native.Watch +{ + /// + /// A class that contains extension methods to wrap events for classes contained within the namespace. + /// + public static class EventExtensions + { + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxWatchDateTimePickerDialogEvents Events(this global::Xamarin.Forms.Platform.Tizen.Native.Watch.WatchDateTimePickerDialog item) => new RxWatchDateTimePickerDialogEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxWatchSpinnerEvents Events(this global::Xamarin.Forms.Platform.Tizen.Native.Watch.WatchSpinner item) => new RxWatchSpinnerEvents(item); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxWatchDateTimePickerDialogEvents : global::ElmSharp.RxPopupEvents + { + private readonly global::Xamarin.Forms.Platform.Tizen.Native.Watch.WatchDateTimePickerDialog _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxWatchDateTimePickerDialogEvents(global::Xamarin.Forms.Platform.Tizen.Native.Watch.WatchDateTimePickerDialog data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DateTimeChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.Tizen.Native.DateChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Tizen.Native.DateChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DateTimeChanged += x, x => _data.DateTimeChanged -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PickerClosed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PickerClosed += x, x => _data.PickerClosed -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PickerOpened => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PickerOpened += x, x => _data.PickerOpened -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxWatchSpinnerEvents : global::ElmSharp.RxSpinnerEvents + { + private readonly global::Xamarin.Forms.Platform.Tizen.Native.Watch.WatchSpinner _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxWatchSpinnerEvents(global::Xamarin.Forms.Platform.Tizen.Native.Watch.WatchSpinner data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable WheelAppeared => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.WheelAppeared += x, x => _data.WheelAppeared -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable WheelDisappeared => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.WheelDisappeared += x, x => _data.WheelDisappeared -= x); + } +} + +namespace Xamarin.Forms.Platform.Tizen.Watch +{ + /// + /// A class that contains extension methods to wrap events for classes contained within the namespace. + /// + public static class EventExtensions + { + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxNavigationDrawerEvents Events(this global::Xamarin.Forms.Platform.Tizen.Watch.NavigationDrawer item) => new RxNavigationDrawerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxNavigationViewEvents Events(this global::Xamarin.Forms.Platform.Tizen.Watch.NavigationView item) => new RxNavigationViewEvents(item); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxNavigationDrawerEvents : global::ElmSharp.RxLayoutEvents + { + private readonly global::Xamarin.Forms.Platform.Tizen.Watch.NavigationDrawer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxNavigationDrawerEvents(global::Xamarin.Forms.Platform.Tizen.Watch.NavigationDrawer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Toggled => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Toggled += x, x => _data.Toggled -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxNavigationViewEvents : global::ElmSharp.RxLayoutEvents + { + private readonly global::Xamarin.Forms.Platform.Tizen.Watch.NavigationView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxNavigationViewEvents(global::Xamarin.Forms.Platform.Tizen.Watch.NavigationView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Dragged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.Tizen.Watch.DraggedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.Tizen.Watch.DraggedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Dragged += x, x => _data.Dragged -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ItemSelected => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.SelectedItemChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SelectedItemChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ItemSelected += x, x => _data.ItemSelected -= x); + } +} + +namespace Xamarin.Forms.PlatformConfiguration.TizenSpecific +{ + /// + /// A class that contains extension methods to wrap events for classes contained within the namespace. + /// + public static class EventExtensions + { + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIMediaPlayerEvents Events(this global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.IMediaPlayer item) => new RxIMediaPlayerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIPlatformMediaPlayerEvents Events(this global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.IPlatformMediaPlayer item) => new RxIPlatformMediaPlayerEvents(item); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIMediaPlayerEvents + { + private readonly global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.IMediaPlayer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIMediaPlayerEvents(global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.IMediaPlayer data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackPaused => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackPaused += x, x => _data.PlaybackPaused -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackStarted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackStarted += x, x => _data.PlaybackStarted -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackStopped => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackStopped += x, x => _data.PlaybackStopped -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIPlatformMediaPlayerEvents + { + private readonly global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.IPlatformMediaPlayer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIPlatformMediaPlayerEvents(global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.IPlatformMediaPlayer data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable BufferingProgressUpdated => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.BufferingProgressUpdatedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.BufferingProgressUpdatedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.BufferingProgressUpdated += x, x => _data.BufferingProgressUpdated -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ErrorOccurred => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackCompleted += x, x => _data.PlaybackCompleted -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackPaused => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackPaused += x, x => _data.PlaybackPaused -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackStarted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackStarted += x, x => _data.PlaybackStarted -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackStopped => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackStopped += x, x => _data.PlaybackStopped -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable UpdateStreamInfo => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.UpdateStreamInfo += x, x => _data.UpdateStreamInfo -= x); + } +} + +namespace Xamarin.Forms +{ + /// + /// A class that contains extension methods to wrap events contained within static classes within the namespace. + /// + public static class Events + { + /// + /// Gets an observable which signals when the event triggers. + /// + public static global::System.IObservable FormsViewInitialized => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ViewInitializedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ViewInitializedEventArgs e) => eventHandler(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.8.0.1821.uap10.0.17763.approved.txt b/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Forms.4.8.0.1821.uap10.0.17763.approved.txt new file mode 100644 index 0000000..5a70081 --- /dev/null +++ b/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Forms.4.8.0.1821.uap10.0.17763.approved.txt @@ -0,0 +1,3447 @@ + +using global::System; +using global::System.Reactive; +using global::System.Reactive.Linq; +using global::System.Reactive.Subjects; +using global::Pharmacist.Common; + +namespace Xamarin.Forms +{ + /// + /// A class that contains extension methods to wrap events for classes contained within the namespace. + /// + public static class EventExtensions + { + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxApplicationEvents Events(this global::Xamarin.Forms.Application item) => new RxApplicationEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxBaseShellItemEvents Events(this global::Xamarin.Forms.BaseShellItem item) => new RxBaseShellItemEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxBindableObjectEvents Events(this global::Xamarin.Forms.BindableObject item) => new RxBindableObjectEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxButtonEvents Events(this global::Xamarin.Forms.Button item) => new RxButtonEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxCarouselViewEvents Events(this global::Xamarin.Forms.CarouselView item) => new RxCarouselViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxCellEvents Events(this global::Xamarin.Forms.Cell item) => new RxCellEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxCheckBoxEvents Events(this global::Xamarin.Forms.CheckBox item) => new RxCheckBoxEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxChildGestureRecognizerEvents Events(this global::Xamarin.Forms.ChildGestureRecognizer item) => new RxChildGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxClickGestureRecognizerEvents Events(this global::Xamarin.Forms.ClickGestureRecognizer item) => new RxClickGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxColumnDefinitionEvents Events(this global::Xamarin.Forms.ColumnDefinition item) => new RxColumnDefinitionEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxCommandEvents Events(this global::Xamarin.Forms.Command item) => new RxCommandEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxDatePickerEvents Events(this global::Xamarin.Forms.DatePicker item) => new RxDatePickerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxDragGestureRecognizerEvents Events(this global::Xamarin.Forms.DragGestureRecognizer item) => new RxDragGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxDropGestureRecognizerEvents Events(this global::Xamarin.Forms.DropGestureRecognizer item) => new RxDropGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxEditorEvents Events(this global::Xamarin.Forms.Editor item) => new RxEditorEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxElementEvents Events(this global::Xamarin.Forms.Element item) => new RxElementEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxEntryEvents Events(this global::Xamarin.Forms.Entry item) => new RxEntryEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxEntryCellEvents Events(this global::Xamarin.Forms.EntryCell item) => new RxEntryCellEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxExpanderEvents Events(this global::Xamarin.Forms.Expander item) => new RxExpanderEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxICellControllerEvents Events(this global::Xamarin.Forms.ICellController item) => new RxICellControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIDefinitionEvents Events(this global::Xamarin.Forms.IDefinition item) => new RxIDefinitionEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIElementControllerEvents Events(this global::Xamarin.Forms.IElementController item) => new RxIElementControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxILayoutEvents Events(this global::Xamarin.Forms.ILayout item) => new RxILayoutEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIListProxyEvents Events(this global::Xamarin.Forms.IListProxy item) => new RxIListProxyEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIListViewControllerEvents Events(this global::Xamarin.Forms.IListViewController item) => new RxIListViewControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxImageButtonEvents Events(this global::Xamarin.Forms.ImageButton item) => new RxImageButtonEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIMasterDetailPageControllerEvents Events(this global::Xamarin.Forms.IMasterDetailPageController item) => new RxIMasterDetailPageControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxINavigationPageControllerEvents Events(this global::Xamarin.Forms.INavigationPageController item) => new RxINavigationPageControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxInputViewEvents Events(this global::Xamarin.Forms.InputView item) => new RxInputViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIOpenGlViewControllerEvents Events(this global::Xamarin.Forms.IOpenGlViewController item) => new RxIOpenGlViewControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIScrollViewControllerEvents Events(this global::Xamarin.Forms.IScrollViewController item) => new RxIScrollViewControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxISearchHandlerControllerEvents Events(this global::Xamarin.Forms.ISearchHandlerController item) => new RxISearchHandlerControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIShellContentControllerEvents Events(this global::Xamarin.Forms.IShellContentController item) => new RxIShellContentControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIShellControllerEvents Events(this global::Xamarin.Forms.IShellController item) => new RxIShellControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIShellItemControllerEvents Events(this global::Xamarin.Forms.IShellItemController item) => new RxIShellItemControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIShellSectionControllerEvents Events(this global::Xamarin.Forms.IShellSectionController item) => new RxIShellSectionControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxISwipeItemEvents Events(this global::Xamarin.Forms.ISwipeItem item) => new RxISwipeItemEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxITableViewControllerEvents Events(this global::Xamarin.Forms.ITableViewController item) => new RxITableViewControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxItemsViewEvents Events(this global::Xamarin.Forms.ItemsView item) => new RxItemsViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIVisualElementControllerEvents Events(this global::Xamarin.Forms.IVisualElementController item) => new RxIVisualElementControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIWebViewControllerEvents Events(this global::Xamarin.Forms.IWebViewController item) => new RxIWebViewControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxLayoutEvents Events(this global::Xamarin.Forms.Layout item) => new RxLayoutEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxListViewEvents Events(this global::Xamarin.Forms.ListView item) => new RxListViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxMarshalingObservableCollectionEvents Events(this global::Xamarin.Forms.MarshalingObservableCollection item) => new RxMarshalingObservableCollectionEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxMasterDetailPageEvents Events(this global::Xamarin.Forms.MasterDetailPage item) => new RxMasterDetailPageEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxMediaElementEvents Events(this global::Xamarin.Forms.MediaElement item) => new RxMediaElementEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxMenuItemEvents Events(this global::Xamarin.Forms.MenuItem item) => new RxMenuItemEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxNavigationPageEvents Events(this global::Xamarin.Forms.NavigationPage item) => new RxNavigationPageEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxOpenGLViewEvents Events(this global::Xamarin.Forms.OpenGLView item) => new RxOpenGLViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxPageEvents Events(this global::Xamarin.Forms.Page item) => new RxPageEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxPanGestureRecognizerEvents Events(this global::Xamarin.Forms.PanGestureRecognizer item) => new RxPanGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxPickerEvents Events(this global::Xamarin.Forms.Picker item) => new RxPickerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxPinchGestureRecognizerEvents Events(this global::Xamarin.Forms.PinchGestureRecognizer item) => new RxPinchGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxRadioButtonEvents Events(this global::Xamarin.Forms.RadioButton item) => new RxRadioButtonEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxRefreshViewEvents Events(this global::Xamarin.Forms.RefreshView item) => new RxRefreshViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxRowDefinitionEvents Events(this global::Xamarin.Forms.RowDefinition item) => new RxRowDefinitionEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxScrollViewEvents Events(this global::Xamarin.Forms.ScrollView item) => new RxScrollViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSearchBarEvents Events(this global::Xamarin.Forms.SearchBar item) => new RxSearchBarEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSearchHandlerEvents Events(this global::Xamarin.Forms.SearchHandler item) => new RxSearchHandlerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSelectableItemsViewEvents Events(this global::Xamarin.Forms.SelectableItemsView item) => new RxSelectableItemsViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxShellEvents Events(this global::Xamarin.Forms.Shell item) => new RxShellEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSliderEvents Events(this global::Xamarin.Forms.Slider item) => new RxSliderEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxStateTriggerBaseEvents Events(this global::Xamarin.Forms.StateTriggerBase item) => new RxStateTriggerBaseEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxStepperEvents Events(this global::Xamarin.Forms.Stepper item) => new RxStepperEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwipeGestureRecognizerEvents Events(this global::Xamarin.Forms.SwipeGestureRecognizer item) => new RxSwipeGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwipeItemEvents Events(this global::Xamarin.Forms.SwipeItem item) => new RxSwipeItemEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwipeItemsEvents Events(this global::Xamarin.Forms.SwipeItems item) => new RxSwipeItemsEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwipeItemViewEvents Events(this global::Xamarin.Forms.SwipeItemView item) => new RxSwipeItemViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwipeViewEvents Events(this global::Xamarin.Forms.SwipeView item) => new RxSwipeViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwitchEvents Events(this global::Xamarin.Forms.Switch item) => new RxSwitchEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwitchCellEvents Events(this global::Xamarin.Forms.SwitchCell item) => new RxSwitchCellEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxTableViewEvents Events(this global::Xamarin.Forms.TableView item) => new RxTableViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxTapGestureRecognizerEvents Events(this global::Xamarin.Forms.TapGestureRecognizer item) => new RxTapGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxToolbarItemEvents Events(this global::Xamarin.Forms.ToolbarItem item) => new RxToolbarItemEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxVisualElementEvents Events(this global::Xamarin.Forms.VisualElement item) => new RxVisualElementEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxWebViewEvents Events(this global::Xamarin.Forms.WebView item) => new RxWebViewEvents(item); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxApplicationEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.Application _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxApplicationEvents(global::Xamarin.Forms.Application data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ModalPopped => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ModalPoppedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ModalPoppedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ModalPoppingEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ModalPoppingEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ModalPushedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ModalPushedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ModalPushingEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ModalPushingEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Page>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Page e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Page>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Page e) => eventHandler(e); + return Handler; + }, x => _data.PageDisappearing += x, x => _data.PageDisappearing -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable RequestedThemeChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.AppThemeChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.AppThemeChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.RequestedThemeChanged += x, x => _data.RequestedThemeChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxBaseShellItemEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.BaseShellItem _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxBaseShellItemEvents(global::Xamarin.Forms.BaseShellItem data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Appearing => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Disappearing += x, x => _data.Disappearing -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxBindableObjectEvents + { + private readonly global::Xamarin.Forms.BindableObject _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxBindableObjectEvents(global::Xamarin.Forms.BindableObject data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable BindingContextChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.PropertyChangingEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PropertyChanging += x, x => _data.PropertyChanging -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxButtonEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Button _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxButtonEvents(global::Xamarin.Forms.Button data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Released += x, x => _data.Released -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxCarouselViewEvents : global::Xamarin.Forms.RxItemsViewEvents + { + private readonly global::Xamarin.Forms.CarouselView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxCarouselViewEvents(global::Xamarin.Forms.CarouselView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CurrentItemChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.CurrentItemChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.CurrentItemChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CurrentItemChanged += x, x => _data.CurrentItemChanged -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PositionChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.PositionChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.PositionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PositionChanged += x, x => _data.PositionChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxCellEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.Cell _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxCellEvents(global::Xamarin.Forms.Cell data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Appearing => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Tapped += x, x => _data.Tapped -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxCheckBoxEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.CheckBox _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxCheckBoxEvents(global::Xamarin.Forms.CheckBox data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CheckedChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.CheckedChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.CheckedChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CheckedChanged += x, x => _data.CheckedChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxChildGestureRecognizerEvents + { + private readonly global::Xamarin.Forms.ChildGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxChildGestureRecognizerEvents(global::Xamarin.Forms.ChildGestureRecognizer data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PropertyChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PropertyChanged += x, x => _data.PropertyChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxClickGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.ClickGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxClickGestureRecognizerEvents(global::Xamarin.Forms.ClickGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Clicked += x, x => _data.Clicked -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxColumnDefinitionEvents : global::Xamarin.Forms.RxBindableObjectEvents + { + private readonly global::Xamarin.Forms.ColumnDefinition _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxColumnDefinitionEvents(global::Xamarin.Forms.ColumnDefinition data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SizeChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SizeChanged += x, x => _data.SizeChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxCommandEvents + { + private readonly global::Xamarin.Forms.Command _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxCommandEvents(global::Xamarin.Forms.Command data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CanExecuteChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CanExecuteChanged += x, x => _data.CanExecuteChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxDatePickerEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.DatePicker _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxDatePickerEvents(global::Xamarin.Forms.DatePicker data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DateSelected => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.DateChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.DateChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DateSelected += x, x => _data.DateSelected -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxDragGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.DragGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxDragGestureRecognizerEvents(global::Xamarin.Forms.DragGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DragStarting => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.DragStartingEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.DragStartingEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DragStarting += x, x => _data.DragStarting -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DropCompleted => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.DropCompletedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.DropCompletedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DropCompleted += x, x => _data.DropCompleted -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxDropGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.DropGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxDropGestureRecognizerEvents(global::Xamarin.Forms.DropGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DragOver => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.DragEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.DragEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DragOver += x, x => _data.DragOver -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Drop => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.DropEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.DropEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Drop += x, x => _data.Drop -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxEditorEvents : global::Xamarin.Forms.RxInputViewEvents + { + private readonly global::Xamarin.Forms.Editor _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxEditorEvents(global::Xamarin.Forms.Editor data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Completed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Completed += x, x => _data.Completed -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxElementEvents : global::Xamarin.Forms.RxBindableObjectEvents + { + private readonly global::Xamarin.Forms.Element _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxElementEvents(global::Xamarin.Forms.Element data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ChildAdded => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ElementEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ElementEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ElementEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ElementEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ElementEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ElementEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ElementEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ElementEventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlatformSet += x, x => _data.PlatformSet -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxEntryEvents : global::Xamarin.Forms.RxInputViewEvents + { + private readonly global::Xamarin.Forms.Entry _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxEntryEvents(global::Xamarin.Forms.Entry data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Completed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Completed += x, x => _data.Completed -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxEntryCellEvents : global::Xamarin.Forms.RxCellEvents + { + private readonly global::Xamarin.Forms.EntryCell _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxEntryCellEvents(global::Xamarin.Forms.EntryCell data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Completed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Completed += x, x => _data.Completed -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxExpanderEvents : global::Xamarin.Forms.RxLayoutEvents + { + private readonly global::Xamarin.Forms.Expander _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxExpanderEvents(global::Xamarin.Forms.Expander data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Tapped => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Tapped += x, x => _data.Tapped -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxICellControllerEvents + { + private readonly global::Xamarin.Forms.ICellController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxICellControllerEvents(global::Xamarin.Forms.ICellController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ForceUpdateSizeRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ForceUpdateSizeRequested += x, x => _data.ForceUpdateSizeRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIDefinitionEvents + { + private readonly global::Xamarin.Forms.IDefinition _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIDefinitionEvents(global::Xamarin.Forms.IDefinition data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SizeChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SizeChanged += x, x => _data.SizeChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIElementControllerEvents + { + private readonly global::Xamarin.Forms.IElementController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIElementControllerEvents(global::Xamarin.Forms.IElementController data) + { + _data = data; + } + + /// + /// 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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlatformSet += x, x => _data.PlatformSet -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxILayoutEvents + { + private readonly global::Xamarin.Forms.ILayout _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxILayoutEvents(global::Xamarin.Forms.ILayout data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable LayoutChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.LayoutChanged += x, x => _data.LayoutChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIListProxyEvents + { + private readonly global::Xamarin.Forms.IListProxy _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIListProxyEvents(global::Xamarin.Forms.IListProxy data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CollectionChanged += x, x => _data.CollectionChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIListViewControllerEvents + { + private readonly global::Xamarin.Forms.IListViewController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIListViewControllerEvents(global::Xamarin.Forms.IListViewController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ScrollToRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ScrollToRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrollToRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxImageButtonEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.ImageButton _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxImageButtonEvents(global::Xamarin.Forms.ImageButton data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Released += x, x => _data.Released -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIMasterDetailPageControllerEvents + { + private readonly global::Xamarin.Forms.IMasterDetailPageController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIMasterDetailPageControllerEvents(global::Xamarin.Forms.IMasterDetailPageController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable BackButtonPressed => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.BackButtonPressedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.BackButtonPressedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.BackButtonPressed += x, x => _data.BackButtonPressed -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxINavigationPageControllerEvents + { + private readonly global::Xamarin.Forms.INavigationPageController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxINavigationPageControllerEvents(global::Xamarin.Forms.INavigationPageController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable InsertPageBeforeRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.RemovePageRequested += x, x => _data.RemovePageRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxInputViewEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.InputView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxInputViewEvents(global::Xamarin.Forms.InputView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable TextChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.TextChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.TextChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.TextChanged += x, x => _data.TextChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIOpenGlViewControllerEvents + { + private readonly global::Xamarin.Forms.IOpenGlViewController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIOpenGlViewControllerEvents(global::Xamarin.Forms.IOpenGlViewController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DisplayRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DisplayRequested += x, x => _data.DisplayRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIScrollViewControllerEvents + { + private readonly global::Xamarin.Forms.IScrollViewController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIScrollViewControllerEvents(global::Xamarin.Forms.IScrollViewController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ScrollToRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ScrollToRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrollToRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxISearchHandlerControllerEvents + { + private readonly global::Xamarin.Forms.ISearchHandlerController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxISearchHandlerControllerEvents(global::Xamarin.Forms.ISearchHandlerController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ListProxyChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ListProxyChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ListProxyChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ListProxyChanged += x, x => _data.ListProxyChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIShellContentControllerEvents + { + private readonly global::Xamarin.Forms.IShellContentController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIShellContentControllerEvents(global::Xamarin.Forms.IShellContentController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable IsPageVisibleChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.IsPageVisibleChanged += x, x => _data.IsPageVisibleChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIShellControllerEvents + { + private readonly global::Xamarin.Forms.IShellController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIShellControllerEvents(global::Xamarin.Forms.IShellController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ItemsCollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ItemsCollectionChanged += x, x => _data.ItemsCollectionChanged -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable StructureChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.StructureChanged += x, x => _data.StructureChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIShellItemControllerEvents + { + private readonly global::Xamarin.Forms.IShellItemController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIShellItemControllerEvents(global::Xamarin.Forms.IShellItemController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ItemsCollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ItemsCollectionChanged += x, x => _data.ItemsCollectionChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIShellSectionControllerEvents + { + private readonly global::Xamarin.Forms.IShellSectionController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIShellSectionControllerEvents(global::Xamarin.Forms.IShellSectionController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ItemsCollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ItemsCollectionChanged += x, x => _data.ItemsCollectionChanged -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable NavigationRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.NavigationRequested += x, x => _data.NavigationRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxISwipeItemEvents + { + private readonly global::Xamarin.Forms.ISwipeItem _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxISwipeItemEvents(global::Xamarin.Forms.ISwipeItem data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Invoked => global::System.Reactive.Linq.Observable.FromEvent, global::System.EventArgs>(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Invoked += x, x => _data.Invoked -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxITableViewControllerEvents + { + private readonly global::Xamarin.Forms.ITableViewController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxITableViewControllerEvents(global::Xamarin.Forms.ITableViewController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ModelChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ModelChanged += x, x => _data.ModelChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxItemsViewEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.ItemsView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxItemsViewEvents(global::Xamarin.Forms.ItemsView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable RemainingItemsThresholdReached => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.RemainingItemsThresholdReached += x, x => _data.RemainingItemsThresholdReached -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Scrolled => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ItemsViewScrolledEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ItemsViewScrolledEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ScrollToRequestEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrollToRequestEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIVisualElementControllerEvents + { + private readonly global::Xamarin.Forms.IVisualElementController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIVisualElementControllerEvents(global::Xamarin.Forms.IVisualElementController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable> BatchCommitted => global::System.Reactive.Linq.Observable.FromEvent>, global::Xamarin.Forms.Internals.EventArg>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EventArg e) => eventHandler(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.FromEvent, global::Xamarin.Forms.VisualElement.FocusRequestArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.VisualElement.FocusRequestArgs e) => eventHandler(e); + return Handler; + }, x => _data.FocusChangeRequested += x, x => _data.FocusChangeRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIWebViewControllerEvents + { + private readonly global::Xamarin.Forms.IWebViewController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIWebViewControllerEvents(global::Xamarin.Forms.IWebViewController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable EvalRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Internals.EvalRequested>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EvalRequested e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ReloadRequested += x, x => _data.ReloadRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxLayoutEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Layout _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxLayoutEvents(global::Xamarin.Forms.Layout data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable LayoutChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.LayoutChanged += x, x => _data.LayoutChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxListViewEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.ListView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxListViewEvents(global::Xamarin.Forms.ListView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ItemAppearing => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ItemVisibilityEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ItemVisibilityEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ItemVisibilityEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ItemVisibilityEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.SelectedItemChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SelectedItemChangedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ItemTappedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ItemTappedEventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Refreshing += x, x => _data.Refreshing -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Scrolled => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ScrolledEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrolledEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ScrollToRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrollToRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxMarshalingObservableCollectionEvents + { + private readonly global::Xamarin.Forms.MarshalingObservableCollection _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxMarshalingObservableCollectionEvents(global::Xamarin.Forms.MarshalingObservableCollection data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CollectionChanged += x, x => _data.CollectionChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxMasterDetailPageEvents : global::Xamarin.Forms.RxPageEvents + { + private readonly global::Xamarin.Forms.MasterDetailPage _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxMasterDetailPageEvents(global::Xamarin.Forms.MasterDetailPage data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable BackButtonPressed => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.BackButtonPressedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.BackButtonPressedEventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.IsPresentedChanged += x, x => _data.IsPresentedChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxMediaElementEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.MediaElement _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxMediaElementEvents(global::Xamarin.Forms.MediaElement data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable MediaEnded => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.MediaEnded += x, x => _data.MediaEnded -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable MediaFailed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.MediaFailed += x, x => _data.MediaFailed -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable MediaOpened => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.MediaOpened += x, x => _data.MediaOpened -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PositionRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PositionRequested += x, x => _data.PositionRequested -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SeekCompleted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SeekCompleted += x, x => _data.SeekCompleted -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SeekRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.SeekRequested>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SeekRequested e) => eventHandler(e); + return Handler; + }, x => _data.SeekRequested += x, x => _data.SeekRequested -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable StateRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.StateRequested>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.StateRequested e) => eventHandler(e); + return Handler; + }, x => _data.StateRequested += x, x => _data.StateRequested -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable VolumeRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.VolumeRequested += x, x => _data.VolumeRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxMenuItemEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.MenuItem _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxMenuItemEvents(global::Xamarin.Forms.MenuItem data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Clicked += x, x => _data.Clicked -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxNavigationPageEvents : global::Xamarin.Forms.RxPageEvents + { + private readonly global::Xamarin.Forms.NavigationPage _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxNavigationPageEvents(global::Xamarin.Forms.NavigationPage data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable InsertPageBeforeRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.NavigationEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.NavigationEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.NavigationEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.NavigationEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.NavigationEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.NavigationEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.RemovePageRequested += x, x => _data.RemovePageRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxOpenGLViewEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.OpenGLView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxOpenGLViewEvents(global::Xamarin.Forms.OpenGLView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DisplayRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DisplayRequested += x, x => _data.DisplayRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxPageEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Page _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxPageEvents(global::Xamarin.Forms.Page data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Appearing => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.LayoutChanged += x, x => _data.LayoutChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxPanGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.PanGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxPanGestureRecognizerEvents(global::Xamarin.Forms.PanGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PanUpdated => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.PanUpdatedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.PanUpdatedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PanUpdated += x, x => _data.PanUpdated -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxPickerEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Picker _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxPickerEvents(global::Xamarin.Forms.Picker data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SelectedIndexChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SelectedIndexChanged += x, x => _data.SelectedIndexChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxPinchGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.PinchGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxPinchGestureRecognizerEvents(global::Xamarin.Forms.PinchGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PinchUpdated => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.PinchGestureUpdatedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.PinchGestureUpdatedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PinchUpdated += x, x => _data.PinchUpdated -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxRadioButtonEvents : global::Xamarin.Forms.RxButtonEvents + { + private readonly global::Xamarin.Forms.RadioButton _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxRadioButtonEvents(global::Xamarin.Forms.RadioButton data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CheckedChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.CheckedChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.CheckedChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CheckedChanged += x, x => _data.CheckedChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxRefreshViewEvents : global::Xamarin.Forms.RxLayoutEvents + { + private readonly global::Xamarin.Forms.RefreshView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxRefreshViewEvents(global::Xamarin.Forms.RefreshView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Refreshing => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Refreshing += x, x => _data.Refreshing -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxRowDefinitionEvents : global::Xamarin.Forms.RxBindableObjectEvents + { + private readonly global::Xamarin.Forms.RowDefinition _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxRowDefinitionEvents(global::Xamarin.Forms.RowDefinition data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SizeChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SizeChanged += x, x => _data.SizeChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxScrollViewEvents : global::Xamarin.Forms.RxLayoutEvents + { + private readonly global::Xamarin.Forms.ScrollView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxScrollViewEvents(global::Xamarin.Forms.ScrollView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Scrolled => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ScrolledEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrolledEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ScrollToRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrollToRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSearchBarEvents : global::Xamarin.Forms.RxInputViewEvents + { + private readonly global::Xamarin.Forms.SearchBar _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSearchBarEvents(global::Xamarin.Forms.SearchBar data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SearchButtonPressed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SearchButtonPressed += x, x => _data.SearchButtonPressed -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSearchHandlerEvents : global::Xamarin.Forms.RxBindableObjectEvents + { + private readonly global::Xamarin.Forms.SearchHandler _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSearchHandlerEvents(global::Xamarin.Forms.SearchHandler data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable FocusChangeRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.VisualElement.FocusRequestArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.VisualElement.FocusRequestArgs e) => eventHandler(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.FromEvent, global::System.EventArgs>(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent, global::System.EventArgs>(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Unfocused += x, x => _data.Unfocused -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSelectableItemsViewEvents : global::Xamarin.Forms.RxItemsViewEvents + { + private readonly global::Xamarin.Forms.SelectableItemsView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSelectableItemsViewEvents(global::Xamarin.Forms.SelectableItemsView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SelectionChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.SelectionChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SelectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SelectionChanged += x, x => _data.SelectionChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxShellEvents : global::Xamarin.Forms.RxPageEvents + { + private readonly global::Xamarin.Forms.Shell _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxShellEvents(global::Xamarin.Forms.Shell data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Navigated => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ShellNavigatedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ShellNavigatedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ShellNavigatingEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ShellNavigatingEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Navigating += x, x => _data.Navigating -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSliderEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Slider _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSliderEvents(global::Xamarin.Forms.Slider data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DragCompleted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ValueChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ValueChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ValueChanged += x, x => _data.ValueChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxStateTriggerBaseEvents : global::Xamarin.Forms.RxBindableObjectEvents + { + private readonly global::Xamarin.Forms.StateTriggerBase _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxStateTriggerBaseEvents(global::Xamarin.Forms.StateTriggerBase data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable IsActiveChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.IsActiveChanged += x, x => _data.IsActiveChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxStepperEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Stepper _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxStepperEvents(global::Xamarin.Forms.Stepper data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ValueChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ValueChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ValueChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ValueChanged += x, x => _data.ValueChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwipeGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.SwipeGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwipeGestureRecognizerEvents(global::Xamarin.Forms.SwipeGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Swiped => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.SwipedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SwipedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Swiped += x, x => _data.Swiped -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwipeItemEvents : global::Xamarin.Forms.RxMenuItemEvents + { + private readonly global::Xamarin.Forms.SwipeItem _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwipeItemEvents(global::Xamarin.Forms.SwipeItem data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Invoked => global::System.Reactive.Linq.Observable.FromEvent, global::System.EventArgs>(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Invoked += x, x => _data.Invoked -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwipeItemsEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.SwipeItems _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwipeItemsEvents(global::Xamarin.Forms.SwipeItems data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CollectionChanged += x, x => _data.CollectionChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwipeItemViewEvents : global::Xamarin.Forms.RxLayoutEvents + { + private readonly global::Xamarin.Forms.SwipeItemView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwipeItemViewEvents(global::Xamarin.Forms.SwipeItemView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Invoked => global::System.Reactive.Linq.Observable.FromEvent, global::System.EventArgs>(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Invoked += x, x => _data.Invoked -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwipeViewEvents : global::Xamarin.Forms.RxLayoutEvents + { + private readonly global::Xamarin.Forms.SwipeView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwipeViewEvents(global::Xamarin.Forms.SwipeView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CloseRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CloseRequested += x, x => _data.CloseRequested -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable OpenRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.OpenSwipeEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.OpenSwipeEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.OpenRequested += x, x => _data.OpenRequested -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SwipeChanging => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.SwipeChangingEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SwipeChangingEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SwipeChanging += x, x => _data.SwipeChanging -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SwipeEnded => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.SwipeEndedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SwipeEndedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SwipeEnded += x, x => _data.SwipeEnded -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SwipeStarted => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.SwipeStartedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SwipeStartedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SwipeStarted += x, x => _data.SwipeStarted -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwitchEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Switch _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwitchEvents(global::Xamarin.Forms.Switch data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Toggled => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ToggledEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ToggledEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Toggled += x, x => _data.Toggled -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwitchCellEvents : global::Xamarin.Forms.RxCellEvents + { + private readonly global::Xamarin.Forms.SwitchCell _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwitchCellEvents(global::Xamarin.Forms.SwitchCell data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable OnChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ToggledEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ToggledEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.OnChanged += x, x => _data.OnChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxTableViewEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.TableView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxTableViewEvents(global::Xamarin.Forms.TableView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ModelChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ModelChanged += x, x => _data.ModelChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxTapGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.TapGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxTapGestureRecognizerEvents(global::Xamarin.Forms.TapGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Tapped => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Tapped += x, x => _data.Tapped -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxToolbarItemEvents : global::Xamarin.Forms.RxMenuItemEvents + { + private readonly global::Xamarin.Forms.ToolbarItem _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxToolbarItemEvents(global::Xamarin.Forms.ToolbarItem data): base(data) + { + _data = data; + } + + /// + /// 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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Activated += x, x => _data.Activated -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxVisualElementEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.VisualElement _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxVisualElementEvents(global::Xamarin.Forms.VisualElement data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable> BatchCommitted => global::System.Reactive.Linq.Observable.FromEvent>, global::Xamarin.Forms.Internals.EventArg>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EventArg e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.VisualElement.FocusRequestArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.VisualElement.FocusRequestArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.FocusEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.FocusEventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.FocusEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.FocusEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Unfocused += x, x => _data.Unfocused -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxWebViewEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.WebView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxWebViewEvents(global::Xamarin.Forms.WebView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable EvalRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Internals.EvalRequested>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EvalRequested e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.WebNavigatedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.WebNavigatedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.WebNavigatingEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.WebNavigatingEventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ReloadRequested += x, x => _data.ReloadRequested -= x); + } +} + +namespace Xamarin.Forms.Internals +{ + /// + /// A class that contains extension methods to wrap events for classes contained within the namespace. + /// + public static class EventExtensions + { + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxDeviceInfoEvents Events(this global::Xamarin.Forms.Internals.DeviceInfo item) => new RxDeviceInfoEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIResourceDictionaryEvents Events(this global::Xamarin.Forms.Internals.IResourceDictionary item) => new RxIResourceDictionaryEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxTableModelEvents Events(this global::Xamarin.Forms.Internals.TableModel item) => new RxTableModelEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxToolbarTrackerEvents Events(this global::Xamarin.Forms.Internals.ToolbarTracker item) => new RxToolbarTrackerEvents(item); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxDeviceInfoEvents + { + private readonly global::Xamarin.Forms.Internals.DeviceInfo _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxDeviceInfoEvents(global::Xamarin.Forms.Internals.DeviceInfo data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PropertyChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PropertyChanged += x, x => _data.PropertyChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIResourceDictionaryEvents + { + private readonly global::Xamarin.Forms.Internals.IResourceDictionary _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIResourceDictionaryEvents(global::Xamarin.Forms.Internals.IResourceDictionary data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ValuesChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Internals.ResourcesChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.ResourcesChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ValuesChanged += x, x => _data.ValuesChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxTableModelEvents + { + private readonly global::Xamarin.Forms.Internals.TableModel _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxTableModelEvents(global::Xamarin.Forms.Internals.TableModel data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable> ItemLongPressed => global::System.Reactive.Linq.Observable.FromEvent>, global::Xamarin.Forms.Internals.EventArg>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EventArg e) => eventHandler(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.FromEvent>, global::Xamarin.Forms.Internals.EventArg>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EventArg e) => eventHandler(e); + return Handler; + }, x => _data.ItemSelected += x, x => _data.ItemSelected -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxToolbarTrackerEvents + { + private readonly global::Xamarin.Forms.Internals.ToolbarTracker _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxToolbarTrackerEvents(global::Xamarin.Forms.Internals.ToolbarTracker data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CollectionChanged += x, x => _data.CollectionChanged -= x); + } +} + +namespace Xamarin.Forms.Platform.UWP +{ + /// + /// A class that contains extension methods to wrap events for classes contained within the namespace. + /// + public static class EventExtensions + { + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxCarouselPageRendererEvents Events(this global::Xamarin.Forms.Platform.UWP.CarouselPageRenderer item) => new RxCarouselPageRendererEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxEntryCellRendererCompletedEvents Events(this global::Xamarin.Forms.Platform.UWP.EntryCellRendererCompleted item) => new RxEntryCellRendererCompletedEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxFormsFlyoutEvents Events(this global::Xamarin.Forms.Platform.UWP.FormsFlyout item) => new RxFormsFlyoutEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIVisualElementRendererEvents Events(this global::Xamarin.Forms.Platform.UWP.IVisualElementRenderer item) => new RxIVisualElementRendererEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIVisualNativeElementRendererEvents Events(this global::Xamarin.Forms.Platform.UWP.IVisualNativeElementRenderer item) => new RxIVisualNativeElementRendererEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxMasterDetailPageRendererEvents Events(this global::Xamarin.Forms.Platform.UWP.MasterDetailPageRenderer item) => new RxMasterDetailPageRendererEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxNavigationPageRendererEvents Events(this global::Xamarin.Forms.Platform.UWP.NavigationPageRenderer item) => new RxNavigationPageRendererEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxStepperControlEvents Events(this global::Xamarin.Forms.Platform.UWP.StepperControl item) => new RxStepperControlEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxTabbedPageRendererEvents Events(this global::Xamarin.Forms.Platform.UWP.TabbedPageRenderer item) => new RxTabbedPageRendererEvents(item); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxCarouselPageRendererEvents + { + private readonly global::Xamarin.Forms.Platform.UWP.CarouselPageRenderer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxCarouselPageRendererEvents(global::Xamarin.Forms.Platform.UWP.CarouselPageRenderer data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.UWP.VisualElementChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.UWP.VisualElementChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ElementChanged += x, x => _data.ElementChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxEntryCellRendererCompletedEvents + { + private readonly global::Xamarin.Forms.Platform.UWP.EntryCellRendererCompleted _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxEntryCellRendererCompletedEvents(global::Xamarin.Forms.Platform.UWP.EntryCellRendererCompleted data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CanExecuteChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CanExecuteChanged += x, x => _data.CanExecuteChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxFormsFlyoutEvents + { + private readonly global::Xamarin.Forms.Platform.UWP.FormsFlyout _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxFormsFlyoutEvents(global::Xamarin.Forms.Platform.UWP.FormsFlyout data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable OptionSelected => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.OptionSelected += x, x => _data.OptionSelected -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIVisualElementRendererEvents + { + private readonly global::Xamarin.Forms.Platform.UWP.IVisualElementRenderer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIVisualElementRendererEvents(global::Xamarin.Forms.Platform.UWP.IVisualElementRenderer data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.UWP.VisualElementChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.UWP.VisualElementChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ElementChanged += x, x => _data.ElementChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIVisualNativeElementRendererEvents + { + private readonly global::Xamarin.Forms.Platform.UWP.IVisualNativeElementRenderer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIVisualNativeElementRendererEvents(global::Xamarin.Forms.Platform.UWP.IVisualNativeElementRenderer data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ControlChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ControlChanged += x, x => _data.ControlChanged -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ControlChanging => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ControlChanging += x, x => _data.ControlChanging -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ElementPropertyChanged => global::System.Reactive.Linq.Observable.FromEvent, global::System.ComponentModel.PropertyChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ElementPropertyChanged += x, x => _data.ElementPropertyChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxMasterDetailPageRendererEvents + { + private readonly global::Xamarin.Forms.Platform.UWP.MasterDetailPageRenderer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxMasterDetailPageRendererEvents(global::Xamarin.Forms.Platform.UWP.MasterDetailPageRenderer data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.UWP.VisualElementChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.UWP.VisualElementChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ElementChanged += x, x => _data.ElementChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxNavigationPageRendererEvents + { + private readonly global::Xamarin.Forms.Platform.UWP.NavigationPageRenderer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxNavigationPageRendererEvents(global::Xamarin.Forms.Platform.UWP.NavigationPageRenderer data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.UWP.VisualElementChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.UWP.VisualElementChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ElementChanged += x, x => _data.ElementChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxStepperControlEvents + { + private readonly global::Xamarin.Forms.Platform.UWP.StepperControl _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxStepperControlEvents(global::Xamarin.Forms.Platform.UWP.StepperControl data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ValueChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ValueChanged += x, x => _data.ValueChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxTabbedPageRendererEvents + { + private readonly global::Xamarin.Forms.Platform.UWP.TabbedPageRenderer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxTabbedPageRendererEvents(global::Xamarin.Forms.Platform.UWP.TabbedPageRenderer data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ElementChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Platform.UWP.VisualElementChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Platform.UWP.VisualElementChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ElementChanged += x, x => _data.ElementChanged -= x); + } +} + +namespace Xamarin.Forms.Platform.WinRT +{ + /// + /// A class that contains extension methods to wrap events for classes contained within the namespace. + /// + public static class EventExtensions + { + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxStepperControlEvents Events(this global::Xamarin.Forms.Platform.WinRT.StepperControl item) => new RxStepperControlEvents(item); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxStepperControlEvents + { + private readonly global::Xamarin.Forms.Platform.WinRT.StepperControl _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxStepperControlEvents(global::Xamarin.Forms.Platform.WinRT.StepperControl data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ValueChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ValueChanged += x, x => _data.ValueChanged -= x); + } +} + +namespace Xamarin.Forms.PlatformConfiguration.TizenSpecific +{ + /// + /// A class that contains extension methods to wrap events for classes contained within the namespace. + /// + public static class EventExtensions + { + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIMediaPlayerEvents Events(this global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.IMediaPlayer item) => new RxIMediaPlayerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIPlatformMediaPlayerEvents Events(this global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.IPlatformMediaPlayer item) => new RxIPlatformMediaPlayerEvents(item); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIMediaPlayerEvents + { + private readonly global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.IMediaPlayer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIMediaPlayerEvents(global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.IMediaPlayer data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackPaused => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackPaused += x, x => _data.PlaybackPaused -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackStarted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackStarted += x, x => _data.PlaybackStarted -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackStopped => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackStopped += x, x => _data.PlaybackStopped -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIPlatformMediaPlayerEvents + { + private readonly global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.IPlatformMediaPlayer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIPlatformMediaPlayerEvents(global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.IPlatformMediaPlayer data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable BufferingProgressUpdated => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.BufferingProgressUpdatedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.BufferingProgressUpdatedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.BufferingProgressUpdated += x, x => _data.BufferingProgressUpdated -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ErrorOccurred => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackCompleted += x, x => _data.PlaybackCompleted -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackPaused => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackPaused += x, x => _data.PlaybackPaused -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackStarted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackStarted += x, x => _data.PlaybackStarted -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackStopped => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackStopped += x, x => _data.PlaybackStopped -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable UpdateStreamInfo => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.UpdateStreamInfo += x, x => _data.UpdateStreamInfo -= x); + } +} \ No newline at end of file diff --git a/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Forms.4.8.0.1821.xamarinios10.approved.txt b/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Forms.4.8.0.1821.xamarinios10.approved.txt new file mode 100644 index 0000000..dfb5975 --- /dev/null +++ b/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Forms.4.8.0.1821.xamarinios10.approved.txt @@ -0,0 +1,3121 @@ + +using global::System; +using global::System.Reactive; +using global::System.Reactive.Linq; +using global::System.Reactive.Subjects; +using global::Pharmacist.Common; + +namespace Xamarin.Forms +{ + /// + /// A class that contains extension methods to wrap events for classes contained within the namespace. + /// + public static class EventExtensions + { + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxApplicationEvents Events(this global::Xamarin.Forms.Application item) => new RxApplicationEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxBaseShellItemEvents Events(this global::Xamarin.Forms.BaseShellItem item) => new RxBaseShellItemEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxBindableObjectEvents Events(this global::Xamarin.Forms.BindableObject item) => new RxBindableObjectEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxButtonEvents Events(this global::Xamarin.Forms.Button item) => new RxButtonEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxCarouselViewEvents Events(this global::Xamarin.Forms.CarouselView item) => new RxCarouselViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxCellEvents Events(this global::Xamarin.Forms.Cell item) => new RxCellEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxCheckBoxEvents Events(this global::Xamarin.Forms.CheckBox item) => new RxCheckBoxEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxChildGestureRecognizerEvents Events(this global::Xamarin.Forms.ChildGestureRecognizer item) => new RxChildGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxClickGestureRecognizerEvents Events(this global::Xamarin.Forms.ClickGestureRecognizer item) => new RxClickGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxColumnDefinitionEvents Events(this global::Xamarin.Forms.ColumnDefinition item) => new RxColumnDefinitionEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxCommandEvents Events(this global::Xamarin.Forms.Command item) => new RxCommandEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxDatePickerEvents Events(this global::Xamarin.Forms.DatePicker item) => new RxDatePickerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxDragGestureRecognizerEvents Events(this global::Xamarin.Forms.DragGestureRecognizer item) => new RxDragGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxDropGestureRecognizerEvents Events(this global::Xamarin.Forms.DropGestureRecognizer item) => new RxDropGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxEditorEvents Events(this global::Xamarin.Forms.Editor item) => new RxEditorEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxElementEvents Events(this global::Xamarin.Forms.Element item) => new RxElementEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxEntryEvents Events(this global::Xamarin.Forms.Entry item) => new RxEntryEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxEntryCellEvents Events(this global::Xamarin.Forms.EntryCell item) => new RxEntryCellEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxExpanderEvents Events(this global::Xamarin.Forms.Expander item) => new RxExpanderEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxICellControllerEvents Events(this global::Xamarin.Forms.ICellController item) => new RxICellControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIDefinitionEvents Events(this global::Xamarin.Forms.IDefinition item) => new RxIDefinitionEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIElementControllerEvents Events(this global::Xamarin.Forms.IElementController item) => new RxIElementControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxILayoutEvents Events(this global::Xamarin.Forms.ILayout item) => new RxILayoutEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIListProxyEvents Events(this global::Xamarin.Forms.IListProxy item) => new RxIListProxyEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIListViewControllerEvents Events(this global::Xamarin.Forms.IListViewController item) => new RxIListViewControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxImageButtonEvents Events(this global::Xamarin.Forms.ImageButton item) => new RxImageButtonEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIMasterDetailPageControllerEvents Events(this global::Xamarin.Forms.IMasterDetailPageController item) => new RxIMasterDetailPageControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxINavigationPageControllerEvents Events(this global::Xamarin.Forms.INavigationPageController item) => new RxINavigationPageControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxInputViewEvents Events(this global::Xamarin.Forms.InputView item) => new RxInputViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIOpenGlViewControllerEvents Events(this global::Xamarin.Forms.IOpenGlViewController item) => new RxIOpenGlViewControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIScrollViewControllerEvents Events(this global::Xamarin.Forms.IScrollViewController item) => new RxIScrollViewControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxISearchHandlerControllerEvents Events(this global::Xamarin.Forms.ISearchHandlerController item) => new RxISearchHandlerControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIShellContentControllerEvents Events(this global::Xamarin.Forms.IShellContentController item) => new RxIShellContentControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIShellControllerEvents Events(this global::Xamarin.Forms.IShellController item) => new RxIShellControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIShellItemControllerEvents Events(this global::Xamarin.Forms.IShellItemController item) => new RxIShellItemControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIShellSectionControllerEvents Events(this global::Xamarin.Forms.IShellSectionController item) => new RxIShellSectionControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxISwipeItemEvents Events(this global::Xamarin.Forms.ISwipeItem item) => new RxISwipeItemEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxITableViewControllerEvents Events(this global::Xamarin.Forms.ITableViewController item) => new RxITableViewControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxItemsViewEvents Events(this global::Xamarin.Forms.ItemsView item) => new RxItemsViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIVisualElementControllerEvents Events(this global::Xamarin.Forms.IVisualElementController item) => new RxIVisualElementControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIWebViewControllerEvents Events(this global::Xamarin.Forms.IWebViewController item) => new RxIWebViewControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxLayoutEvents Events(this global::Xamarin.Forms.Layout item) => new RxLayoutEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxListViewEvents Events(this global::Xamarin.Forms.ListView item) => new RxListViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxMarshalingObservableCollectionEvents Events(this global::Xamarin.Forms.MarshalingObservableCollection item) => new RxMarshalingObservableCollectionEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxMasterDetailPageEvents Events(this global::Xamarin.Forms.MasterDetailPage item) => new RxMasterDetailPageEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxMediaElementEvents Events(this global::Xamarin.Forms.MediaElement item) => new RxMediaElementEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxMenuItemEvents Events(this global::Xamarin.Forms.MenuItem item) => new RxMenuItemEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxNavigationPageEvents Events(this global::Xamarin.Forms.NavigationPage item) => new RxNavigationPageEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxOpenGLViewEvents Events(this global::Xamarin.Forms.OpenGLView item) => new RxOpenGLViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxPageEvents Events(this global::Xamarin.Forms.Page item) => new RxPageEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxPanGestureRecognizerEvents Events(this global::Xamarin.Forms.PanGestureRecognizer item) => new RxPanGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxPickerEvents Events(this global::Xamarin.Forms.Picker item) => new RxPickerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxPinchGestureRecognizerEvents Events(this global::Xamarin.Forms.PinchGestureRecognizer item) => new RxPinchGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxRadioButtonEvents Events(this global::Xamarin.Forms.RadioButton item) => new RxRadioButtonEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxRefreshViewEvents Events(this global::Xamarin.Forms.RefreshView item) => new RxRefreshViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxRowDefinitionEvents Events(this global::Xamarin.Forms.RowDefinition item) => new RxRowDefinitionEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxScrollViewEvents Events(this global::Xamarin.Forms.ScrollView item) => new RxScrollViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSearchBarEvents Events(this global::Xamarin.Forms.SearchBar item) => new RxSearchBarEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSearchHandlerEvents Events(this global::Xamarin.Forms.SearchHandler item) => new RxSearchHandlerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSelectableItemsViewEvents Events(this global::Xamarin.Forms.SelectableItemsView item) => new RxSelectableItemsViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxShellEvents Events(this global::Xamarin.Forms.Shell item) => new RxShellEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSliderEvents Events(this global::Xamarin.Forms.Slider item) => new RxSliderEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxStateTriggerBaseEvents Events(this global::Xamarin.Forms.StateTriggerBase item) => new RxStateTriggerBaseEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxStepperEvents Events(this global::Xamarin.Forms.Stepper item) => new RxStepperEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwipeGestureRecognizerEvents Events(this global::Xamarin.Forms.SwipeGestureRecognizer item) => new RxSwipeGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwipeItemEvents Events(this global::Xamarin.Forms.SwipeItem item) => new RxSwipeItemEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwipeItemsEvents Events(this global::Xamarin.Forms.SwipeItems item) => new RxSwipeItemsEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwipeItemViewEvents Events(this global::Xamarin.Forms.SwipeItemView item) => new RxSwipeItemViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwipeViewEvents Events(this global::Xamarin.Forms.SwipeView item) => new RxSwipeViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwitchEvents Events(this global::Xamarin.Forms.Switch item) => new RxSwitchEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwitchCellEvents Events(this global::Xamarin.Forms.SwitchCell item) => new RxSwitchCellEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxTableViewEvents Events(this global::Xamarin.Forms.TableView item) => new RxTableViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxTapGestureRecognizerEvents Events(this global::Xamarin.Forms.TapGestureRecognizer item) => new RxTapGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxToolbarItemEvents Events(this global::Xamarin.Forms.ToolbarItem item) => new RxToolbarItemEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxVisualElementEvents Events(this global::Xamarin.Forms.VisualElement item) => new RxVisualElementEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxWebViewEvents Events(this global::Xamarin.Forms.WebView item) => new RxWebViewEvents(item); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxApplicationEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.Application _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxApplicationEvents(global::Xamarin.Forms.Application data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ModalPopped => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ModalPoppedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ModalPoppedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ModalPoppingEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ModalPoppingEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ModalPushedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ModalPushedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ModalPushingEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ModalPushingEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Page>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Page e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Page>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Page e) => eventHandler(e); + return Handler; + }, x => _data.PageDisappearing += x, x => _data.PageDisappearing -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable RequestedThemeChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.AppThemeChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.AppThemeChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.RequestedThemeChanged += x, x => _data.RequestedThemeChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxBaseShellItemEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.BaseShellItem _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxBaseShellItemEvents(global::Xamarin.Forms.BaseShellItem data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Appearing => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Disappearing += x, x => _data.Disappearing -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxBindableObjectEvents + { + private readonly global::Xamarin.Forms.BindableObject _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxBindableObjectEvents(global::Xamarin.Forms.BindableObject data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable BindingContextChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.PropertyChangingEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PropertyChanging += x, x => _data.PropertyChanging -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxButtonEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Button _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxButtonEvents(global::Xamarin.Forms.Button data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Released += x, x => _data.Released -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxCarouselViewEvents : global::Xamarin.Forms.RxItemsViewEvents + { + private readonly global::Xamarin.Forms.CarouselView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxCarouselViewEvents(global::Xamarin.Forms.CarouselView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CurrentItemChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.CurrentItemChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.CurrentItemChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CurrentItemChanged += x, x => _data.CurrentItemChanged -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PositionChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.PositionChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.PositionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PositionChanged += x, x => _data.PositionChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxCellEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.Cell _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxCellEvents(global::Xamarin.Forms.Cell data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Appearing => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Tapped += x, x => _data.Tapped -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxCheckBoxEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.CheckBox _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxCheckBoxEvents(global::Xamarin.Forms.CheckBox data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CheckedChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.CheckedChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.CheckedChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CheckedChanged += x, x => _data.CheckedChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxChildGestureRecognizerEvents + { + private readonly global::Xamarin.Forms.ChildGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxChildGestureRecognizerEvents(global::Xamarin.Forms.ChildGestureRecognizer data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PropertyChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PropertyChanged += x, x => _data.PropertyChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxClickGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.ClickGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxClickGestureRecognizerEvents(global::Xamarin.Forms.ClickGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Clicked += x, x => _data.Clicked -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxColumnDefinitionEvents : global::Xamarin.Forms.RxBindableObjectEvents + { + private readonly global::Xamarin.Forms.ColumnDefinition _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxColumnDefinitionEvents(global::Xamarin.Forms.ColumnDefinition data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SizeChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SizeChanged += x, x => _data.SizeChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxCommandEvents + { + private readonly global::Xamarin.Forms.Command _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxCommandEvents(global::Xamarin.Forms.Command data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CanExecuteChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CanExecuteChanged += x, x => _data.CanExecuteChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxDatePickerEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.DatePicker _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxDatePickerEvents(global::Xamarin.Forms.DatePicker data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DateSelected => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.DateChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.DateChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DateSelected += x, x => _data.DateSelected -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxDragGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.DragGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxDragGestureRecognizerEvents(global::Xamarin.Forms.DragGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DragStarting => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.DragStartingEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.DragStartingEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DragStarting += x, x => _data.DragStarting -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DropCompleted => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.DropCompletedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.DropCompletedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DropCompleted += x, x => _data.DropCompleted -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxDropGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.DropGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxDropGestureRecognizerEvents(global::Xamarin.Forms.DropGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DragOver => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.DragEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.DragEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DragOver += x, x => _data.DragOver -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Drop => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.DropEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.DropEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Drop += x, x => _data.Drop -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxEditorEvents : global::Xamarin.Forms.RxInputViewEvents + { + private readonly global::Xamarin.Forms.Editor _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxEditorEvents(global::Xamarin.Forms.Editor data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Completed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Completed += x, x => _data.Completed -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxElementEvents : global::Xamarin.Forms.RxBindableObjectEvents + { + private readonly global::Xamarin.Forms.Element _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxElementEvents(global::Xamarin.Forms.Element data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ChildAdded => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ElementEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ElementEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ElementEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ElementEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ElementEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ElementEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ElementEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ElementEventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlatformSet += x, x => _data.PlatformSet -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxEntryEvents : global::Xamarin.Forms.RxInputViewEvents + { + private readonly global::Xamarin.Forms.Entry _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxEntryEvents(global::Xamarin.Forms.Entry data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Completed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Completed += x, x => _data.Completed -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxEntryCellEvents : global::Xamarin.Forms.RxCellEvents + { + private readonly global::Xamarin.Forms.EntryCell _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxEntryCellEvents(global::Xamarin.Forms.EntryCell data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Completed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Completed += x, x => _data.Completed -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxExpanderEvents : global::Xamarin.Forms.RxLayoutEvents + { + private readonly global::Xamarin.Forms.Expander _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxExpanderEvents(global::Xamarin.Forms.Expander data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Tapped => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Tapped += x, x => _data.Tapped -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxICellControllerEvents + { + private readonly global::Xamarin.Forms.ICellController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxICellControllerEvents(global::Xamarin.Forms.ICellController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ForceUpdateSizeRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ForceUpdateSizeRequested += x, x => _data.ForceUpdateSizeRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIDefinitionEvents + { + private readonly global::Xamarin.Forms.IDefinition _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIDefinitionEvents(global::Xamarin.Forms.IDefinition data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SizeChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SizeChanged += x, x => _data.SizeChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIElementControllerEvents + { + private readonly global::Xamarin.Forms.IElementController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIElementControllerEvents(global::Xamarin.Forms.IElementController data) + { + _data = data; + } + + /// + /// 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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlatformSet += x, x => _data.PlatformSet -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxILayoutEvents + { + private readonly global::Xamarin.Forms.ILayout _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxILayoutEvents(global::Xamarin.Forms.ILayout data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable LayoutChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.LayoutChanged += x, x => _data.LayoutChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIListProxyEvents + { + private readonly global::Xamarin.Forms.IListProxy _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIListProxyEvents(global::Xamarin.Forms.IListProxy data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CollectionChanged += x, x => _data.CollectionChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIListViewControllerEvents + { + private readonly global::Xamarin.Forms.IListViewController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIListViewControllerEvents(global::Xamarin.Forms.IListViewController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ScrollToRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ScrollToRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrollToRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxImageButtonEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.ImageButton _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxImageButtonEvents(global::Xamarin.Forms.ImageButton data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Released += x, x => _data.Released -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIMasterDetailPageControllerEvents + { + private readonly global::Xamarin.Forms.IMasterDetailPageController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIMasterDetailPageControllerEvents(global::Xamarin.Forms.IMasterDetailPageController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable BackButtonPressed => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.BackButtonPressedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.BackButtonPressedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.BackButtonPressed += x, x => _data.BackButtonPressed -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxINavigationPageControllerEvents + { + private readonly global::Xamarin.Forms.INavigationPageController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxINavigationPageControllerEvents(global::Xamarin.Forms.INavigationPageController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable InsertPageBeforeRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.RemovePageRequested += x, x => _data.RemovePageRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxInputViewEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.InputView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxInputViewEvents(global::Xamarin.Forms.InputView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable TextChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.TextChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.TextChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.TextChanged += x, x => _data.TextChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIOpenGlViewControllerEvents + { + private readonly global::Xamarin.Forms.IOpenGlViewController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIOpenGlViewControllerEvents(global::Xamarin.Forms.IOpenGlViewController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DisplayRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DisplayRequested += x, x => _data.DisplayRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIScrollViewControllerEvents + { + private readonly global::Xamarin.Forms.IScrollViewController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIScrollViewControllerEvents(global::Xamarin.Forms.IScrollViewController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ScrollToRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ScrollToRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrollToRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxISearchHandlerControllerEvents + { + private readonly global::Xamarin.Forms.ISearchHandlerController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxISearchHandlerControllerEvents(global::Xamarin.Forms.ISearchHandlerController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ListProxyChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ListProxyChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ListProxyChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ListProxyChanged += x, x => _data.ListProxyChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIShellContentControllerEvents + { + private readonly global::Xamarin.Forms.IShellContentController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIShellContentControllerEvents(global::Xamarin.Forms.IShellContentController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable IsPageVisibleChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.IsPageVisibleChanged += x, x => _data.IsPageVisibleChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIShellControllerEvents + { + private readonly global::Xamarin.Forms.IShellController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIShellControllerEvents(global::Xamarin.Forms.IShellController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ItemsCollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ItemsCollectionChanged += x, x => _data.ItemsCollectionChanged -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable StructureChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.StructureChanged += x, x => _data.StructureChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIShellItemControllerEvents + { + private readonly global::Xamarin.Forms.IShellItemController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIShellItemControllerEvents(global::Xamarin.Forms.IShellItemController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ItemsCollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ItemsCollectionChanged += x, x => _data.ItemsCollectionChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIShellSectionControllerEvents + { + private readonly global::Xamarin.Forms.IShellSectionController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIShellSectionControllerEvents(global::Xamarin.Forms.IShellSectionController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ItemsCollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ItemsCollectionChanged += x, x => _data.ItemsCollectionChanged -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable NavigationRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.NavigationRequested += x, x => _data.NavigationRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxISwipeItemEvents + { + private readonly global::Xamarin.Forms.ISwipeItem _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxISwipeItemEvents(global::Xamarin.Forms.ISwipeItem data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Invoked => global::System.Reactive.Linq.Observable.FromEvent, global::System.EventArgs>(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Invoked += x, x => _data.Invoked -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxITableViewControllerEvents + { + private readonly global::Xamarin.Forms.ITableViewController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxITableViewControllerEvents(global::Xamarin.Forms.ITableViewController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ModelChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ModelChanged += x, x => _data.ModelChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxItemsViewEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.ItemsView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxItemsViewEvents(global::Xamarin.Forms.ItemsView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable RemainingItemsThresholdReached => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.RemainingItemsThresholdReached += x, x => _data.RemainingItemsThresholdReached -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Scrolled => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ItemsViewScrolledEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ItemsViewScrolledEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ScrollToRequestEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrollToRequestEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIVisualElementControllerEvents + { + private readonly global::Xamarin.Forms.IVisualElementController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIVisualElementControllerEvents(global::Xamarin.Forms.IVisualElementController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable> BatchCommitted => global::System.Reactive.Linq.Observable.FromEvent>, global::Xamarin.Forms.Internals.EventArg>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EventArg e) => eventHandler(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.FromEvent, global::Xamarin.Forms.VisualElement.FocusRequestArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.VisualElement.FocusRequestArgs e) => eventHandler(e); + return Handler; + }, x => _data.FocusChangeRequested += x, x => _data.FocusChangeRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIWebViewControllerEvents + { + private readonly global::Xamarin.Forms.IWebViewController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIWebViewControllerEvents(global::Xamarin.Forms.IWebViewController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable EvalRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Internals.EvalRequested>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EvalRequested e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ReloadRequested += x, x => _data.ReloadRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxLayoutEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Layout _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxLayoutEvents(global::Xamarin.Forms.Layout data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable LayoutChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.LayoutChanged += x, x => _data.LayoutChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxListViewEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.ListView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxListViewEvents(global::Xamarin.Forms.ListView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ItemAppearing => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ItemVisibilityEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ItemVisibilityEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ItemVisibilityEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ItemVisibilityEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.SelectedItemChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SelectedItemChangedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ItemTappedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ItemTappedEventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Refreshing += x, x => _data.Refreshing -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Scrolled => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ScrolledEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrolledEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ScrollToRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrollToRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxMarshalingObservableCollectionEvents + { + private readonly global::Xamarin.Forms.MarshalingObservableCollection _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxMarshalingObservableCollectionEvents(global::Xamarin.Forms.MarshalingObservableCollection data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CollectionChanged += x, x => _data.CollectionChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxMasterDetailPageEvents : global::Xamarin.Forms.RxPageEvents + { + private readonly global::Xamarin.Forms.MasterDetailPage _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxMasterDetailPageEvents(global::Xamarin.Forms.MasterDetailPage data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable BackButtonPressed => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.BackButtonPressedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.BackButtonPressedEventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.IsPresentedChanged += x, x => _data.IsPresentedChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxMediaElementEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.MediaElement _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxMediaElementEvents(global::Xamarin.Forms.MediaElement data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable MediaEnded => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.MediaEnded += x, x => _data.MediaEnded -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable MediaFailed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.MediaFailed += x, x => _data.MediaFailed -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable MediaOpened => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.MediaOpened += x, x => _data.MediaOpened -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PositionRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PositionRequested += x, x => _data.PositionRequested -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SeekCompleted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SeekCompleted += x, x => _data.SeekCompleted -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SeekRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.SeekRequested>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SeekRequested e) => eventHandler(e); + return Handler; + }, x => _data.SeekRequested += x, x => _data.SeekRequested -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable StateRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.StateRequested>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.StateRequested e) => eventHandler(e); + return Handler; + }, x => _data.StateRequested += x, x => _data.StateRequested -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable VolumeRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.VolumeRequested += x, x => _data.VolumeRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxMenuItemEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.MenuItem _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxMenuItemEvents(global::Xamarin.Forms.MenuItem data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Clicked += x, x => _data.Clicked -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxNavigationPageEvents : global::Xamarin.Forms.RxPageEvents + { + private readonly global::Xamarin.Forms.NavigationPage _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxNavigationPageEvents(global::Xamarin.Forms.NavigationPage data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable InsertPageBeforeRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.NavigationEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.NavigationEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.NavigationEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.NavigationEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.NavigationEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.NavigationEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.RemovePageRequested += x, x => _data.RemovePageRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxOpenGLViewEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.OpenGLView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxOpenGLViewEvents(global::Xamarin.Forms.OpenGLView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DisplayRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DisplayRequested += x, x => _data.DisplayRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxPageEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Page _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxPageEvents(global::Xamarin.Forms.Page data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Appearing => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.LayoutChanged += x, x => _data.LayoutChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxPanGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.PanGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxPanGestureRecognizerEvents(global::Xamarin.Forms.PanGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PanUpdated => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.PanUpdatedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.PanUpdatedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PanUpdated += x, x => _data.PanUpdated -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxPickerEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Picker _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxPickerEvents(global::Xamarin.Forms.Picker data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SelectedIndexChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SelectedIndexChanged += x, x => _data.SelectedIndexChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxPinchGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.PinchGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxPinchGestureRecognizerEvents(global::Xamarin.Forms.PinchGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PinchUpdated => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.PinchGestureUpdatedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.PinchGestureUpdatedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PinchUpdated += x, x => _data.PinchUpdated -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxRadioButtonEvents : global::Xamarin.Forms.RxButtonEvents + { + private readonly global::Xamarin.Forms.RadioButton _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxRadioButtonEvents(global::Xamarin.Forms.RadioButton data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CheckedChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.CheckedChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.CheckedChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CheckedChanged += x, x => _data.CheckedChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxRefreshViewEvents : global::Xamarin.Forms.RxLayoutEvents + { + private readonly global::Xamarin.Forms.RefreshView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxRefreshViewEvents(global::Xamarin.Forms.RefreshView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Refreshing => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Refreshing += x, x => _data.Refreshing -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxRowDefinitionEvents : global::Xamarin.Forms.RxBindableObjectEvents + { + private readonly global::Xamarin.Forms.RowDefinition _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxRowDefinitionEvents(global::Xamarin.Forms.RowDefinition data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SizeChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SizeChanged += x, x => _data.SizeChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxScrollViewEvents : global::Xamarin.Forms.RxLayoutEvents + { + private readonly global::Xamarin.Forms.ScrollView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxScrollViewEvents(global::Xamarin.Forms.ScrollView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Scrolled => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ScrolledEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrolledEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ScrollToRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrollToRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSearchBarEvents : global::Xamarin.Forms.RxInputViewEvents + { + private readonly global::Xamarin.Forms.SearchBar _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSearchBarEvents(global::Xamarin.Forms.SearchBar data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SearchButtonPressed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SearchButtonPressed += x, x => _data.SearchButtonPressed -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSearchHandlerEvents : global::Xamarin.Forms.RxBindableObjectEvents + { + private readonly global::Xamarin.Forms.SearchHandler _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSearchHandlerEvents(global::Xamarin.Forms.SearchHandler data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable FocusChangeRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.VisualElement.FocusRequestArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.VisualElement.FocusRequestArgs e) => eventHandler(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.FromEvent, global::System.EventArgs>(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent, global::System.EventArgs>(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Unfocused += x, x => _data.Unfocused -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSelectableItemsViewEvents : global::Xamarin.Forms.RxItemsViewEvents + { + private readonly global::Xamarin.Forms.SelectableItemsView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSelectableItemsViewEvents(global::Xamarin.Forms.SelectableItemsView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SelectionChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.SelectionChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SelectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SelectionChanged += x, x => _data.SelectionChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxShellEvents : global::Xamarin.Forms.RxPageEvents + { + private readonly global::Xamarin.Forms.Shell _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxShellEvents(global::Xamarin.Forms.Shell data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Navigated => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ShellNavigatedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ShellNavigatedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ShellNavigatingEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ShellNavigatingEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Navigating += x, x => _data.Navigating -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSliderEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Slider _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSliderEvents(global::Xamarin.Forms.Slider data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DragCompleted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ValueChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ValueChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ValueChanged += x, x => _data.ValueChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxStateTriggerBaseEvents : global::Xamarin.Forms.RxBindableObjectEvents + { + private readonly global::Xamarin.Forms.StateTriggerBase _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxStateTriggerBaseEvents(global::Xamarin.Forms.StateTriggerBase data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable IsActiveChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.IsActiveChanged += x, x => _data.IsActiveChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxStepperEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Stepper _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxStepperEvents(global::Xamarin.Forms.Stepper data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ValueChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ValueChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ValueChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ValueChanged += x, x => _data.ValueChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwipeGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.SwipeGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwipeGestureRecognizerEvents(global::Xamarin.Forms.SwipeGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Swiped => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.SwipedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SwipedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Swiped += x, x => _data.Swiped -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwipeItemEvents : global::Xamarin.Forms.RxMenuItemEvents + { + private readonly global::Xamarin.Forms.SwipeItem _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwipeItemEvents(global::Xamarin.Forms.SwipeItem data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Invoked => global::System.Reactive.Linq.Observable.FromEvent, global::System.EventArgs>(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Invoked += x, x => _data.Invoked -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwipeItemsEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.SwipeItems _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwipeItemsEvents(global::Xamarin.Forms.SwipeItems data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CollectionChanged += x, x => _data.CollectionChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwipeItemViewEvents : global::Xamarin.Forms.RxLayoutEvents + { + private readonly global::Xamarin.Forms.SwipeItemView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwipeItemViewEvents(global::Xamarin.Forms.SwipeItemView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Invoked => global::System.Reactive.Linq.Observable.FromEvent, global::System.EventArgs>(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Invoked += x, x => _data.Invoked -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwipeViewEvents : global::Xamarin.Forms.RxLayoutEvents + { + private readonly global::Xamarin.Forms.SwipeView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwipeViewEvents(global::Xamarin.Forms.SwipeView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CloseRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CloseRequested += x, x => _data.CloseRequested -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable OpenRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.OpenSwipeEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.OpenSwipeEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.OpenRequested += x, x => _data.OpenRequested -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SwipeChanging => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.SwipeChangingEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SwipeChangingEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SwipeChanging += x, x => _data.SwipeChanging -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SwipeEnded => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.SwipeEndedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SwipeEndedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SwipeEnded += x, x => _data.SwipeEnded -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SwipeStarted => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.SwipeStartedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SwipeStartedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SwipeStarted += x, x => _data.SwipeStarted -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwitchEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Switch _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwitchEvents(global::Xamarin.Forms.Switch data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Toggled => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ToggledEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ToggledEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Toggled += x, x => _data.Toggled -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwitchCellEvents : global::Xamarin.Forms.RxCellEvents + { + private readonly global::Xamarin.Forms.SwitchCell _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwitchCellEvents(global::Xamarin.Forms.SwitchCell data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable OnChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ToggledEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ToggledEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.OnChanged += x, x => _data.OnChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxTableViewEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.TableView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxTableViewEvents(global::Xamarin.Forms.TableView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ModelChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ModelChanged += x, x => _data.ModelChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxTapGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.TapGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxTapGestureRecognizerEvents(global::Xamarin.Forms.TapGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Tapped => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Tapped += x, x => _data.Tapped -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxToolbarItemEvents : global::Xamarin.Forms.RxMenuItemEvents + { + private readonly global::Xamarin.Forms.ToolbarItem _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxToolbarItemEvents(global::Xamarin.Forms.ToolbarItem data): base(data) + { + _data = data; + } + + /// + /// 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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Activated += x, x => _data.Activated -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxVisualElementEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.VisualElement _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxVisualElementEvents(global::Xamarin.Forms.VisualElement data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable> BatchCommitted => global::System.Reactive.Linq.Observable.FromEvent>, global::Xamarin.Forms.Internals.EventArg>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EventArg e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.VisualElement.FocusRequestArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.VisualElement.FocusRequestArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.FocusEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.FocusEventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.FocusEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.FocusEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Unfocused += x, x => _data.Unfocused -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxWebViewEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.WebView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxWebViewEvents(global::Xamarin.Forms.WebView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable EvalRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Internals.EvalRequested>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EvalRequested e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.WebNavigatedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.WebNavigatedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.WebNavigatingEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.WebNavigatingEventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ReloadRequested += x, x => _data.ReloadRequested -= x); + } +} + +namespace Xamarin.Forms.Internals +{ + /// + /// A class that contains extension methods to wrap events for classes contained within the namespace. + /// + public static class EventExtensions + { + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxDeviceInfoEvents Events(this global::Xamarin.Forms.Internals.DeviceInfo item) => new RxDeviceInfoEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIResourceDictionaryEvents Events(this global::Xamarin.Forms.Internals.IResourceDictionary item) => new RxIResourceDictionaryEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxTableModelEvents Events(this global::Xamarin.Forms.Internals.TableModel item) => new RxTableModelEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxToolbarTrackerEvents Events(this global::Xamarin.Forms.Internals.ToolbarTracker item) => new RxToolbarTrackerEvents(item); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxDeviceInfoEvents + { + private readonly global::Xamarin.Forms.Internals.DeviceInfo _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxDeviceInfoEvents(global::Xamarin.Forms.Internals.DeviceInfo data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PropertyChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PropertyChanged += x, x => _data.PropertyChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIResourceDictionaryEvents + { + private readonly global::Xamarin.Forms.Internals.IResourceDictionary _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIResourceDictionaryEvents(global::Xamarin.Forms.Internals.IResourceDictionary data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ValuesChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Internals.ResourcesChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.ResourcesChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ValuesChanged += x, x => _data.ValuesChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxTableModelEvents + { + private readonly global::Xamarin.Forms.Internals.TableModel _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxTableModelEvents(global::Xamarin.Forms.Internals.TableModel data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable> ItemLongPressed => global::System.Reactive.Linq.Observable.FromEvent>, global::Xamarin.Forms.Internals.EventArg>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EventArg e) => eventHandler(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.FromEvent>, global::Xamarin.Forms.Internals.EventArg>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EventArg e) => eventHandler(e); + return Handler; + }, x => _data.ItemSelected += x, x => _data.ItemSelected -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxToolbarTrackerEvents + { + private readonly global::Xamarin.Forms.Internals.ToolbarTracker _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxToolbarTrackerEvents(global::Xamarin.Forms.Internals.ToolbarTracker data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CollectionChanged += x, x => _data.CollectionChanged -= x); + } +} + +namespace Xamarin.Forms.PlatformConfiguration.TizenSpecific +{ + /// + /// A class that contains extension methods to wrap events for classes contained within the namespace. + /// + public static class EventExtensions + { + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIMediaPlayerEvents Events(this global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.IMediaPlayer item) => new RxIMediaPlayerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIPlatformMediaPlayerEvents Events(this global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.IPlatformMediaPlayer item) => new RxIPlatformMediaPlayerEvents(item); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIMediaPlayerEvents + { + private readonly global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.IMediaPlayer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIMediaPlayerEvents(global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.IMediaPlayer data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackPaused => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackPaused += x, x => _data.PlaybackPaused -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackStarted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackStarted += x, x => _data.PlaybackStarted -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackStopped => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackStopped += x, x => _data.PlaybackStopped -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIPlatformMediaPlayerEvents + { + private readonly global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.IPlatformMediaPlayer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIPlatformMediaPlayerEvents(global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.IPlatformMediaPlayer data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable BufferingProgressUpdated => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.BufferingProgressUpdatedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.BufferingProgressUpdatedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.BufferingProgressUpdated += x, x => _data.BufferingProgressUpdated -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ErrorOccurred => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackCompleted += x, x => _data.PlaybackCompleted -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackPaused => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackPaused += x, x => _data.PlaybackPaused -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackStarted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackStarted += x, x => _data.PlaybackStarted -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackStopped => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackStopped += x, x => _data.PlaybackStopped -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable UpdateStreamInfo => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.UpdateStreamInfo += x, x => _data.UpdateStreamInfo -= x); + } +} \ No newline at end of file diff --git a/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Forms.4.8.0.1821.xamarinmac20.approved.txt b/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Forms.4.8.0.1821.xamarinmac20.approved.txt new file mode 100644 index 0000000..dfb5975 --- /dev/null +++ b/src/Pharmacist.Tests/IntegrationTests/Approved/Xamarin.Forms.4.8.0.1821.xamarinmac20.approved.txt @@ -0,0 +1,3121 @@ + +using global::System; +using global::System.Reactive; +using global::System.Reactive.Linq; +using global::System.Reactive.Subjects; +using global::Pharmacist.Common; + +namespace Xamarin.Forms +{ + /// + /// A class that contains extension methods to wrap events for classes contained within the namespace. + /// + public static class EventExtensions + { + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxApplicationEvents Events(this global::Xamarin.Forms.Application item) => new RxApplicationEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxBaseShellItemEvents Events(this global::Xamarin.Forms.BaseShellItem item) => new RxBaseShellItemEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxBindableObjectEvents Events(this global::Xamarin.Forms.BindableObject item) => new RxBindableObjectEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxButtonEvents Events(this global::Xamarin.Forms.Button item) => new RxButtonEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxCarouselViewEvents Events(this global::Xamarin.Forms.CarouselView item) => new RxCarouselViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxCellEvents Events(this global::Xamarin.Forms.Cell item) => new RxCellEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxCheckBoxEvents Events(this global::Xamarin.Forms.CheckBox item) => new RxCheckBoxEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxChildGestureRecognizerEvents Events(this global::Xamarin.Forms.ChildGestureRecognizer item) => new RxChildGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxClickGestureRecognizerEvents Events(this global::Xamarin.Forms.ClickGestureRecognizer item) => new RxClickGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxColumnDefinitionEvents Events(this global::Xamarin.Forms.ColumnDefinition item) => new RxColumnDefinitionEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxCommandEvents Events(this global::Xamarin.Forms.Command item) => new RxCommandEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxDatePickerEvents Events(this global::Xamarin.Forms.DatePicker item) => new RxDatePickerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxDragGestureRecognizerEvents Events(this global::Xamarin.Forms.DragGestureRecognizer item) => new RxDragGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxDropGestureRecognizerEvents Events(this global::Xamarin.Forms.DropGestureRecognizer item) => new RxDropGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxEditorEvents Events(this global::Xamarin.Forms.Editor item) => new RxEditorEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxElementEvents Events(this global::Xamarin.Forms.Element item) => new RxElementEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxEntryEvents Events(this global::Xamarin.Forms.Entry item) => new RxEntryEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxEntryCellEvents Events(this global::Xamarin.Forms.EntryCell item) => new RxEntryCellEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxExpanderEvents Events(this global::Xamarin.Forms.Expander item) => new RxExpanderEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxICellControllerEvents Events(this global::Xamarin.Forms.ICellController item) => new RxICellControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIDefinitionEvents Events(this global::Xamarin.Forms.IDefinition item) => new RxIDefinitionEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIElementControllerEvents Events(this global::Xamarin.Forms.IElementController item) => new RxIElementControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxILayoutEvents Events(this global::Xamarin.Forms.ILayout item) => new RxILayoutEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIListProxyEvents Events(this global::Xamarin.Forms.IListProxy item) => new RxIListProxyEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIListViewControllerEvents Events(this global::Xamarin.Forms.IListViewController item) => new RxIListViewControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxImageButtonEvents Events(this global::Xamarin.Forms.ImageButton item) => new RxImageButtonEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIMasterDetailPageControllerEvents Events(this global::Xamarin.Forms.IMasterDetailPageController item) => new RxIMasterDetailPageControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxINavigationPageControllerEvents Events(this global::Xamarin.Forms.INavigationPageController item) => new RxINavigationPageControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxInputViewEvents Events(this global::Xamarin.Forms.InputView item) => new RxInputViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIOpenGlViewControllerEvents Events(this global::Xamarin.Forms.IOpenGlViewController item) => new RxIOpenGlViewControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIScrollViewControllerEvents Events(this global::Xamarin.Forms.IScrollViewController item) => new RxIScrollViewControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxISearchHandlerControllerEvents Events(this global::Xamarin.Forms.ISearchHandlerController item) => new RxISearchHandlerControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIShellContentControllerEvents Events(this global::Xamarin.Forms.IShellContentController item) => new RxIShellContentControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIShellControllerEvents Events(this global::Xamarin.Forms.IShellController item) => new RxIShellControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIShellItemControllerEvents Events(this global::Xamarin.Forms.IShellItemController item) => new RxIShellItemControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIShellSectionControllerEvents Events(this global::Xamarin.Forms.IShellSectionController item) => new RxIShellSectionControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxISwipeItemEvents Events(this global::Xamarin.Forms.ISwipeItem item) => new RxISwipeItemEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxITableViewControllerEvents Events(this global::Xamarin.Forms.ITableViewController item) => new RxITableViewControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxItemsViewEvents Events(this global::Xamarin.Forms.ItemsView item) => new RxItemsViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIVisualElementControllerEvents Events(this global::Xamarin.Forms.IVisualElementController item) => new RxIVisualElementControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIWebViewControllerEvents Events(this global::Xamarin.Forms.IWebViewController item) => new RxIWebViewControllerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxLayoutEvents Events(this global::Xamarin.Forms.Layout item) => new RxLayoutEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxListViewEvents Events(this global::Xamarin.Forms.ListView item) => new RxListViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxMarshalingObservableCollectionEvents Events(this global::Xamarin.Forms.MarshalingObservableCollection item) => new RxMarshalingObservableCollectionEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxMasterDetailPageEvents Events(this global::Xamarin.Forms.MasterDetailPage item) => new RxMasterDetailPageEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxMediaElementEvents Events(this global::Xamarin.Forms.MediaElement item) => new RxMediaElementEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxMenuItemEvents Events(this global::Xamarin.Forms.MenuItem item) => new RxMenuItemEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxNavigationPageEvents Events(this global::Xamarin.Forms.NavigationPage item) => new RxNavigationPageEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxOpenGLViewEvents Events(this global::Xamarin.Forms.OpenGLView item) => new RxOpenGLViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxPageEvents Events(this global::Xamarin.Forms.Page item) => new RxPageEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxPanGestureRecognizerEvents Events(this global::Xamarin.Forms.PanGestureRecognizer item) => new RxPanGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxPickerEvents Events(this global::Xamarin.Forms.Picker item) => new RxPickerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxPinchGestureRecognizerEvents Events(this global::Xamarin.Forms.PinchGestureRecognizer item) => new RxPinchGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxRadioButtonEvents Events(this global::Xamarin.Forms.RadioButton item) => new RxRadioButtonEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxRefreshViewEvents Events(this global::Xamarin.Forms.RefreshView item) => new RxRefreshViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxRowDefinitionEvents Events(this global::Xamarin.Forms.RowDefinition item) => new RxRowDefinitionEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxScrollViewEvents Events(this global::Xamarin.Forms.ScrollView item) => new RxScrollViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSearchBarEvents Events(this global::Xamarin.Forms.SearchBar item) => new RxSearchBarEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSearchHandlerEvents Events(this global::Xamarin.Forms.SearchHandler item) => new RxSearchHandlerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSelectableItemsViewEvents Events(this global::Xamarin.Forms.SelectableItemsView item) => new RxSelectableItemsViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxShellEvents Events(this global::Xamarin.Forms.Shell item) => new RxShellEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSliderEvents Events(this global::Xamarin.Forms.Slider item) => new RxSliderEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxStateTriggerBaseEvents Events(this global::Xamarin.Forms.StateTriggerBase item) => new RxStateTriggerBaseEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxStepperEvents Events(this global::Xamarin.Forms.Stepper item) => new RxStepperEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwipeGestureRecognizerEvents Events(this global::Xamarin.Forms.SwipeGestureRecognizer item) => new RxSwipeGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwipeItemEvents Events(this global::Xamarin.Forms.SwipeItem item) => new RxSwipeItemEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwipeItemsEvents Events(this global::Xamarin.Forms.SwipeItems item) => new RxSwipeItemsEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwipeItemViewEvents Events(this global::Xamarin.Forms.SwipeItemView item) => new RxSwipeItemViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwipeViewEvents Events(this global::Xamarin.Forms.SwipeView item) => new RxSwipeViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwitchEvents Events(this global::Xamarin.Forms.Switch item) => new RxSwitchEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxSwitchCellEvents Events(this global::Xamarin.Forms.SwitchCell item) => new RxSwitchCellEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxTableViewEvents Events(this global::Xamarin.Forms.TableView item) => new RxTableViewEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxTapGestureRecognizerEvents Events(this global::Xamarin.Forms.TapGestureRecognizer item) => new RxTapGestureRecognizerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxToolbarItemEvents Events(this global::Xamarin.Forms.ToolbarItem item) => new RxToolbarItemEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxVisualElementEvents Events(this global::Xamarin.Forms.VisualElement item) => new RxVisualElementEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxWebViewEvents Events(this global::Xamarin.Forms.WebView item) => new RxWebViewEvents(item); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxApplicationEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.Application _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxApplicationEvents(global::Xamarin.Forms.Application data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ModalPopped => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ModalPoppedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ModalPoppedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ModalPoppingEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ModalPoppingEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ModalPushedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ModalPushedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ModalPushingEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ModalPushingEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Page>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Page e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Page>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Page e) => eventHandler(e); + return Handler; + }, x => _data.PageDisappearing += x, x => _data.PageDisappearing -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable RequestedThemeChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.AppThemeChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.AppThemeChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.RequestedThemeChanged += x, x => _data.RequestedThemeChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxBaseShellItemEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.BaseShellItem _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxBaseShellItemEvents(global::Xamarin.Forms.BaseShellItem data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Appearing => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Disappearing += x, x => _data.Disappearing -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxBindableObjectEvents + { + private readonly global::Xamarin.Forms.BindableObject _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxBindableObjectEvents(global::Xamarin.Forms.BindableObject data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable BindingContextChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.PropertyChangingEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PropertyChanging += x, x => _data.PropertyChanging -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxButtonEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Button _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxButtonEvents(global::Xamarin.Forms.Button data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Released += x, x => _data.Released -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxCarouselViewEvents : global::Xamarin.Forms.RxItemsViewEvents + { + private readonly global::Xamarin.Forms.CarouselView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxCarouselViewEvents(global::Xamarin.Forms.CarouselView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CurrentItemChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.CurrentItemChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.CurrentItemChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CurrentItemChanged += x, x => _data.CurrentItemChanged -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PositionChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.PositionChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.PositionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PositionChanged += x, x => _data.PositionChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxCellEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.Cell _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxCellEvents(global::Xamarin.Forms.Cell data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Appearing => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Tapped += x, x => _data.Tapped -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxCheckBoxEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.CheckBox _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxCheckBoxEvents(global::Xamarin.Forms.CheckBox data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CheckedChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.CheckedChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.CheckedChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CheckedChanged += x, x => _data.CheckedChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxChildGestureRecognizerEvents + { + private readonly global::Xamarin.Forms.ChildGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxChildGestureRecognizerEvents(global::Xamarin.Forms.ChildGestureRecognizer data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PropertyChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PropertyChanged += x, x => _data.PropertyChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxClickGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.ClickGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxClickGestureRecognizerEvents(global::Xamarin.Forms.ClickGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Clicked += x, x => _data.Clicked -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxColumnDefinitionEvents : global::Xamarin.Forms.RxBindableObjectEvents + { + private readonly global::Xamarin.Forms.ColumnDefinition _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxColumnDefinitionEvents(global::Xamarin.Forms.ColumnDefinition data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SizeChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SizeChanged += x, x => _data.SizeChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxCommandEvents + { + private readonly global::Xamarin.Forms.Command _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxCommandEvents(global::Xamarin.Forms.Command data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CanExecuteChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CanExecuteChanged += x, x => _data.CanExecuteChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxDatePickerEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.DatePicker _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxDatePickerEvents(global::Xamarin.Forms.DatePicker data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DateSelected => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.DateChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.DateChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DateSelected += x, x => _data.DateSelected -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxDragGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.DragGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxDragGestureRecognizerEvents(global::Xamarin.Forms.DragGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DragStarting => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.DragStartingEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.DragStartingEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DragStarting += x, x => _data.DragStarting -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DropCompleted => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.DropCompletedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.DropCompletedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DropCompleted += x, x => _data.DropCompleted -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxDropGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.DropGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxDropGestureRecognizerEvents(global::Xamarin.Forms.DropGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DragOver => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.DragEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.DragEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DragOver += x, x => _data.DragOver -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Drop => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.DropEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.DropEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Drop += x, x => _data.Drop -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxEditorEvents : global::Xamarin.Forms.RxInputViewEvents + { + private readonly global::Xamarin.Forms.Editor _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxEditorEvents(global::Xamarin.Forms.Editor data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Completed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Completed += x, x => _data.Completed -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxElementEvents : global::Xamarin.Forms.RxBindableObjectEvents + { + private readonly global::Xamarin.Forms.Element _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxElementEvents(global::Xamarin.Forms.Element data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ChildAdded => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ElementEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ElementEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ElementEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ElementEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ElementEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ElementEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ElementEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ElementEventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlatformSet += x, x => _data.PlatformSet -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxEntryEvents : global::Xamarin.Forms.RxInputViewEvents + { + private readonly global::Xamarin.Forms.Entry _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxEntryEvents(global::Xamarin.Forms.Entry data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Completed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Completed += x, x => _data.Completed -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxEntryCellEvents : global::Xamarin.Forms.RxCellEvents + { + private readonly global::Xamarin.Forms.EntryCell _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxEntryCellEvents(global::Xamarin.Forms.EntryCell data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Completed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Completed += x, x => _data.Completed -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxExpanderEvents : global::Xamarin.Forms.RxLayoutEvents + { + private readonly global::Xamarin.Forms.Expander _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxExpanderEvents(global::Xamarin.Forms.Expander data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Tapped => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Tapped += x, x => _data.Tapped -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxICellControllerEvents + { + private readonly global::Xamarin.Forms.ICellController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxICellControllerEvents(global::Xamarin.Forms.ICellController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ForceUpdateSizeRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ForceUpdateSizeRequested += x, x => _data.ForceUpdateSizeRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIDefinitionEvents + { + private readonly global::Xamarin.Forms.IDefinition _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIDefinitionEvents(global::Xamarin.Forms.IDefinition data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SizeChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SizeChanged += x, x => _data.SizeChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIElementControllerEvents + { + private readonly global::Xamarin.Forms.IElementController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIElementControllerEvents(global::Xamarin.Forms.IElementController data) + { + _data = data; + } + + /// + /// 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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlatformSet += x, x => _data.PlatformSet -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxILayoutEvents + { + private readonly global::Xamarin.Forms.ILayout _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxILayoutEvents(global::Xamarin.Forms.ILayout data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable LayoutChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.LayoutChanged += x, x => _data.LayoutChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIListProxyEvents + { + private readonly global::Xamarin.Forms.IListProxy _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIListProxyEvents(global::Xamarin.Forms.IListProxy data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CollectionChanged += x, x => _data.CollectionChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIListViewControllerEvents + { + private readonly global::Xamarin.Forms.IListViewController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIListViewControllerEvents(global::Xamarin.Forms.IListViewController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ScrollToRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ScrollToRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrollToRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxImageButtonEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.ImageButton _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxImageButtonEvents(global::Xamarin.Forms.ImageButton data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Released += x, x => _data.Released -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIMasterDetailPageControllerEvents + { + private readonly global::Xamarin.Forms.IMasterDetailPageController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIMasterDetailPageControllerEvents(global::Xamarin.Forms.IMasterDetailPageController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable BackButtonPressed => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.BackButtonPressedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.BackButtonPressedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.BackButtonPressed += x, x => _data.BackButtonPressed -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxINavigationPageControllerEvents + { + private readonly global::Xamarin.Forms.INavigationPageController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxINavigationPageControllerEvents(global::Xamarin.Forms.INavigationPageController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable InsertPageBeforeRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.RemovePageRequested += x, x => _data.RemovePageRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxInputViewEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.InputView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxInputViewEvents(global::Xamarin.Forms.InputView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable TextChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.TextChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.TextChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.TextChanged += x, x => _data.TextChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIOpenGlViewControllerEvents + { + private readonly global::Xamarin.Forms.IOpenGlViewController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIOpenGlViewControllerEvents(global::Xamarin.Forms.IOpenGlViewController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DisplayRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DisplayRequested += x, x => _data.DisplayRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIScrollViewControllerEvents + { + private readonly global::Xamarin.Forms.IScrollViewController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIScrollViewControllerEvents(global::Xamarin.Forms.IScrollViewController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ScrollToRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ScrollToRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrollToRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxISearchHandlerControllerEvents + { + private readonly global::Xamarin.Forms.ISearchHandlerController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxISearchHandlerControllerEvents(global::Xamarin.Forms.ISearchHandlerController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ListProxyChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ListProxyChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ListProxyChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ListProxyChanged += x, x => _data.ListProxyChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIShellContentControllerEvents + { + private readonly global::Xamarin.Forms.IShellContentController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIShellContentControllerEvents(global::Xamarin.Forms.IShellContentController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable IsPageVisibleChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.IsPageVisibleChanged += x, x => _data.IsPageVisibleChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIShellControllerEvents + { + private readonly global::Xamarin.Forms.IShellController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIShellControllerEvents(global::Xamarin.Forms.IShellController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ItemsCollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ItemsCollectionChanged += x, x => _data.ItemsCollectionChanged -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable StructureChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.StructureChanged += x, x => _data.StructureChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIShellItemControllerEvents + { + private readonly global::Xamarin.Forms.IShellItemController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIShellItemControllerEvents(global::Xamarin.Forms.IShellItemController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ItemsCollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ItemsCollectionChanged += x, x => _data.ItemsCollectionChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIShellSectionControllerEvents + { + private readonly global::Xamarin.Forms.IShellSectionController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIShellSectionControllerEvents(global::Xamarin.Forms.IShellSectionController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ItemsCollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ItemsCollectionChanged += x, x => _data.ItemsCollectionChanged -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable NavigationRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.NavigationRequested += x, x => _data.NavigationRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxISwipeItemEvents + { + private readonly global::Xamarin.Forms.ISwipeItem _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxISwipeItemEvents(global::Xamarin.Forms.ISwipeItem data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Invoked => global::System.Reactive.Linq.Observable.FromEvent, global::System.EventArgs>(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Invoked += x, x => _data.Invoked -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxITableViewControllerEvents + { + private readonly global::Xamarin.Forms.ITableViewController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxITableViewControllerEvents(global::Xamarin.Forms.ITableViewController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ModelChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ModelChanged += x, x => _data.ModelChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxItemsViewEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.ItemsView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxItemsViewEvents(global::Xamarin.Forms.ItemsView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable RemainingItemsThresholdReached => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.RemainingItemsThresholdReached += x, x => _data.RemainingItemsThresholdReached -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Scrolled => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ItemsViewScrolledEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ItemsViewScrolledEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ScrollToRequestEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrollToRequestEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIVisualElementControllerEvents + { + private readonly global::Xamarin.Forms.IVisualElementController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIVisualElementControllerEvents(global::Xamarin.Forms.IVisualElementController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable> BatchCommitted => global::System.Reactive.Linq.Observable.FromEvent>, global::Xamarin.Forms.Internals.EventArg>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EventArg e) => eventHandler(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.FromEvent, global::Xamarin.Forms.VisualElement.FocusRequestArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.VisualElement.FocusRequestArgs e) => eventHandler(e); + return Handler; + }, x => _data.FocusChangeRequested += x, x => _data.FocusChangeRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIWebViewControllerEvents + { + private readonly global::Xamarin.Forms.IWebViewController _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIWebViewControllerEvents(global::Xamarin.Forms.IWebViewController data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable EvalRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Internals.EvalRequested>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EvalRequested e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ReloadRequested += x, x => _data.ReloadRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxLayoutEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Layout _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxLayoutEvents(global::Xamarin.Forms.Layout data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable LayoutChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.LayoutChanged += x, x => _data.LayoutChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxListViewEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.ListView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxListViewEvents(global::Xamarin.Forms.ListView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ItemAppearing => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ItemVisibilityEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ItemVisibilityEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ItemVisibilityEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ItemVisibilityEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.SelectedItemChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SelectedItemChangedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ItemTappedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ItemTappedEventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Refreshing += x, x => _data.Refreshing -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Scrolled => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ScrolledEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrolledEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ScrollToRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrollToRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxMarshalingObservableCollectionEvents + { + private readonly global::Xamarin.Forms.MarshalingObservableCollection _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxMarshalingObservableCollectionEvents(global::Xamarin.Forms.MarshalingObservableCollection data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CollectionChanged += x, x => _data.CollectionChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxMasterDetailPageEvents : global::Xamarin.Forms.RxPageEvents + { + private readonly global::Xamarin.Forms.MasterDetailPage _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxMasterDetailPageEvents(global::Xamarin.Forms.MasterDetailPage data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable BackButtonPressed => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.BackButtonPressedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.BackButtonPressedEventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.IsPresentedChanged += x, x => _data.IsPresentedChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxMediaElementEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.MediaElement _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxMediaElementEvents(global::Xamarin.Forms.MediaElement data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable MediaEnded => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.MediaEnded += x, x => _data.MediaEnded -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable MediaFailed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.MediaFailed += x, x => _data.MediaFailed -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable MediaOpened => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.MediaOpened += x, x => _data.MediaOpened -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PositionRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PositionRequested += x, x => _data.PositionRequested -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SeekCompleted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SeekCompleted += x, x => _data.SeekCompleted -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SeekRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.SeekRequested>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SeekRequested e) => eventHandler(e); + return Handler; + }, x => _data.SeekRequested += x, x => _data.SeekRequested -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable StateRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.StateRequested>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.StateRequested e) => eventHandler(e); + return Handler; + }, x => _data.StateRequested += x, x => _data.StateRequested -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable VolumeRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.VolumeRequested += x, x => _data.VolumeRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxMenuItemEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.MenuItem _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxMenuItemEvents(global::Xamarin.Forms.MenuItem data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Clicked => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Clicked += x, x => _data.Clicked -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxNavigationPageEvents : global::Xamarin.Forms.RxPageEvents + { + private readonly global::Xamarin.Forms.NavigationPage _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxNavigationPageEvents(global::Xamarin.Forms.NavigationPage data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable InsertPageBeforeRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.NavigationEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.NavigationEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.NavigationEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.NavigationEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.NavigationEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.NavigationEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.NavigationRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.RemovePageRequested += x, x => _data.RemovePageRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxOpenGLViewEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.OpenGLView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxOpenGLViewEvents(global::Xamarin.Forms.OpenGLView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DisplayRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.DisplayRequested += x, x => _data.DisplayRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxPageEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Page _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxPageEvents(global::Xamarin.Forms.Page data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Appearing => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.LayoutChanged += x, x => _data.LayoutChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxPanGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.PanGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxPanGestureRecognizerEvents(global::Xamarin.Forms.PanGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PanUpdated => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.PanUpdatedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.PanUpdatedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PanUpdated += x, x => _data.PanUpdated -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxPickerEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Picker _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxPickerEvents(global::Xamarin.Forms.Picker data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SelectedIndexChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SelectedIndexChanged += x, x => _data.SelectedIndexChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxPinchGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.PinchGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxPinchGestureRecognizerEvents(global::Xamarin.Forms.PinchGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PinchUpdated => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.PinchGestureUpdatedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.PinchGestureUpdatedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PinchUpdated += x, x => _data.PinchUpdated -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxRadioButtonEvents : global::Xamarin.Forms.RxButtonEvents + { + private readonly global::Xamarin.Forms.RadioButton _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxRadioButtonEvents(global::Xamarin.Forms.RadioButton data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CheckedChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.CheckedChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.CheckedChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CheckedChanged += x, x => _data.CheckedChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxRefreshViewEvents : global::Xamarin.Forms.RxLayoutEvents + { + private readonly global::Xamarin.Forms.RefreshView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxRefreshViewEvents(global::Xamarin.Forms.RefreshView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Refreshing => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Refreshing += x, x => _data.Refreshing -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxRowDefinitionEvents : global::Xamarin.Forms.RxBindableObjectEvents + { + private readonly global::Xamarin.Forms.RowDefinition _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxRowDefinitionEvents(global::Xamarin.Forms.RowDefinition data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SizeChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SizeChanged += x, x => _data.SizeChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxScrollViewEvents : global::Xamarin.Forms.RxLayoutEvents + { + private readonly global::Xamarin.Forms.ScrollView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxScrollViewEvents(global::Xamarin.Forms.ScrollView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Scrolled => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ScrolledEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrolledEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ScrollToRequestedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ScrollToRequestedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ScrollToRequested += x, x => _data.ScrollToRequested -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSearchBarEvents : global::Xamarin.Forms.RxInputViewEvents + { + private readonly global::Xamarin.Forms.SearchBar _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSearchBarEvents(global::Xamarin.Forms.SearchBar data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SearchButtonPressed => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SearchButtonPressed += x, x => _data.SearchButtonPressed -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSearchHandlerEvents : global::Xamarin.Forms.RxBindableObjectEvents + { + private readonly global::Xamarin.Forms.SearchHandler _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSearchHandlerEvents(global::Xamarin.Forms.SearchHandler data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable FocusChangeRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.VisualElement.FocusRequestArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.VisualElement.FocusRequestArgs e) => eventHandler(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.FromEvent, global::System.EventArgs>(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent, global::System.EventArgs>(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Unfocused += x, x => _data.Unfocused -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSelectableItemsViewEvents : global::Xamarin.Forms.RxItemsViewEvents + { + private readonly global::Xamarin.Forms.SelectableItemsView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSelectableItemsViewEvents(global::Xamarin.Forms.SelectableItemsView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SelectionChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.SelectionChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SelectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SelectionChanged += x, x => _data.SelectionChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxShellEvents : global::Xamarin.Forms.RxPageEvents + { + private readonly global::Xamarin.Forms.Shell _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxShellEvents(global::Xamarin.Forms.Shell data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Navigated => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ShellNavigatedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ShellNavigatedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ShellNavigatingEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ShellNavigatingEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Navigating += x, x => _data.Navigating -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSliderEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Slider _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSliderEvents(global::Xamarin.Forms.Slider data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable DragCompleted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.ValueChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ValueChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ValueChanged += x, x => _data.ValueChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxStateTriggerBaseEvents : global::Xamarin.Forms.RxBindableObjectEvents + { + private readonly global::Xamarin.Forms.StateTriggerBase _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxStateTriggerBaseEvents(global::Xamarin.Forms.StateTriggerBase data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable IsActiveChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.IsActiveChanged += x, x => _data.IsActiveChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxStepperEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Stepper _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxStepperEvents(global::Xamarin.Forms.Stepper data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ValueChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ValueChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ValueChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ValueChanged += x, x => _data.ValueChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwipeGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.SwipeGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwipeGestureRecognizerEvents(global::Xamarin.Forms.SwipeGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Swiped => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.SwipedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SwipedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Swiped += x, x => _data.Swiped -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwipeItemEvents : global::Xamarin.Forms.RxMenuItemEvents + { + private readonly global::Xamarin.Forms.SwipeItem _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwipeItemEvents(global::Xamarin.Forms.SwipeItem data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Invoked => global::System.Reactive.Linq.Observable.FromEvent, global::System.EventArgs>(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Invoked += x, x => _data.Invoked -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwipeItemsEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.SwipeItems _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwipeItemsEvents(global::Xamarin.Forms.SwipeItems data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CollectionChanged += x, x => _data.CollectionChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwipeItemViewEvents : global::Xamarin.Forms.RxLayoutEvents + { + private readonly global::Xamarin.Forms.SwipeItemView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwipeItemViewEvents(global::Xamarin.Forms.SwipeItemView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Invoked => global::System.Reactive.Linq.Observable.FromEvent, global::System.EventArgs>(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Invoked += x, x => _data.Invoked -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwipeViewEvents : global::Xamarin.Forms.RxLayoutEvents + { + private readonly global::Xamarin.Forms.SwipeView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwipeViewEvents(global::Xamarin.Forms.SwipeView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CloseRequested => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CloseRequested += x, x => _data.CloseRequested -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable OpenRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.OpenSwipeEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.OpenSwipeEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.OpenRequested += x, x => _data.OpenRequested -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SwipeChanging => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.SwipeChangingEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SwipeChangingEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SwipeChanging += x, x => _data.SwipeChanging -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SwipeEnded => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.SwipeEndedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SwipeEndedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SwipeEnded += x, x => _data.SwipeEnded -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable SwipeStarted => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.SwipeStartedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.SwipeStartedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.SwipeStarted += x, x => _data.SwipeStarted -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwitchEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.Switch _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwitchEvents(global::Xamarin.Forms.Switch data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Toggled => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ToggledEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ToggledEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Toggled += x, x => _data.Toggled -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxSwitchCellEvents : global::Xamarin.Forms.RxCellEvents + { + private readonly global::Xamarin.Forms.SwitchCell _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxSwitchCellEvents(global::Xamarin.Forms.SwitchCell data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable OnChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.ToggledEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.ToggledEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.OnChanged += x, x => _data.OnChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxTableViewEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.TableView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxTableViewEvents(global::Xamarin.Forms.TableView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ModelChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ModelChanged += x, x => _data.ModelChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxTapGestureRecognizerEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.TapGestureRecognizer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxTapGestureRecognizerEvents(global::Xamarin.Forms.TapGestureRecognizer data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable Tapped => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Tapped += x, x => _data.Tapped -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxToolbarItemEvents : global::Xamarin.Forms.RxMenuItemEvents + { + private readonly global::Xamarin.Forms.ToolbarItem _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxToolbarItemEvents(global::Xamarin.Forms.ToolbarItem data): base(data) + { + _data = data; + } + + /// + /// 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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Activated += x, x => _data.Activated -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxVisualElementEvents : global::Xamarin.Forms.RxElementEvents + { + private readonly global::Xamarin.Forms.VisualElement _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxVisualElementEvents(global::Xamarin.Forms.VisualElement data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable> BatchCommitted => global::System.Reactive.Linq.Observable.FromEvent>, global::Xamarin.Forms.Internals.EventArg>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EventArg e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.VisualElement.FocusRequestArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.VisualElement.FocusRequestArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.FocusEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.FocusEventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.FocusEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.FocusEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.Unfocused += x, x => _data.Unfocused -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxWebViewEvents : global::Xamarin.Forms.RxVisualElementEvents + { + private readonly global::Xamarin.Forms.WebView _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxWebViewEvents(global::Xamarin.Forms.WebView data): base(data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable EvalRequested => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Internals.EvalRequested>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EvalRequested e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.WebNavigatedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.WebNavigatedEventArgs e) => eventHandler(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.FromEvent, global::Xamarin.Forms.WebNavigatingEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.WebNavigatingEventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ReloadRequested += x, x => _data.ReloadRequested -= x); + } +} + +namespace Xamarin.Forms.Internals +{ + /// + /// A class that contains extension methods to wrap events for classes contained within the namespace. + /// + public static class EventExtensions + { + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxDeviceInfoEvents Events(this global::Xamarin.Forms.Internals.DeviceInfo item) => new RxDeviceInfoEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIResourceDictionaryEvents Events(this global::Xamarin.Forms.Internals.IResourceDictionary item) => new RxIResourceDictionaryEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxTableModelEvents Events(this global::Xamarin.Forms.Internals.TableModel item) => new RxTableModelEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxToolbarTrackerEvents Events(this global::Xamarin.Forms.Internals.ToolbarTracker item) => new RxToolbarTrackerEvents(item); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxDeviceInfoEvents + { + private readonly global::Xamarin.Forms.Internals.DeviceInfo _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxDeviceInfoEvents(global::Xamarin.Forms.Internals.DeviceInfo data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PropertyChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PropertyChanged += x, x => _data.PropertyChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIResourceDictionaryEvents + { + private readonly global::Xamarin.Forms.Internals.IResourceDictionary _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIResourceDictionaryEvents(global::Xamarin.Forms.Internals.IResourceDictionary data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ValuesChanged => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.Internals.ResourcesChangedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.ResourcesChangedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.ValuesChanged += x, x => _data.ValuesChanged -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxTableModelEvents + { + private readonly global::Xamarin.Forms.Internals.TableModel _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxTableModelEvents(global::Xamarin.Forms.Internals.TableModel data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable> ItemLongPressed => global::System.Reactive.Linq.Observable.FromEvent>, global::Xamarin.Forms.Internals.EventArg>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EventArg e) => eventHandler(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.FromEvent>, global::Xamarin.Forms.Internals.EventArg>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.Internals.EventArg e) => eventHandler(e); + return Handler; + }, x => _data.ItemSelected += x, x => _data.ItemSelected -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxToolbarTrackerEvents + { + private readonly global::Xamarin.Forms.Internals.ToolbarTracker _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxToolbarTrackerEvents(global::Xamarin.Forms.Internals.ToolbarTracker data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable CollectionChanged => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.CollectionChanged += x, x => _data.CollectionChanged -= x); + } +} + +namespace Xamarin.Forms.PlatformConfiguration.TizenSpecific +{ + /// + /// A class that contains extension methods to wrap events for classes contained within the namespace. + /// + public static class EventExtensions + { + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIMediaPlayerEvents Events(this global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.IMediaPlayer item) => new RxIMediaPlayerEvents(item); + /// + /// A wrapper class which wraps all the events contained within the class. + /// + public static RxIPlatformMediaPlayerEvents Events(this global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.IPlatformMediaPlayer item) => new RxIPlatformMediaPlayerEvents(item); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIMediaPlayerEvents + { + private readonly global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.IMediaPlayer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIMediaPlayerEvents(global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.IMediaPlayer data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackPaused => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackPaused += x, x => _data.PlaybackPaused -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackStarted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackStarted += x, x => _data.PlaybackStarted -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackStopped => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackStopped += x, x => _data.PlaybackStopped -= x); + } + + /// + /// A class which wraps the events contained within the class as observables. + /// + public class RxIPlatformMediaPlayerEvents + { + private readonly global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.IPlatformMediaPlayer _data; + /// + /// Initializes a new instance of the class. + /// + /// The class that is being wrapped. + public RxIPlatformMediaPlayerEvents(global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.IPlatformMediaPlayer data) + { + _data = data; + } + + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable BufferingProgressUpdated => global::System.Reactive.Linq.Observable.FromEvent, global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.BufferingProgressUpdatedEventArgs>(eventHandler => + { + void Handler(object sender, global::Xamarin.Forms.PlatformConfiguration.TizenSpecific.BufferingProgressUpdatedEventArgs e) => eventHandler(e); + return Handler; + }, x => _data.BufferingProgressUpdated += x, x => _data.BufferingProgressUpdated -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable ErrorOccurred => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(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.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackCompleted += x, x => _data.PlaybackCompleted -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackPaused => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackPaused += x, x => _data.PlaybackPaused -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackStarted => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackStarted += x, x => _data.PlaybackStarted -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable PlaybackStopped => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.PlaybackStopped += x, x => _data.PlaybackStopped -= x); + /// + /// Gets an observable which signals when the event triggers. + /// + public global::System.IObservable UpdateStreamInfo => global::System.Reactive.Linq.Observable.FromEvent(eventHandler => + { + void Handler(object sender, global::System.EventArgs e) => eventHandler(e); + return Handler; + }, x => _data.UpdateStreamInfo += x, x => _data.UpdateStreamInfo -= x); + } +} \ No newline at end of file diff --git a/src/Pharmacist.Tests/Pharmacist.Tests.csproj b/src/Pharmacist.Tests/Pharmacist.Tests.csproj index fcb7c90..6f7055e 100644 --- a/src/Pharmacist.Tests/Pharmacist.Tests.csproj +++ b/src/Pharmacist.Tests/Pharmacist.Tests.csproj @@ -19,17 +19,17 @@ - + - + - +