From 1d6ff8af3c423ee4622185edc986ae5caad6b122 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Tue, 26 Dec 2017 15:11:40 -0800 Subject: Standardize creation of public objects in move towards interfaces --- src/WixToolset.Core/LibraryContext.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/WixToolset.Core/LibraryContext.cs') diff --git a/src/WixToolset.Core/LibraryContext.cs b/src/WixToolset.Core/LibraryContext.cs index c1aec5ce..56a9389f 100644 --- a/src/WixToolset.Core/LibraryContext.cs +++ b/src/WixToolset.Core/LibraryContext.cs @@ -10,6 +10,11 @@ namespace WixToolset.Core public class LibraryContext : ILibraryContext { + public LibraryContext(IServiceProvider serviceProvider) + { + this.ServiceProvider = serviceProvider; + } + public IServiceProvider ServiceProvider { get; } public IMessaging Messaging { get; set; } -- cgit v1.2.3-55-g6feb