aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/Bind/ResolvedDirectory.cs
blob: 6985f95d3b9eb13351c8260a5060ad5c63ef1ea4 (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
29
30
31
// 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.Bind
{
    /// <summary>
    /// Structure used for resolved directory information.
    /// </summary>
    internal struct ResolvedDirectory
    {
        /// <summary>The directory parent.</summary>
        public string DirectoryParent;

        /// <summary>The name of this directory.</summary>
        public string Name;

        /// <summary>The path of this directory.</summary>
        public string Path;

        /// <summary>
        /// Constructor for ResolvedDirectory.
        /// </summary>
        /// <param name="directoryParent">Parent directory.</param>
        /// <param name="name">The directory name.</param>
        public ResolvedDirectory(string directoryParent, string name)
        {
            this.DirectoryParent = directoryParent;
            this.Name = name;
            this.Path = null;
        }
    }
}