From 56ab717c8e1dc4c30b4350a384e2d98982983bb3 Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Thu, 2 Apr 2020 21:20:22 +1000 Subject: Address breaking changes. --- src/wixcop/CommandLine/ConvertCommand.cs | 4 ++-- src/wixcop/CommandLine/WixCopCommandLineParser.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/wixcop/CommandLine') diff --git a/src/wixcop/CommandLine/ConvertCommand.cs b/src/wixcop/CommandLine/ConvertCommand.cs index a9a110fe..8b01faa7 100644 --- a/src/wixcop/CommandLine/ConvertCommand.cs +++ b/src/wixcop/CommandLine/ConvertCommand.cs @@ -14,7 +14,7 @@ namespace WixToolset.Tools.WixCop.CommandLine { private const string SettingsFileDefault = "wixcop.settings.xml"; - public ConvertCommand(IServiceProvider serviceProvider, bool fixErrors, int indentationAmount, List searchPatterns, bool subDirectories, string settingsFile1, string settingsFile2) + public ConvertCommand(IWixToolsetServiceProvider serviceProvider, bool fixErrors, int indentationAmount, List searchPatterns, bool subDirectories, string settingsFile1, string settingsFile2) { this.ErrorsAsWarnings = new HashSet(); this.ExemptFiles = new HashSet(); @@ -43,7 +43,7 @@ namespace WixToolset.Tools.WixCop.CommandLine private List SearchPatterns { get; } - private IServiceProvider ServiceProvider { get; } + private IWixToolsetServiceProvider ServiceProvider { get; } private string SettingsFile1 { get; } diff --git a/src/wixcop/CommandLine/WixCopCommandLineParser.cs b/src/wixcop/CommandLine/WixCopCommandLineParser.cs index 73247dae..3d34a649 100644 --- a/src/wixcop/CommandLine/WixCopCommandLineParser.cs +++ b/src/wixcop/CommandLine/WixCopCommandLineParser.cs @@ -14,14 +14,14 @@ namespace WixToolset.Tools.WixCop.CommandLine private bool fixErrors; private int indentationAmount; private readonly List searchPatterns; - private readonly IServiceProvider serviceProvider; + private readonly IWixToolsetServiceProvider serviceProvider; private string settingsFile1; private string settingsFile2; private bool showHelp; private bool showLogo; private bool subDirectories; - public WixCopCommandLineParser(IServiceProvider serviceProvider) + public WixCopCommandLineParser(IWixToolsetServiceProvider serviceProvider) { this.serviceProvider = serviceProvider; -- cgit v1.2.3-55-g6feb