Fixing UI thread issues with bulk operations and request queue refactoring.
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
namespace Wino.Core.Domain.Models.MailItem;
|
||||
|
||||
public sealed record MailCopyStateUpdate(string MailCopyId, bool? IsRead = null, bool? IsFlagged = null);
|
||||
@@ -44,6 +44,6 @@ public class BatchCollection<TRequestType> : List<TRequestType>, IUIChangeReques
|
||||
public BatchCollection(IEnumerable<TRequestType> collection) : base(collection)
|
||||
{
|
||||
}
|
||||
public void ApplyUIChanges() => ForEach(x => x.ApplyUIChanges());
|
||||
public void RevertUIChanges() => ForEach(x => x.RevertUIChanges());
|
||||
public virtual void ApplyUIChanges() => ForEach(x => x.ApplyUIChanges());
|
||||
public virtual void RevertUIChanges() => ForEach(x => x.RevertUIChanges());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user