Use IDeclarativeProperty instead of IObservable
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
using DeclarativeProperty;
|
||||
using FileTime.Core.Timeline;
|
||||
|
||||
namespace FileTime.Core.Command;
|
||||
|
||||
public interface ICommand
|
||||
{
|
||||
IObservable<string> DisplayLabel { get; }
|
||||
IObservable<string> DisplayDetailLabel { get; }
|
||||
IObservable<int> TotalProgress { get; }
|
||||
IObservable<int> CurrentProgress { get; }
|
||||
IDeclarativeProperty<string> DisplayLabel { get; }
|
||||
IDeclarativeProperty<string> DisplayDetailLabel { get; }
|
||||
IDeclarativeProperty<int> TotalProgress { get; }
|
||||
IDeclarativeProperty<int> CurrentProgress { get; }
|
||||
|
||||
Task<CanCommandRun> CanRun(PointInTime currentTime);
|
||||
Task<PointInTime> SimulateCommand(PointInTime currentTime);
|
||||
|
||||
Reference in New Issue
Block a user