Exemplo n.º 1
0
 public bool TryFindAddRoadNode(RoadNodeId id, out AddRoadNode change)
 {
     change = this.OfType <AddRoadNode>().SingleOrDefault(_ => _.TemporaryId == id);
     return(change != null);
 }
Exemplo n.º 2
0
 public TranslatedChanges Replace(AddRoadNode before, AddRoadNode after)
 {
     return(new TranslatedChanges(Reason, Operator, Organization, _changes.Remove(before).Add(after), _mapToRoadNodeId, _mapToRoadSegmentId));
 }
Exemplo n.º 3
0
 public TranslatedChanges Append(AddRoadNode change)
 {
     return(new TranslatedChanges(Reason, Operator, Organization, _changes.Add(change), _mapToRoadNodeId.Add(change.RecordNumber, change.TemporaryId), _mapToRoadSegmentId));
 }