From 6ffe147d054e6515b5276f6412994fe88392366b Mon Sep 17 00:00:00 2001 From: Bob Arnson Date: Mon, 15 Mar 2021 20:46:45 -0400 Subject: Update service provider dependency --- src/WixToolset.Converters/ConvertCommand.cs | 2 +- src/WixToolset.Converters/ConverterExtensionCommandLine.cs | 4 ++-- src/WixToolset.Converters/ConverterExtensionFactory.cs | 4 ++-- src/WixToolset.Converters/FormatCommand.cs | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/WixToolset.Converters/ConvertCommand.cs b/src/WixToolset.Converters/ConvertCommand.cs index e29b176e..b6826f43 100644 --- a/src/WixToolset.Converters/ConvertCommand.cs +++ b/src/WixToolset.Converters/ConvertCommand.cs @@ -11,7 +11,7 @@ namespace WixToolset.Converters { private const string SettingsFileDefault = "wix.convert.settings.xml"; - public ConvertCommand(IWixToolsetServiceProvider serviceProvider) + public ConvertCommand(IServiceProvider serviceProvider) { this.Messaging = serviceProvider.GetService(); } diff --git a/src/WixToolset.Converters/ConverterExtensionCommandLine.cs b/src/WixToolset.Converters/ConverterExtensionCommandLine.cs index d78b89cc..8d740a3a 100644 --- a/src/WixToolset.Converters/ConverterExtensionCommandLine.cs +++ b/src/WixToolset.Converters/ConverterExtensionCommandLine.cs @@ -14,12 +14,12 @@ namespace WixToolset.Converters /// internal class ConverterExtensionCommandLine : BaseExtensionCommandLine { - public ConverterExtensionCommandLine(IWixToolsetServiceProvider serviceProvider) + public ConverterExtensionCommandLine(IServiceProvider serviceProvider) { this.ServiceProvider = serviceProvider; } - private IWixToolsetServiceProvider ServiceProvider { get; } + private IServiceProvider ServiceProvider { get; } public override IEnumerable CommandLineSwitches => new ExtensionCommandLineSwitch[] { diff --git a/src/WixToolset.Converters/ConverterExtensionFactory.cs b/src/WixToolset.Converters/ConverterExtensionFactory.cs index 51099e67..d4f480aa 100644 --- a/src/WixToolset.Converters/ConverterExtensionFactory.cs +++ b/src/WixToolset.Converters/ConverterExtensionFactory.cs @@ -8,12 +8,12 @@ namespace WixToolset.Converters internal class ConverterExtensionFactory : IExtensionFactory { - public ConverterExtensionFactory(IWixToolsetServiceProvider serviceProvider) + public ConverterExtensionFactory(IServiceProvider serviceProvider) { this.ServiceProvider = serviceProvider; } - private IWixToolsetServiceProvider ServiceProvider { get; } + private IServiceProvider ServiceProvider { get; } public bool TryCreateExtension(Type extensionType, out object extension) { diff --git a/src/WixToolset.Converters/FormatCommand.cs b/src/WixToolset.Converters/FormatCommand.cs index e9965df3..0861fc51 100644 --- a/src/WixToolset.Converters/FormatCommand.cs +++ b/src/WixToolset.Converters/FormatCommand.cs @@ -11,7 +11,7 @@ namespace WixToolset.Converters { private const string SettingsFileDefault = "wix.format.settings.xml"; - public FormatCommand(IWixToolsetServiceProvider serviceProvider) + public FormatCommand(IServiceProvider serviceProvider) { this.Messaging = serviceProvider.GetService(); } -- cgit v1.2.3-55-g6feb