diff options
Diffstat (limited to 'src/api/wix/WixToolset.Data/Symbols/MsiLockPermissionsExSymbol.cs')
-rw-r--r-- | src/api/wix/WixToolset.Data/Symbols/MsiLockPermissionsExSymbol.cs | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/src/api/wix/WixToolset.Data/Symbols/MsiLockPermissionsExSymbol.cs b/src/api/wix/WixToolset.Data/Symbols/MsiLockPermissionsExSymbol.cs new file mode 100644 index 00000000..88e7d019 --- /dev/null +++ b/src/api/wix/WixToolset.Data/Symbols/MsiLockPermissionsExSymbol.cs | |||
@@ -0,0 +1,68 @@ | |||
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.Data | ||
4 | { | ||
5 | using WixToolset.Data.Symbols; | ||
6 | |||
7 | public static partial class SymbolDefinitions | ||
8 | { | ||
9 | public static readonly IntermediateSymbolDefinition MsiLockPermissionsEx = new IntermediateSymbolDefinition( | ||
10 | SymbolDefinitionType.MsiLockPermissionsEx, | ||
11 | new[] | ||
12 | { | ||
13 | new IntermediateFieldDefinition(nameof(MsiLockPermissionsExSymbolFields.LockObject), IntermediateFieldType.String), | ||
14 | new IntermediateFieldDefinition(nameof(MsiLockPermissionsExSymbolFields.Table), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(MsiLockPermissionsExSymbolFields.SDDLText), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(MsiLockPermissionsExSymbolFields.Condition), IntermediateFieldType.String), | ||
17 | }, | ||
18 | typeof(MsiLockPermissionsExSymbol)); | ||
19 | } | ||
20 | } | ||
21 | |||
22 | namespace WixToolset.Data.Symbols | ||
23 | { | ||
24 | public enum MsiLockPermissionsExSymbolFields | ||
25 | { | ||
26 | LockObject, | ||
27 | Table, | ||
28 | SDDLText, | ||
29 | Condition, | ||
30 | } | ||
31 | |||
32 | public class MsiLockPermissionsExSymbol : IntermediateSymbol | ||
33 | { | ||
34 | public MsiLockPermissionsExSymbol() : base(SymbolDefinitions.MsiLockPermissionsEx, null, null) | ||
35 | { | ||
36 | } | ||
37 | |||
38 | public MsiLockPermissionsExSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.MsiLockPermissionsEx, sourceLineNumber, id) | ||
39 | { | ||
40 | } | ||
41 | |||
42 | public IntermediateField this[MsiLockPermissionsExSymbolFields index] => this.Fields[(int)index]; | ||
43 | |||
44 | public string LockObject | ||
45 | { | ||
46 | get => (string)this.Fields[(int)MsiLockPermissionsExSymbolFields.LockObject]; | ||
47 | set => this.Set((int)MsiLockPermissionsExSymbolFields.LockObject, value); | ||
48 | } | ||
49 | |||
50 | public string Table | ||
51 | { | ||
52 | get => (string)this.Fields[(int)MsiLockPermissionsExSymbolFields.Table]; | ||
53 | set => this.Set((int)MsiLockPermissionsExSymbolFields.Table, value); | ||
54 | } | ||
55 | |||
56 | public string SDDLText | ||
57 | { | ||
58 | get => (string)this.Fields[(int)MsiLockPermissionsExSymbolFields.SDDLText]; | ||
59 | set => this.Set((int)MsiLockPermissionsExSymbolFields.SDDLText, value); | ||
60 | } | ||
61 | |||
62 | public string Condition | ||
63 | { | ||
64 | get => (string)this.Fields[(int)MsiLockPermissionsExSymbolFields.Condition]; | ||
65 | set => this.Set((int)MsiLockPermissionsExSymbolFields.Condition, value); | ||
66 | } | ||
67 | } | ||
68 | } \ No newline at end of file | ||