main
cs 44 lines 1.38 KB
Raw
1 // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2
3 namespace WixToolset.Core
4 {
5 using System;
6 using System.Collections.Generic;
7 using System.Threading;
8 using WixToolset.Data;
9 using WixToolset.Extensibility;
10 using WixToolset.Extensibility.Data;
11 using WixToolset.Extensibility.Services;
12
13 internal class LibraryContext : ILibraryContext
14 {
15 internal LibraryContext(IServiceProvider serviceProvider)
16 {
17 this.ServiceProvider = serviceProvider;
18 }
19
20 public IServiceProvider ServiceProvider { get; }
21
22 public IMessaging Messaging { get; set; }
23
24 public bool BindFiles { get; set; }
25
26 public IReadOnlyCollection<IBindPath> BindPaths { get; set; }
27
28 public IDictionary<string, string> BindVariables { get; set; }
29
30 public IReadOnlyCollection<ILibrarianExtension> Extensions { get; set; }
31
32 public string LibraryId { get; set; }
33
34 public IReadOnlyCollection<Localization> Localizations { get; set; }
35
36 public string IntermediateFolder { get; set; }
37
38 public IReadOnlyCollection<Intermediate> Intermediates { get; set; }
39
40 public string OutputPath { get; set; }
41
42 public CancellationToken CancellationToken { get; set; }
43 }
44 }