diff options
| author | Rob Mensching <rob@firegiant.com> | 2021-03-16 10:48:29 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2021-03-16 11:01:46 -0700 |
| commit | ecf0f8e0a3038e65d18cb3ace71b845af27407ae (patch) | |
| tree | 1c4d337e7d9790e52f47fe42b80e5a1577498e1d /src/WixToolset.Core.Native/ValidationMessage.cs | |
| parent | 089a08fd6b9398b0e1040f96b8e24ba81acfe05b (diff) | |
| download | wix-ecf0f8e0a3038e65d18cb3ace71b845af27407ae.tar.gz wix-ecf0f8e0a3038e65d18cb3ace71b845af27407ae.tar.bz2 wix-ecf0f8e0a3038e65d18cb3ace71b845af27407ae.zip | |
Implement validation and fix abandoned validation mutex
Fixes wixtoolset/issues#5946
Fixes wixtoolset/issues#6366
Diffstat (limited to 'src/WixToolset.Core.Native/ValidationMessage.cs')
| -rw-r--r-- | src/WixToolset.Core.Native/ValidationMessage.cs | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/src/WixToolset.Core.Native/ValidationMessage.cs b/src/WixToolset.Core.Native/ValidationMessage.cs new file mode 100644 index 00000000..d7137326 --- /dev/null +++ b/src/WixToolset.Core.Native/ValidationMessage.cs | |||
| @@ -0,0 +1,47 @@ | |||
| 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.Native | ||
| 4 | { | ||
| 5 | using System.Collections.Generic; | ||
| 6 | |||
| 7 | /// <summary> | ||
| 8 | /// Message from ICE | ||
| 9 | /// </summary> | ||
| 10 | public class ValidationMessage | ||
| 11 | { | ||
| 12 | /// <summary> | ||
| 13 | /// Name of the ICE providing the message. | ||
| 14 | /// </summary> | ||
| 15 | public string IceName { get; set; } | ||
| 16 | |||
| 17 | /// <summary> | ||
| 18 | /// Validation type. | ||
| 19 | /// </summary> | ||
| 20 | public ValidationMessageType Type { get; set; } | ||
| 21 | |||
| 22 | /// <summary> | ||
| 23 | /// Message text. | ||
| 24 | /// </summary> | ||
| 25 | public string Description { get; set; } | ||
| 26 | |||
| 27 | /// <summary> | ||
| 28 | /// Optional help URL for the message. | ||
| 29 | /// </summary> | ||
| 30 | public string HelpUrl { get; set; } | ||
| 31 | |||
| 32 | /// <summary> | ||
| 33 | /// Optional table causing the message. | ||
| 34 | /// </summary> | ||
| 35 | public string Table { get; set; } | ||
| 36 | |||
| 37 | /// <summary> | ||
| 38 | /// Optional column causing the message. | ||
| 39 | /// </summary> | ||
| 40 | public string Column { get; set; } | ||
| 41 | |||
| 42 | /// <summary> | ||
| 43 | /// Optional primary keys causing the message. | ||
| 44 | /// </summary> | ||
| 45 | public IEnumerable<string> PrimaryKeys { get; set; } | ||
| 46 | } | ||
| 47 | } | ||
