/// <summary> /// Initializes a new instance of the <see cref="PluginService" /> class. /// </summary> /// <param name="fileSystem">The file system.</param> /// <param name="settingsService">The settings service.</param> /// <param name="codeConfigFactory">The code config factory.</param> public PluginService( IFileSystem fileSystem, ISettingsService settingsService, ICodeConfigFactory codeConfigFactory) { TraceService.WriteLine("PluginService::Constructor"); this.fileSystem = fileSystem; this.settingsService = settingsService; this.codeConfigFactory = codeConfigFactory; this.codeConfigService = codeConfigFactory.GetCodeConfigService(); }
/// <summary> /// Initializes a new instance of the <see cref="ServicesService" /> class. /// </summary> /// <param name="codeConfigFactory">The code config factory.</param> /// <param name="codeSnippetFactory">The code snippet factory.</param> /// <param name="settingsService">The settings service.</param> /// <param name="messageBoxService">The message box service.</param> /// <param name="nugetService">The nuget service.</param> /// <param name="pluginFactory">The plugin factory.</param> public ServicesService( ICodeConfigFactory codeConfigFactory, ICodeSnippetFactory codeSnippetFactory, ISettingsService settingsService, IMessageBoxService messageBoxService, INugetService nugetService, IPluginFactory pluginFactory) { TraceService.WriteLine("ServicesService::Constructor"); this.codeConfigFactory = codeConfigFactory; this.settingsService = settingsService; this.messageBoxService = messageBoxService; this.nugetService = nugetService; this.pluginFactory = pluginFactory; this.codeSnippetFactory = codeSnippetFactory; this.Init(); }