Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyrylo M authored Oct 29, 2016
1 parent 1cae842 commit 1461a5a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ IAsyncCommand UpdateWeatherCommand = new AsyncCommand(
parameter => !LoadCitiesCommand.IsExecuting());
```

It is also possible to pass the method that accepts a cancellation token:
There are several constructor overloads to create the command that accepts a parameter and/or cancellation token or not.
For example, the command with cancellation token:

```csharp
IAsyncCommand UpdateWeatherCommand = new AsyncCommand(
Expand Down

0 comments on commit 1461a5a

Please sign in to comment.