markus / ConvertService / ServiceBase / Markus.Mvvm.ToolKit / AsyncCommand / IAsyncCommand.cs @ f6c94121
이력 | 보기 | 이력해설 | 다운로드 (348 Bytes)
1 | 45f9a2ad | taeseongkim | using System.Threading.Tasks; |
---|---|---|---|
2 | using System.Windows.Input; |
||
3 | |||
4 | namespace Markus.Mvvm.ToolKit |
||
5 | { |
||
6 | public interface IAsyncCommand : ICommand |
||
7 | { |
||
8 | Task ExecuteAsync(); |
||
9 | bool CanExecute(); |
||
10 | } |
||
11 | |||
12 | public interface IAsyncCommand<T> : ICommand |
||
13 | { |
||
14 | Task ExecuteAsync(T parameter); |
||
15 | bool CanExecute(T parameter); |
||
16 | } |
||
17 | |||
18 | } |