private void InitGet() { var outputPath = CommunicationSetup.SelectedPath; if (NewLeonRegistrations != null) { var registrations = this.GetNewRegistrations(outputPath); if (registrations != null && registrations.Any()) { var args = new LeonEventArgs { NewRegistrations = registrations }; NewLeonRegistrations(this, args); } } LeonWriter.CheckAnyTempFiles(outputPath, "LeonTmp", "MinneLeonTemp"); }
private void InitGet() { var path = CommunicationSetup.SelectedPath; if (NewLeonRegistrations != null) { var registrations = this.GetNewRegistrations(path); if (registrations != null && registrations.Any()) { var args = new LeonEventArgs { NewRegistrations = registrations }; NewLeonRegistrations(this, args); } } LeonWriter.CheckTmpFile(path); }