aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Data/Identifier.cs
blob: 96acc99769788ce3670b4b5d700b9b1f94672146 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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
{
    /// <summary>
    /// Class to define the identifier and access for a row.
    /// </summary>
    public class Identifier
    {
        public static Identifier Invalid = new Identifier(null, AccessModifier.Private);

        public Identifier(string id, AccessModifier access)
        {
            this.Id = id;
            this.Access = access;
        }

        /// <summary>
        /// Access modifier for a row.
        /// </summary>
        public AccessModifier Access { get; }

        /// <summary>
        /// Identifier for the row.
        /// </summary>
        public string Id { get; }
    }
}