enabled nullable

This commit is contained in:
2020-02-22 22:31:19 +01:00
parent 153a9c3986
commit 0ebad36335
5 changed files with 96 additions and 57 deletions

View File

@@ -5,7 +5,7 @@ namespace ModernWpfPlayground.MvvmStuff
{
public class RelayCommand : ICommand
{
private readonly Predicate<object> _canExecute;
private readonly Predicate<object>? _canExecute;
private readonly Action<object> _execute;
public RelayCommand(Action<object> execute)