diff options
Diffstat (limited to 'src/WixToolset.Core/TrackedFile.cs')
| -rw-r--r-- | src/WixToolset.Core/TrackedFile.cs | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/WixToolset.Core/TrackedFile.cs b/src/WixToolset.Core/TrackedFile.cs new file mode 100644 index 00000000..312b09f4 --- /dev/null +++ b/src/WixToolset.Core/TrackedFile.cs | |||
| @@ -0,0 +1,26 @@ | |||
| 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 WixToolset.Data; | ||
| 6 | using WixToolset.Extensibility.Data; | ||
| 7 | |||
| 8 | internal class TrackedFile : ITrackedFile | ||
| 9 | { | ||
| 10 | public TrackedFile(string path, TrackedFileType type, SourceLineNumber sourceLineNumbers) | ||
| 11 | { | ||
| 12 | this.Path = path; | ||
| 13 | this.Type = type; | ||
| 14 | this.SourceLineNumbers = sourceLineNumbers; | ||
| 15 | this.Clean = (type == TrackedFileType.Intermediate || type == TrackedFileType.Final); | ||
| 16 | } | ||
| 17 | |||
| 18 | public bool Clean { get; set; } | ||
| 19 | |||
| 20 | public string Path { get; set; } | ||
| 21 | |||
| 22 | public SourceLineNumber SourceLineNumbers { get; set; } | ||
| 23 | |||
| 24 | public TrackedFileType Type { get; set; } | ||
| 25 | } | ||
| 26 | } | ||
