From d0d48599caf5b5f018b9fdd4ea8f6064d76d2e8b Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Wed, 18 Oct 2017 15:10:45 -0700 Subject: Incorporate refactoring of WixToolset.Core assemblies --- src/WixToolset.Data/Identifier.cs | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/WixToolset.Data/Identifier.cs (limited to 'src/WixToolset.Data/Identifier.cs') diff --git a/src/WixToolset.Data/Identifier.cs b/src/WixToolset.Data/Identifier.cs new file mode 100644 index 00000000..96acc997 --- /dev/null +++ b/src/WixToolset.Data/Identifier.cs @@ -0,0 +1,28 @@ +// 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.Data +{ + /// + /// Class to define the identifier and access for a row. + /// + public class Identifier + { + public static Identifier Invalid = new Identifier(null, AccessModifier.Private); + + public Identifier(string id, AccessModifier access) + { + this.Id = id; + this.Access = access; + } + + /// + /// Access modifier for a row. + /// + public AccessModifier Access { get; } + + /// + /// Identifier for the row. + /// + public string Id { get; } + } +} -- cgit v1.2.3-55-g6feb