Example #1
0
 public bool Execute(Action action)
 {
     if (action == null)
     {
         throw new ArgumentNullException(nameof(action));
     }
     return(_currentState.Execute(action));
 }