From 6c58ee03306e50e44c6a7f57a991da9572811c49 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Tue, 16 Mar 2021 16:10:25 -0700 Subject: Make ResetAcl opt-in instead of opt-out --- .../Data/ILayoutContext.cs | 36 ++++++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) (limited to 'src/WixToolset.Extensibility/Data') diff --git a/src/WixToolset.Extensibility/Data/ILayoutContext.cs b/src/WixToolset.Extensibility/Data/ILayoutContext.cs index 6b6c280a..3d49b877 100644 --- a/src/WixToolset.Extensibility/Data/ILayoutContext.cs +++ b/src/WixToolset.Extensibility/Data/ILayoutContext.cs @@ -6,27 +6,59 @@ namespace WixToolset.Extensibility.Data using System.Collections.Generic; using System.Threading; -#pragma warning disable 1591 // TODO: add documentation + /// + /// Context for laying out files. + /// public interface ILayoutContext { + /// + /// Service provider. + /// IServiceProvider ServiceProvider { get; } + /// + /// Extensions for use during layout. + /// IEnumerable Extensions { get; set; } + /// + /// Set of tracked of files created during processing to be cleaned up. + /// IEnumerable TrackedFiles { get; set; } + /// + /// Set of files to transfer. + /// IEnumerable FileTransfers { get; set; } + /// + /// File to capture list of content files. + /// string ContentsFile { get; set; } + /// + /// File to capture list of output files. + /// string OutputsFile { get; set; } + /// + /// Intermediate folder. + /// string IntermediateFolder { get; set; } + /// + /// List of built output files. + /// string BuiltOutputsFile { get; set; } - bool SuppressAclReset { get; set; } + /// + /// Reset ACLs on file transfers. + /// + bool ResetAcls { get; set; } + /// + /// Cancellation token. + /// CancellationToken CancellationToken { get; set; } } } -- cgit v1.2.3-55-g6feb