From ecf0f8e0a3038e65d18cb3ace71b845af27407ae Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Tue, 16 Mar 2021 10:48:29 -0700 Subject: Implement validation and fix abandoned validation mutex Fixes wixtoolset/issues#5946 Fixes wixtoolset/issues#6366 --- src/WixToolset.Core.Native/ValidationMessage.cs | 47 +++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 src/WixToolset.Core.Native/ValidationMessage.cs (limited to 'src/WixToolset.Core.Native/ValidationMessage.cs') 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 @@ +// 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. + +namespace WixToolset.Core.Native +{ + using System.Collections.Generic; + + /// + /// Message from ICE + /// + public class ValidationMessage + { + /// + /// Name of the ICE providing the message. + /// + public string IceName { get; set; } + + /// + /// Validation type. + /// + public ValidationMessageType Type { get; set; } + + /// + /// Message text. + /// + public string Description { get; set; } + + /// + /// Optional help URL for the message. + /// + public string HelpUrl { get; set; } + + /// + /// Optional table causing the message. + /// + public string Table { get; set; } + + /// + /// Optional column causing the message. + /// + public string Column { get; set; } + + /// + /// Optional primary keys causing the message. + /// + public IEnumerable PrimaryKeys { get; set; } + } +} -- cgit v1.2.3-55-g6feb