main
cs 43 lines 1.4 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
12 internal class ResolveContext : IResolveContext
13 {
14 internal ResolveContext(IServiceProvider serviceProvider)
15 {
16 this.ServiceProvider = serviceProvider;
17 }
18
19 public IServiceProvider ServiceProvider { get; }
20
21 public IReadOnlyCollection<IBindPath> BindPaths { get; set; }
22
23 public IDictionary<string, string> BindVariables { get; set; }
24
25 public IReadOnlyCollection<IResolverExtension> Extensions { get; set; }
26
27 public IReadOnlyCollection<IExtensionData> ExtensionData { get; set; }
28
29 public IReadOnlyCollection<string> FilterCultures { get; set; }
30
31 public string IntermediateFolder { get; set; }
32
33 public Intermediate IntermediateRepresentation { get; set; }
34
35 public IReadOnlyCollection<Localization> Localizations { get; set; }
36
37 public bool AllowUnresolvedVariables { get; set; }
38
39 public string OutputPath { get; set; }
40
41 public CancellationToken CancellationToken { get; set; }
42 }
43 }