public IReadOnlyList <PublishedPluginDescription> GetAllPlugins() { var stopwatch = Stopwatch.StartNew(); Log.DebugFormat("Retrieving description(s) for all plugin(s)..."); var descriptions = _pluginDescriptions.GetAllValues() .Select(CreateDescription) .ToList(); stopwatch.Stop(); Log.InfoFormat("Retrieved {0} description(s) from disk, (took {1}ms)", descriptions.Count, stopwatch.ElapsedMilliseconds); return(descriptions); }
public IEnumerable <User> GetAllUsers() { return(_users.GetAllValues()); }