protected virtual IEnumerable <string> SelectPath() { var items = CremaBootstrapper.SelectPath(AppDomain.CurrentDomain.BaseDirectory); foreach (var item in items) { yield return(item); } if (this.Settings.PluginsPath != null) { foreach (var item in this.Settings.PluginsPath) { yield return(item); } } }