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