Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
 public void OnCardAttachmentChanged(Card card, AttachmentFile oldValue, AttachmentFile newValue)
 {
     QueueAction(new UndoAction(UndoActionType.ChangedCardAttachment, card, oldValue));
 }
Exemplo n.º 3
0
 public UndoAction(UndoActionType action, Card card, AttachmentFile file)
 {
     this.Action = action;
     this.Data1  = card;
     this.Data2  = file;
 }