diff options
| author | Rob Mensching <rob@firegiant.com> | 2017-12-26 15:11:40 -0800 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2017-12-26 15:11:40 -0800 |
| commit | 1d6ff8af3c423ee4622185edc986ae5caad6b122 (patch) | |
| tree | 0fd320bb2e249da3a2fbebcd3e0aa49879aa27b0 /src/WixToolset.Core/LibraryContext.cs | |
| parent | ecf3a0cca5a424a91ab98557d963d2535963d582 (diff) | |
| download | wix-1d6ff8af3c423ee4622185edc986ae5caad6b122.tar.gz wix-1d6ff8af3c423ee4622185edc986ae5caad6b122.tar.bz2 wix-1d6ff8af3c423ee4622185edc986ae5caad6b122.zip | |
Standardize creation of public objects in move towards interfaces
Diffstat (limited to 'src/WixToolset.Core/LibraryContext.cs')
| -rw-r--r-- | src/WixToolset.Core/LibraryContext.cs | 5 |
1 files changed, 5 insertions, 0 deletions
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 | |||
| 10 | 10 | ||
| 11 | public class LibraryContext : ILibraryContext | 11 | public class LibraryContext : ILibraryContext |
| 12 | { | 12 | { |
| 13 | public LibraryContext(IServiceProvider serviceProvider) | ||
| 14 | { | ||
| 15 | this.ServiceProvider = serviceProvider; | ||
| 16 | } | ||
| 17 | |||
| 13 | public IServiceProvider ServiceProvider { get; } | 18 | public IServiceProvider ServiceProvider { get; } |
| 14 | 19 | ||
| 15 | public IMessaging Messaging { get; set; } | 20 | public IMessaging Messaging { get; set; } |
