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