Skip to content
This repository has been archived by the owner on Dec 21, 2024. It is now read-only.

Commit

Permalink
Refactor RelayCommand location
Browse files Browse the repository at this point in the history
  • Loading branch information
StrangeRanger committed Mar 15, 2024
1 parent 4c01310 commit a866a26
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 3 additions & 1 deletion ActiveDirectoryQuerier.Tests/RelayCommandTests.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
namespace ActiveDirectoryQuerier.Tests;
using ActiveDirectoryQuerier.ViewModels;

namespace ActiveDirectoryQuerier.Tests;

public class RelayCommandTests
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
using System.Windows.Input;

namespace ActiveDirectoryQuerier;
namespace ActiveDirectoryQuerier.ViewModels;

/// <summary>
/// A command whose sole purpose is to relay its functionality to other objects by invoking delegates.
/// </summary>
/// <note>
/// This is a very basic setup of the RelayCommand class. I imagine that this class can be expanded and improved upon.
/// </note>
/// TODO: Place class into ViewModel folder.
public class RelayCommand : ICommand
{
private readonly Action<object> _execute;
Expand Down

0 comments on commit a866a26

Please sign in to comment.