| 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.Extensibility.Data |
| 4 | { |
| 5 | using WixToolset.Data; |
| 6 | |
| 7 | /// <summary> |
| 8 | /// Structure used for all file transfer information. |
| 9 | /// </summary> |
| 10 | public interface IFileTransfer |
| 11 | { |
| 12 | /// <summary>Destination path for file.</summary> |
| 13 | string Destination { get; set; } |
| 14 | |
| 15 | /// <summary>Flag if file should be moved (optimal).</summary> |
| 16 | bool Move { get; set; } |
| 17 | |
| 18 | /// <summary>Set during layout of media when the file transfer when the source and target resolve to the same path.</summary> |
| 19 | bool Redundant { get; set; } |
| 20 | |
| 21 | /// <summary>Source path to file.</summary> |
| 22 | string Source { get; set; } |
| 23 | |
| 24 | /// <summary>Optional source line numbers where this file transfer orginated.</summary> |
| 25 | SourceLineNumber SourceLineNumbers { get; set; } |
| 26 | } |
| 27 | } |