Skip to content

Commit 7896a49

Browse files
authored
fix Bind with Trigger reinstated ViewToViewModel added option (#2867)
* fix Bind with Trigger reinstated ViewToViewModel added option Added TriggerUpdate option to Bind with Trigger to choose which direction the update will occur. TriggerUpdate default is ViewToViewModel which uses original functionality. Added tests * Update Directory.build.props * Update Directory.build.props Issue with GitHub Actions causing build failure, was thinking was issue with DiffEngine 7.1.0 * Add Test for Bind with trigger and type converter Add DecimalToStringTypeConverter and DoubleToStringTypeConverter Add test for Bind with trigger and type converter
1 parent 326a0ee commit 7896a49

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+487
-160
lines changed

integrationtests/IntegrationTests.Android/MainActivity.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
// See the LICENSE file in the project root for full license information.
55

66
using System;
7+
using System.Diagnostics.CodeAnalysis;
78
using System.Reactive;
89
using System.Reactive.Disposables;
910
using System.Reactive.Linq;
@@ -20,6 +21,7 @@ namespace IntegrationTests.Android
2021
/// The main activity for the application.
2122
/// </summary>
2223
[Activity(Label = "@string/app_name", Theme = "@style/AppTheme.NoActionBar", MainLauncher = true)]
24+
[ExcludeFromCodeCoverage]
2325
public class MainActivity : ReactiveActivity<LoginViewModel>
2426
{
2527
/// <summary>

integrationtests/IntegrationTests.Mac/AppDelegate.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ namespace IntegrationTests.Mac
1212
/// The main application delegate.
1313
/// </summary>
1414
[Register("AppDelegate")]
15+
[System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
1516
public class AppDelegate : NSApplicationDelegate
1617
{
1718
/// <inheritdoc />

integrationtests/IntegrationTests.Mac/LoginViewController.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ namespace IntegrationTests.Mac
1717
/// <summary>
1818
/// A controller responsible for logging in the user.
1919
/// </summary>
20+
[System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
2021
public partial class LoginViewController : ReactiveViewController<LoginViewModel>
2122
{
2223
/// <summary>

integrationtests/IntegrationTests.Mac/MainClass.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ namespace IntegrationTests.Mac
1010
/// <summary>
1111
/// The class which hosts the main entry point for the application.
1212
/// </summary>
13+
[System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
1314
public static class MainClass
1415
{
1516
/// <summary>

integrationtests/IntegrationTests.Shared/LoginViewModel.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ namespace IntegrationTests.Shared
1616
/// View model for login functionality.
1717
/// </summary>
1818
/// <seealso cref="ReactiveUI.ReactiveObject" />
19+
[System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
1920
public class LoginViewModel : ReactiveObject
2021
{
2122
private string _userName;

integrationtests/IntegrationTests.UWP/App.xaml.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ namespace IntegrationTests.UWP
1515
/// <summary>
1616
/// Provides application-specific behavior to supplement the default Application class.
1717
/// </summary>
18+
[System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
1819
public sealed partial class App : Application
1920
{
2021
/// <summary>

integrationtests/IntegrationTests.UWP/LoginControlBase.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ namespace IntegrationTests.UWP
1111
/// <summary>
1212
/// A base level control for logging the user in.
1313
/// </summary>
14+
[System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
1415
public class LoginControlBase : ReactiveUserControl<LoginViewModel>
1516
{
1617
}

integrationtests/IntegrationTests.UWP/MainPage.xaml.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ namespace IntegrationTests.UWP
1010
/// <summary>
1111
/// An empty page that can be used on its own or navigated to within a Frame.
1212
/// </summary>
13+
[System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
1314
public sealed partial class MainPage : Page
1415
{
1516
/// <summary>

integrationtests/IntegrationTests.WPF/App.xaml.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ namespace IntegrationTests.WPF
1010
/// <summary>
1111
/// Interaction logic for App.xaml.
1212
/// </summary>
13+
[System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
1314
public partial class App : Application
1415
{
1516
}

integrationtests/IntegrationTests.WPF/LoginControl.xaml.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ namespace IntegrationTests.WPF
1515
/// <summary>
1616
/// Interaction logic for LoginControl.xaml.
1717
/// </summary>
18+
[System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
1819
public partial class LoginControl : ReactiveUserControl<LoginViewModel>
1920
{
2021
/// <summary>

0 commit comments

Comments
 (0)