blob: 112f562c57f0e799a47dd7f61716eaeeff1aa3b9 (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
// 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.Extensibility.Data
{
public enum ComponentKeyPathType
{
/// <summary>
/// Not a key path.
/// </summary>
None,
/// <summary>
/// File resource as a key path.
/// </summary>
File,
/// <summary>
/// Folder as a key path.
/// </summary>
Directory,
/// <summary>
/// ODBC data source as a key path.
/// </summary>
OdbcDataSource,
/// <summary>
/// A simple registry key acting as a key path.
/// </summary>
Registry,
/// <summary>
/// A registry key that contains a formatted property acting as a key path.
/// </summary>
RegistryFormatted
}
public class ComponentKeyPath
{
/// <summary>
/// Identifier of the resource to be a key path.
/// </summary>
public string Id { get; set; }
/// <summary>
/// Indicates whether the key path was explicitly set for this resource.
/// </summary>
public bool Explicit { get; set; }
/// <summary>
/// Type of resource to be the key path.
/// </summary>
public ComponentKeyPathType Type { get; set; }
}
}
|