diff options
Diffstat (limited to 'src/wixext/Tuples/UserGroupTuple.cs')
-rw-r--r-- | src/wixext/Tuples/UserGroupTuple.cs | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/wixext/Tuples/UserGroupTuple.cs b/src/wixext/Tuples/UserGroupTuple.cs index 30c5e9ff..c8f3998e 100644 --- a/src/wixext/Tuples/UserGroupTuple.cs +++ b/src/wixext/Tuples/UserGroupTuple.cs | |||
@@ -3,53 +3,53 @@ | |||
3 | namespace WixToolset.Util | 3 | namespace WixToolset.Util |
4 | { | 4 | { |
5 | using WixToolset.Data; | 5 | using WixToolset.Data; |
6 | using WixToolset.Util.Tuples; | 6 | using WixToolset.Util.Symbols; |
7 | 7 | ||
8 | public static partial class UtilTupleDefinitions | 8 | public static partial class UtilSymbolDefinitions |
9 | { | 9 | { |
10 | public static readonly IntermediateTupleDefinition UserGroup = new IntermediateTupleDefinition( | 10 | public static readonly IntermediateSymbolDefinition UserGroup = new IntermediateSymbolDefinition( |
11 | UtilTupleDefinitionType.UserGroup.ToString(), | 11 | UtilSymbolDefinitionType.UserGroup.ToString(), |
12 | new[] | 12 | new[] |
13 | { | 13 | { |
14 | new IntermediateFieldDefinition(nameof(UserGroupTupleFields.UserRef), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(UserGroupSymbolFields.UserRef), IntermediateFieldType.String), |
15 | new IntermediateFieldDefinition(nameof(UserGroupTupleFields.GroupRef), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(UserGroupSymbolFields.GroupRef), IntermediateFieldType.String), |
16 | }, | 16 | }, |
17 | typeof(UserGroupTuple)); | 17 | typeof(UserGroupSymbol)); |
18 | } | 18 | } |
19 | } | 19 | } |
20 | 20 | ||
21 | namespace WixToolset.Util.Tuples | 21 | namespace WixToolset.Util.Symbols |
22 | { | 22 | { |
23 | using WixToolset.Data; | 23 | using WixToolset.Data; |
24 | 24 | ||
25 | public enum UserGroupTupleFields | 25 | public enum UserGroupSymbolFields |
26 | { | 26 | { |
27 | UserRef, | 27 | UserRef, |
28 | GroupRef, | 28 | GroupRef, |
29 | } | 29 | } |
30 | 30 | ||
31 | public class UserGroupTuple : IntermediateTuple | 31 | public class UserGroupSymbol : IntermediateSymbol |
32 | { | 32 | { |
33 | public UserGroupTuple() : base(UtilTupleDefinitions.UserGroup, null, null) | 33 | public UserGroupSymbol() : base(UtilSymbolDefinitions.UserGroup, null, null) |
34 | { | 34 | { |
35 | } | 35 | } |
36 | 36 | ||
37 | public UserGroupTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(UtilTupleDefinitions.UserGroup, sourceLineNumber, id) | 37 | public UserGroupSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(UtilSymbolDefinitions.UserGroup, sourceLineNumber, id) |
38 | { | 38 | { |
39 | } | 39 | } |
40 | 40 | ||
41 | public IntermediateField this[UserGroupTupleFields index] => this.Fields[(int)index]; | 41 | public IntermediateField this[UserGroupSymbolFields index] => this.Fields[(int)index]; |
42 | 42 | ||
43 | public string UserRef | 43 | public string UserRef |
44 | { | 44 | { |
45 | get => this.Fields[(int)UserGroupTupleFields.UserRef].AsString(); | 45 | get => this.Fields[(int)UserGroupSymbolFields.UserRef].AsString(); |
46 | set => this.Set((int)UserGroupTupleFields.UserRef, value); | 46 | set => this.Set((int)UserGroupSymbolFields.UserRef, value); |
47 | } | 47 | } |
48 | 48 | ||
49 | public string GroupRef | 49 | public string GroupRef |
50 | { | 50 | { |
51 | get => this.Fields[(int)UserGroupTupleFields.GroupRef].AsString(); | 51 | get => this.Fields[(int)UserGroupSymbolFields.GroupRef].AsString(); |
52 | set => this.Set((int)UserGroupTupleFields.GroupRef, value); | 52 | set => this.Set((int)UserGroupSymbolFields.GroupRef, value); |
53 | } | 53 | } |
54 | } | 54 | } |
55 | } \ No newline at end of file | 55 | } \ No newline at end of file |