Пример #1
0
        private void InitGet()
        {
            var path          = this.m_communicationSetup.SelectedPath;
            var registrations = this.GetNewRegistrations(path);

            if (registrations != null && registrations.Any())
            {
                this.AddNewRegistrations(registrations, true);
            }

            LeonWriter.CheckTmpFile(path, true);
        }
Пример #2
0
        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);
        }