void LoadSettingsFileCollection()
        {
            Logger.Info("Reloading settings collection.");

            var collection = new List <FileInfo>();
            var directory  = new DirectoryInfo(SettingsDirectoryPath);

            if (directory.Exists)
            {
                FileInfo[] files = directory.GetFiles(SettingsFileExtensionPattern, SearchOption.AllDirectories);
                collection.AddRange(files);
            }

            SettingsFileCollection = collection;
            var eventArgs = new SettingsCollectionEventArgs(collection);

            OnSettingsCollectionChanged(eventArgs);
        }
 void OnSettingsCollectionChanged(SettingsCollectionEventArgs e) =>
 SettingsCollectionChanged?.Invoke(this, e);