diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2020-04-02 21:20:22 +1000 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2020-04-02 21:20:22 +1000 |
| commit | 56ab717c8e1dc4c30b4350a384e2d98982983bb3 (patch) | |
| tree | 9e3902c292af48f7dbc5b10e14c809103aba51d0 /src/wixcop/CommandLine | |
| parent | 7381929a536ca080a22deabe2a72682e964f93af (diff) | |
| download | wix-56ab717c8e1dc4c30b4350a384e2d98982983bb3.tar.gz wix-56ab717c8e1dc4c30b4350a384e2d98982983bb3.tar.bz2 wix-56ab717c8e1dc4c30b4350a384e2d98982983bb3.zip | |
Address breaking changes.
Diffstat (limited to 'src/wixcop/CommandLine')
| -rw-r--r-- | src/wixcop/CommandLine/ConvertCommand.cs | 4 | ||||
| -rw-r--r-- | src/wixcop/CommandLine/WixCopCommandLineParser.cs | 4 |
2 files changed, 4 insertions, 4 deletions
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 | |||
| 14 | { | 14 | { |
| 15 | private const string SettingsFileDefault = "wixcop.settings.xml"; | 15 | private const string SettingsFileDefault = "wixcop.settings.xml"; |
| 16 | 16 | ||
| 17 | public ConvertCommand(IServiceProvider serviceProvider, bool fixErrors, int indentationAmount, List<string> searchPatterns, bool subDirectories, string settingsFile1, string settingsFile2) | 17 | public ConvertCommand(IWixToolsetServiceProvider serviceProvider, bool fixErrors, int indentationAmount, List<string> searchPatterns, bool subDirectories, string settingsFile1, string settingsFile2) |
| 18 | { | 18 | { |
| 19 | this.ErrorsAsWarnings = new HashSet<string>(); | 19 | this.ErrorsAsWarnings = new HashSet<string>(); |
| 20 | this.ExemptFiles = new HashSet<string>(); | 20 | this.ExemptFiles = new HashSet<string>(); |
| @@ -43,7 +43,7 @@ namespace WixToolset.Tools.WixCop.CommandLine | |||
| 43 | 43 | ||
| 44 | private List<string> SearchPatterns { get; } | 44 | private List<string> SearchPatterns { get; } |
| 45 | 45 | ||
| 46 | private IServiceProvider ServiceProvider { get; } | 46 | private IWixToolsetServiceProvider ServiceProvider { get; } |
| 47 | 47 | ||
| 48 | private string SettingsFile1 { get; } | 48 | private string SettingsFile1 { get; } |
| 49 | 49 | ||
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 | |||
| 14 | private bool fixErrors; | 14 | private bool fixErrors; |
| 15 | private int indentationAmount; | 15 | private int indentationAmount; |
| 16 | private readonly List<string> searchPatterns; | 16 | private readonly List<string> searchPatterns; |
| 17 | private readonly IServiceProvider serviceProvider; | 17 | private readonly IWixToolsetServiceProvider serviceProvider; |
| 18 | private string settingsFile1; | 18 | private string settingsFile1; |
| 19 | private string settingsFile2; | 19 | private string settingsFile2; |
| 20 | private bool showHelp; | 20 | private bool showHelp; |
| 21 | private bool showLogo; | 21 | private bool showLogo; |
| 22 | private bool subDirectories; | 22 | private bool subDirectories; |
| 23 | 23 | ||
| 24 | public WixCopCommandLineParser(IServiceProvider serviceProvider) | 24 | public WixCopCommandLineParser(IWixToolsetServiceProvider serviceProvider) |
| 25 | { | 25 | { |
| 26 | this.serviceProvider = serviceProvider; | 26 | this.serviceProvider = serviceProvider; |
| 27 | 27 | ||
