private void UnwireEvents() { LayersRemovingEvent.Unsubscribe(OnLayerRemovingAsync); DrawCompleteEvent.Unsubscribe(OnDrawCompleted); ProjectOpenedAsyncEvent.Unsubscribe(OnProjectOpendedAsync); ProjectSavingEvent.Unsubscribe(OnProjectSavingAsync); }
private void UnwireEvents() { //MapViewInitializedEvent.Unsubscribe(OnMapViewInitialized); LayersRemovingEvent.Unsubscribe(OnLayerRemovingAsync); DrawCompleteEvent.Unsubscribe(OnDrawCompleted); ProjectOpenedAsyncEvent.Unsubscribe(OnProjectOpendedAsync); ProjectSavingEvent.Unsubscribe(OnProjectSavingAsync); ProjectItemsChangedEvent.Unsubscribe(OnProjectItemsChanged); ProjectItemRemovingEvent.Unsubscribe(OnProjectItemRemoving); MapMemberPropertiesChangedEvent.Unsubscribe(OnMapMemberPropertiesChanged); }