diff --git a/benchmarks/ReactiveUI.Benchmarks.csproj b/benchmarks/ReactiveUI.Benchmarks.csproj
index d9a81bbbe4..baceac396d 100644
--- a/benchmarks/ReactiveUI.Benchmarks.csproj
+++ b/benchmarks/ReactiveUI.Benchmarks.csproj
@@ -9,8 +9,15 @@
pdbonly
true
Exe
+ ..\src\reactiveui.tests.ruleset
+
+
+
+
+
+
diff --git a/integrationtests/IntegrationTests.Shared.Tests/IntegrationTests.Shared.Tests.csproj b/integrationtests/IntegrationTests.Shared.Tests/IntegrationTests.Shared.Tests.csproj
index a72f69ce28..fa60272d0f 100644
--- a/integrationtests/IntegrationTests.Shared.Tests/IntegrationTests.Shared.Tests.csproj
+++ b/integrationtests/IntegrationTests.Shared.Tests/IntegrationTests.Shared.Tests.csproj
@@ -3,6 +3,7 @@
net461
false
+ ..\..\src\reactiveui.tests.ruleset
diff --git a/integrationtests/IntegrationTests.Shared/LoginViewModel.cs b/integrationtests/IntegrationTests.Shared/LoginViewModel.cs
index d14b10eeda..84a582579f 100644
--- a/integrationtests/IntegrationTests.Shared/LoginViewModel.cs
+++ b/integrationtests/IntegrationTests.Shared/LoginViewModel.cs
@@ -1,20 +1,28 @@
-using Genesis.Ensure;
-using ReactiveUI;
-using System;
+using System;
using System.Reactive;
using System.Reactive.Concurrency;
using System.Reactive.Linq;
using System.Threading;
using System.Threading.Tasks;
+using Genesis.Ensure;
+using ReactiveUI;
namespace IntegrationTests.Shared
{
+ ///
+ /// View model for login functionality.
+ ///
+ ///
public class LoginViewModel : ReactiveObject
{
private string _userName;
private string _password;
private IScheduler _mainScheduler;
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// The main scheduler.
public LoginViewModel(IScheduler mainScheduler)
{
Ensure.ArgumentNotNull(mainScheduler, nameof(mainScheduler));
@@ -25,8 +33,7 @@ public LoginViewModel(IScheduler mainScheduler)
.WhenAnyValue(
vm => vm.UserName,
vm => vm.Password,
- (user, password) => !string.IsNullOrWhiteSpace(user) && !string.IsNullOrWhiteSpace(password)
- );
+ (user, password) => !string.IsNullOrWhiteSpace(user) && !string.IsNullOrWhiteSpace(password));
Login = ReactiveCommand.CreateFromObservable(
() =>
@@ -38,16 +45,28 @@ public LoginViewModel(IScheduler mainScheduler)
Cancel = ReactiveCommand.Create(() => { }, Login.IsExecuting, _mainScheduler);
}
+ ///
+ /// Gets the login command.
+ ///
public ReactiveCommand Login { get; }
+ ///
+ /// Gets the cancel command.
+ ///
public ReactiveCommand Cancel { get; }
+ ///
+ /// Gets or sets the name of the user.
+ ///
public string UserName
{
get => _userName;
set => this.RaiseAndSetIfChanged(ref _userName, value);
}
+ ///
+ /// Gets or sets the password.
+ ///
public string Password
{
get => _password;