main
cs 33 lines 991 Bytes
Raw
1 // 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.
2
3 namespace WixToolset.Extensibility.Data
4 {
5 using System;
6
7 /// <summary>
8 /// When validating a bundle variable name, which special restrictions to ignore.
9 /// </summary>
10 [Flags]
11 public enum BundleVariableNameRule
12 {
13 /// <summary>
14 /// Enforce all special restrictions.
15 /// </summary>
16 EnforceAllRestrictions = 0x0,
17
18 /// <summary>
19 /// Allow names of built-in variables.
20 /// </summary>
21 CanBeBuiltIn = 0x1,
22
23 /// <summary>
24 /// Allow names of well-known variables.
25 /// </summary>
26 CanBeWellKnown = 0x2,
27
28 /// <summary>
29 /// Allow names that are not built-in and are not well-known and start with 'Wix'.
30 /// </summary>
31 CanHaveReservedPrefix = 0x4,
32 }
33 }