/// <summary> /// Called when a part's imports have been satisfied and it is safe to use. /// </summary> public void OnImportsSatisfied() { ImportHospitalsCommand = new DelegateCommand(() => HospitalImporter.Execute()); ImportRegionsCommand = new DelegateCommand(() => RegionImporter.Execute()); }
//todo bad code alert fix it private void ExecuteOpenFileDialog() { RegionImporter.Execute(); }
private void OnRegionImport() { RegionImporter.Execute(); OnLoad(); }