IQueueUpdater.cs 337 B

1234567891011121314151617181920
  1. using InABox.Core;
  2. namespace InABox.Avalonia
  3. {
  4. public interface IQueueUpdater
  5. {
  6. void ProcessQueue();
  7. }
  8. public interface IQueueUpdater<TEntity> : IQueueUpdater
  9. where TEntity : Entity, IPersistent, IRemotable, new()
  10. {
  11. void Add(TEntity entity);
  12. TEntity[] Items { get; }
  13. }
  14. }