main
cs 38 lines 1.21 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.Extensibility;
9 using WixToolset.Extensibility.Data;
10
11 internal class LayoutContext : ILayoutContext
12 {
13 internal LayoutContext(IServiceProvider serviceProvider)
14 {
15 this.ServiceProvider = serviceProvider;
16 }
17
18 public IServiceProvider ServiceProvider { get; }
19
20 public IReadOnlyCollection<ILayoutExtension> Extensions { get; set; }
21
22 public IReadOnlyCollection<IFileSystemExtension> FileSystemExtensions { get; set; }
23
24 public IReadOnlyCollection<IFileTransfer> FileTransfers { get; set; }
25
26 public IReadOnlyCollection<ITrackedFile> TrackedFiles { get; set; }
27
28 public string IntermediateFolder { get; set; }
29
30 public string TrackingFile { get; set; }
31
32 public bool ResetAcls { get; set; }
33
34 public string OutputPath { get; set; }
35
36 public CancellationToken CancellationToken { get; set; }
37 }
38 }