public MunicipalityGeometryWasCorrected( MunicipalityId municipalityId, ExtendedWkbGeometry ewkb) { MunicipalityId = municipalityId; ExtendedWkbGeometry = ewkb.ToString(); }
public MunicipalityWasDrawn( MunicipalityId municipalityId, ExtendedWkbGeometry ewkb) { MunicipalityId = municipalityId; ExtendedWkbGeometry = ewkb.ToString(); }
private void When(MunicipalityGeometryWasCorrectedToCleared @event) { _geometry = null; }
private void When(MunicipalityGeometryWasCorrected @event) { _geometry = new ExtendedWkbGeometry(@event.ExtendedWkbGeometry.ToByteArray()); }
private void When(MunicipalityWasDrawn @event) { _geometry = new ExtendedWkbGeometry(@event.ExtendedWkbGeometry.ToByteArray()); }
public void Draw(ExtendedWkbGeometry ewkb) { ApplyChange(new MunicipalityWasDrawn(_municipalityId, ewkb)); }