Copy
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
namespace FileTime.Core.Command;
|
||||
|
||||
public interface IRequireInputCommand
|
||||
{
|
||||
Task ReadInputs();
|
||||
}
|
||||
@@ -1,6 +1,10 @@
|
||||
using FileTime.Core.Models;
|
||||
|
||||
namespace FileTime.Core.Command;
|
||||
|
||||
public interface ITransportationCommand : ICommand
|
||||
{
|
||||
|
||||
TransportMode? TransportMode { get; set; }
|
||||
IList<FullName> Sources { get; }
|
||||
FullName? Target { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
namespace FileTime.Core.Command;
|
||||
|
||||
public enum TransportMode
|
||||
{
|
||||
Merge,
|
||||
Overwrite,
|
||||
Skip
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
namespace FileTime.Core.Interactions;
|
||||
|
||||
public interface IInputInterface
|
||||
public interface IUserCommunicationService
|
||||
{
|
||||
Task<bool> ReadInputs(params IInputElement[] fields);
|
||||
void ShowToastMessage(string text);
|
||||
}
|
||||
@@ -1,8 +1,11 @@
|
||||
using FileTime.Core.Command;
|
||||
using FileTime.Core.Models;
|
||||
|
||||
namespace FileTime.Core.Timeline;
|
||||
|
||||
public interface ICommandScheduler
|
||||
{
|
||||
Task AddCommand(ICommand command, int? batchId = null, bool toNewBatch = false);
|
||||
IObservable<FullName> ContainerToRefresh { get; }
|
||||
void RefreshContainer(FullName container);
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
using FileTime.Core.Models;
|
||||
|
||||
namespace FileTime.Core.Timeline;
|
||||
|
||||
public interface ICommandSchedulerNotifier
|
||||
{
|
||||
Task RefreshContainer(FullName container);
|
||||
}
|
||||
Reference in New Issue
Block a user