public void Init(PluginSetting pluginSetting) { DisplayName = string.Format("{0} - Plugin settings", pluginSetting.FriendlyName); PluginProperties = pluginSetting.PluginProperties.Select(p => new PluginPropertyViewModel(p)); }
public void Init(PluginSetting pluginSetting) { HelpFile = fileSystem.OpenRead(pluginSetting.HelpFile); DisplayName = string.Format("{0} - Help", pluginSetting.FriendlyName); }
public PluginHelpFileViewModel(PluginSetting pluginSetting) { PluginSetting = pluginSetting; }
public void AddPluginSetting(PluginSetting pluginSetting) { PluginSettings.Add(pluginSetting); }
public PluginSettingsMenuViewModel(PluginSetting pluginSetting) { PluginSetting = pluginSetting; }