| 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 BindContext : IBindContext |
| 13 | { |
| 14 | internal BindContext(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 string BurnStubPath { get; set; } |
| 24 | |
| 25 | public int CabbingThreadCount { get; set; } |
| 26 | |
| 27 | public string CabCachePath { get; set; } |
| 28 | |
| 29 | public CompressionLevel? DefaultCompressionLevel { get; set; } |
| 30 | |
| 31 | public IReadOnlyCollection<IDelayedField> DelayedFields { get; set; } |
| 32 | |
| 33 | public IReadOnlyCollection<IExpectedExtractFile> ExpectedEmbeddedFiles { get; set; } |
| 34 | |
| 35 | public IReadOnlyCollection<IBinderExtension> Extensions { get; set; } |
| 36 | |
| 37 | public IReadOnlyCollection<IFileSystemExtension> FileSystemExtensions { get; set; } |
| 38 | |
| 39 | public string IntermediateFolder { get; set; } |
| 40 | |
| 41 | public Intermediate IntermediateRepresentation { get; set; } |
| 42 | |
| 43 | public string OutputPath { get; set; } |
| 44 | |
| 45 | public string OutputType { get; set; } |
| 46 | |
| 47 | public PdbType PdbType { get; set; } |
| 48 | |
| 49 | public string PdbPath { get; set; } |
| 50 | |
| 51 | public int? ResolvedCodepage { get; set; } |
| 52 | |
| 53 | public int? ResolvedSummaryInformationCodepage { get; set; } |
| 54 | |
| 55 | public int? ResolvedLcid { get; set; } |
| 56 | |
| 57 | public bool SuppressLayout { get; set; } |
| 58 | |
| 59 | public CancellationToken CancellationToken { get; set; } |
| 60 | } |
| 61 | } |