public UndoAction(UndoActionType action, Card card, string index, string contents, AttachmentFile file) { this.Action = action; this.Data1 = card; this.Data2 = index; this.Data3 = contents; this.Data4 = file; }
public void OnCardAttachmentChanged(Card card, AttachmentFile oldValue, AttachmentFile newValue) { QueueAction(new UndoAction(UndoActionType.ChangedCardAttachment, card, oldValue)); }
public UndoAction(UndoActionType action, Card card, AttachmentFile file) { this.Action = action; this.Data1 = card; this.Data2 = file; }