diff options
| author | Rob Mensching <rob@firegiant.com> | 2017-12-19 12:25:40 -0800 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2017-12-19 12:25:40 -0800 |
| commit | 155a6e96346e0cb3d9ab6f5372fa29b46ebaee89 (patch) | |
| tree | 59d1f151bfde8068b6014b05b5c8cfea3402c974 /src/WixToolset.Core/Preprocess/IncludedFileEventHandler.cs | |
| parent | 6f1665ed759b31bd095f186f9239232c653597cd (diff) | |
| download | wix-155a6e96346e0cb3d9ab6f5372fa29b46ebaee89.tar.gz wix-155a6e96346e0cb3d9ab6f5372fa29b46ebaee89.tar.bz2 wix-155a6e96346e0cb3d9ab6f5372fa29b46ebaee89.zip | |
Integrate simplified message handling
Diffstat (limited to '')
| -rw-r--r-- | src/WixToolset.Core/Preprocess/IncludedFileEventHandler.cs (renamed from src/WixToolset.Core/IncludedFileEventHandler.cs) | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/src/WixToolset.Core/IncludedFileEventHandler.cs b/src/WixToolset.Core/Preprocess/IncludedFileEventHandler.cs index 57527e5c..beba216d 100644 --- a/src/WixToolset.Core/IncludedFileEventHandler.cs +++ b/src/WixToolset.Core/Preprocess/IncludedFileEventHandler.cs | |||
| @@ -1,6 +1,6 @@ | |||
| 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. | 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 | 2 | ||
| 3 | namespace WixToolset | 3 | namespace WixToolset.Core.Preprocess |
| 4 | { | 4 | { |
| 5 | using System; | 5 | using System; |
| 6 | using WixToolset.Data; | 6 | using WixToolset.Data; |
| @@ -17,9 +17,6 @@ namespace WixToolset | |||
| 17 | /// </summary> | 17 | /// </summary> |
| 18 | public class IncludedFileEventArgs : EventArgs | 18 | public class IncludedFileEventArgs : EventArgs |
| 19 | { | 19 | { |
| 20 | private SourceLineNumber sourceLineNumbers; | ||
| 21 | private string fullName; | ||
| 22 | |||
| 23 | /// <summary> | 20 | /// <summary> |
| 24 | /// Creates a new IncludedFileEventArgs. | 21 | /// Creates a new IncludedFileEventArgs. |
| 25 | /// </summary> | 22 | /// </summary> |
| @@ -27,26 +24,20 @@ namespace WixToolset | |||
| 27 | /// <param name="fullName">The full path of the included file.</param> | 24 | /// <param name="fullName">The full path of the included file.</param> |
| 28 | public IncludedFileEventArgs(SourceLineNumber sourceLineNumbers, string fullName) | 25 | public IncludedFileEventArgs(SourceLineNumber sourceLineNumbers, string fullName) |
| 29 | { | 26 | { |
| 30 | this.sourceLineNumbers = sourceLineNumbers; | 27 | this.SourceLineNumbers = sourceLineNumbers; |
| 31 | this.fullName = fullName; | 28 | this.FullName = fullName; |
| 32 | } | 29 | } |
| 33 | 30 | ||
| 34 | /// <summary> | 31 | /// <summary> |
| 35 | /// Gets the full path of the included file. | 32 | /// Gets the full path of the included file. |
| 36 | /// </summary> | 33 | /// </summary> |
| 37 | /// <value>The full path of the included file.</value> | 34 | /// <value>The full path of the included file.</value> |
| 38 | public string FullName | 35 | public string FullName { get; } |
| 39 | { | ||
| 40 | get { return this.fullName; } | ||
| 41 | } | ||
| 42 | 36 | ||
| 43 | /// <summary> | 37 | /// <summary> |
| 44 | /// Gets the source line numbers. | 38 | /// Gets the source line numbers. |
| 45 | /// </summary> | 39 | /// </summary> |
| 46 | /// <value>The source line numbers.</value> | 40 | /// <value>The source line numbers.</value> |
| 47 | public SourceLineNumber SourceLineNumbers | 41 | public SourceLineNumber SourceLineNumbers { get; } |
| 48 | { | ||
| 49 | get { return this.sourceLineNumbers; } | ||
| 50 | } | ||
| 51 | } | 42 | } |
| 52 | } | 43 | } |
