Exemplo n.º 1
0
 public Task <OPTION> Declare(SUBJECT subject, IEnumerable <OPTION> options, Game game)
 {
     if (options.Count() == 1)
     {
         return(Task.FromResult(options.Single()));
     }
     else
     {
         return(fallback.Declare(subject, options, game));
     }
 }