private TransactionFramework.DeleteNodeTransactionLink CreateNodeDeletionTransaction(DelayedNodeAction action) { TransactionFramework.DeleteNodeTransactionLink deleteTransaction = null; if (NodeContext.Facade != null && NodeContext.Facade.IsConcrete) { deleteTransaction = new TransactionFramework.DeleteNodeTransactionLink(); deleteTransaction.DomainId = NodeContext.DomainId; deleteTransaction.MapManager = NodeContext.MapManager; deleteTransaction.Node = NodeContext.Facade; } return deleteTransaction; }
private TransactionFramework.UpdateNodeTransactionLink CreateNodeUpdatedTransaction(DelayedNodeAction action) { TransactionFramework.UpdateNodeTransactionLink updateTransaction = null; if (NodeContext.Facade != null && NodeContext.Facade.IsConcrete) { updateTransaction = new TransactionFramework.UpdateNodeTransactionLink(); updateTransaction.DomainId = NodeContext.DomainId; updateTransaction.MapManager = NodeContext.MapManager; updateTransaction.Node = NodeContext.Facade; updateTransaction.NodeType = action.NodeType; } return updateTransaction; }
private TransactionFramework.UpdateNodeTransactionLink CreateNodeUpdatedTransaction(DelayedNodeAction action) { TransactionFramework.UpdateNodeTransactionLink updateTransaction = null; if (NodeContext.Facade != null && NodeContext.Facade.IsConcrete) { updateTransaction = new TransactionFramework.UpdateNodeTransactionLink(); updateTransaction.DomainId = NodeContext.DomainId; updateTransaction.MapManager = NodeContext.MapManager; updateTransaction.Node = NodeContext.Facade; updateTransaction.NodeType = action.NodeType; } return(updateTransaction); }
private TransactionFramework.DeleteNodeTransactionLink CreateNodeDeletionTransaction(DelayedNodeAction action) { TransactionFramework.DeleteNodeTransactionLink deleteTransaction = null; if (NodeContext.Facade != null && NodeContext.Facade.IsConcrete) { deleteTransaction = new TransactionFramework.DeleteNodeTransactionLink(); deleteTransaction.DomainId = NodeContext.DomainId; deleteTransaction.MapManager = NodeContext.MapManager; deleteTransaction.Node = NodeContext.Facade; } return(deleteTransaction); }
public void Enqueue(DelayedNodeAction action) { QueuedActions.Enqueue(action); }