| 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 LinkContext : ILinkContext |
| 13 | { |
| 14 | internal LinkContext(IServiceProvider serviceProvider) |
| 15 | { |
| 16 | this.ServiceProvider = serviceProvider; |
| 17 | } |
| 18 | |
| 19 | public IServiceProvider ServiceProvider { get; } |
| 20 | |
| 21 | public IReadOnlyCollection<ILinkerExtension> Extensions { get; set; } |
| 22 | |
| 23 | public IReadOnlyCollection<IExtensionData> ExtensionData { get; set; } |
| 24 | |
| 25 | public OutputType ExpectedOutputType { get; set; } |
| 26 | |
| 27 | public string IntermediateFolder { get; set; } |
| 28 | |
| 29 | public IReadOnlyCollection<Intermediate> Intermediates { get; set; } |
| 30 | |
| 31 | public string OutputPath { get; set; } |
| 32 | |
| 33 | public Platform Platform { get; set; } |
| 34 | |
| 35 | public bool SkipStdWixlib { get; set; } |
| 36 | |
| 37 | public ISymbolDefinitionCreator SymbolDefinitionCreator { get; set; } |
| 38 | |
| 39 | public CancellationToken CancellationToken { get; set; } |
| 40 | } |
| 41 | } |