From: Stricted Date: Sun, 26 Feb 2017 09:16:51 +0000 (+0100) Subject: get rid of the event is never used warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c04cd187e1fef295752dbb59d0b66b947b99e340;p=GitHub%2FStricted%2FSpeedportHybridControl.git get rid of the event is never used warning --- diff --git a/SpeedportHybridControl.Implementations/DelegateCommand.cs b/SpeedportHybridControl.Implementations/DelegateCommand.cs index 1a760de..389e6ce 100644 --- a/SpeedportHybridControl.Implementations/DelegateCommand.cs +++ b/SpeedportHybridControl.Implementations/DelegateCommand.cs @@ -17,7 +17,7 @@ namespace SpeedportHybridControl.Implementations return true; } - public event EventHandler CanExecuteChanged; + public event EventHandler CanExecuteChanged = delegate { }; public void Execute(object parameter = null) {