using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Reflection; namespace NuGetGallery.Operations { public interface ICommandManager { [SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Justification = "Method would do reflection and a property would be inappropriate.")] IEnumerable GetCommands(); ICommand GetCommand(string commandName); IDictionary GetCommandOptions(ICommand command); void RegisterCommand(ICommand command); } }