protected override IEnumerable <string> SelectPath() { var pluginsPath = AppUtility.GetDocumentPath("plugins"); if (this.settings.PluginsPath != null) { foreach (var item in this.settings.PluginsPath) { yield return(item); } } if (Directory.Exists(pluginsPath) == true) { foreach (var item in Directory.GetDirectories(pluginsPath)) { yield return(item); } } }