get rid of the event is never used warning
authorStricted <info@stricted.net>
Sun, 26 Feb 2017 09:16:51 +0000 (10:16 +0100)
committerStricted <info@stricted.net>
Sun, 26 Feb 2017 09:16:51 +0000 (10:16 +0100)
SpeedportHybridControl.Implementations/DelegateCommand.cs

index 1a760de76041a5c98e83afe06d22fea25a828a3e..389e6cee760ed2de39b018083fcddf15b2807403 100644 (file)
@@ -17,7 +17,7 @@ namespace SpeedportHybridControl.Implementations
             return true;
         }
 
-        public event EventHandler CanExecuteChanged;
+        public event EventHandler CanExecuteChanged = delegate { };
 
         public void Execute(object parameter = null)
         {