public DefaultCommandsEditor(ICommandProvider commandProvider, IFeatureRegistry registry, FeaturedCommandCollection defaults) { CommandProvider = commandProvider; DefaultCommands = registry.RegisteredFeatures.Select((features) => new DefaultCommandItemThing(registry, features, defaults)); InitializeComponent(); }
public ProgramFeatureRegistry(FeaturedCommandCollection defaultCommands, ICommandProvider commandProvider) { if (defaultCommands == null) { throw new ArgumentNullException("defaultCommands"); } if (commandProvider == null) { throw new ArgumentNullException("commandProvider"); } this.defaultCommands = defaultCommands; this.commandProvider = commandProvider; }
public DefaultCommandItemThing(IFeatureRegistry registry, CommandFeatures features, FeaturedCommandCollection defaults) { this.registry = registry; this.features = features; this.defaults = defaults; }
public FeaturedCommandProxy(FeaturedCommandCollection commandCollection, CommandFeatures features) { this.commandCollection = commandCollection; this.features = features; }
public ProgramSettingsData() { this.plugins = new PluginCollection(); this.defaultCommands = new FeaturedCommandCollection(); this.commands = new BindableCollection<ICommand>(); }