From 09092afe7519bbf166a19c6878006ae7ba31aa05 Mon Sep 17 00:00:00 2001 From: Steven Kirk Date: Mon, 23 Feb 2015 18:05:36 +0100 Subject: [PATCH] Use ICommand from System.Windows.Input. --- Perspex.Controls/Button.cs | 1 + Perspex.Input/ICommand.cs | 19 ------------------- Perspex.Input/Perspex.Input.csproj | 1 - 3 files changed, 1 insertion(+), 20 deletions(-) delete mode 100644 Perspex.Input/ICommand.cs diff --git a/Perspex.Controls/Button.cs b/Perspex.Controls/Button.cs index 7422602c71..47873dc3f7 100644 --- a/Perspex.Controls/Button.cs +++ b/Perspex.Controls/Button.cs @@ -7,6 +7,7 @@ namespace Perspex.Controls { using System; + using System.Windows.Input; using Perspex.Input; using Perspex.Interactivity; diff --git a/Perspex.Input/ICommand.cs b/Perspex.Input/ICommand.cs deleted file mode 100644 index 0c7c08db04..0000000000 --- a/Perspex.Input/ICommand.cs +++ /dev/null @@ -1,19 +0,0 @@ -// ----------------------------------------------------------------------- -// -// Copyright 2015 MIT Licence. See licence.md for more information. -// -// ----------------------------------------------------------------------- - -namespace Perspex.Input -{ - using System; - - public interface ICommand - { - event EventHandler CanExecuteChanged; - - bool CanExecute(object parameter); - - void Execute(object parameter); - } -} diff --git a/Perspex.Input/Perspex.Input.csproj b/Perspex.Input/Perspex.Input.csproj index f0f4d1cba1..239a4aeedf 100644 --- a/Perspex.Input/Perspex.Input.csproj +++ b/Perspex.Input/Perspex.Input.csproj @@ -60,7 +60,6 @@ -