diff options
Diffstat (limited to 'src/wixext/Tuples/FileSharePermissionsTuple.cs')
-rw-r--r-- | src/wixext/Tuples/FileSharePermissionsTuple.cs | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/src/wixext/Tuples/FileSharePermissionsTuple.cs b/src/wixext/Tuples/FileSharePermissionsTuple.cs index 1db01b98..3db92f22 100644 --- a/src/wixext/Tuples/FileSharePermissionsTuple.cs +++ b/src/wixext/Tuples/FileSharePermissionsTuple.cs | |||
@@ -3,61 +3,61 @@ | |||
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 FileSharePermissions = new IntermediateTupleDefinition( | 10 | public static readonly IntermediateSymbolDefinition FileSharePermissions = new IntermediateSymbolDefinition( |
11 | UtilTupleDefinitionType.FileSharePermissions.ToString(), | 11 | UtilSymbolDefinitionType.FileSharePermissions.ToString(), |
12 | new[] | 12 | new[] |
13 | { | 13 | { |
14 | new IntermediateFieldDefinition(nameof(FileSharePermissionsTupleFields.FileShareRef), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(FileSharePermissionsSymbolFields.FileShareRef), IntermediateFieldType.String), |
15 | new IntermediateFieldDefinition(nameof(FileSharePermissionsTupleFields.UserRef), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(FileSharePermissionsSymbolFields.UserRef), IntermediateFieldType.String), |
16 | new IntermediateFieldDefinition(nameof(FileSharePermissionsTupleFields.Permissions), IntermediateFieldType.Number), | 16 | new IntermediateFieldDefinition(nameof(FileSharePermissionsSymbolFields.Permissions), IntermediateFieldType.Number), |
17 | }, | 17 | }, |
18 | typeof(FileSharePermissionsTuple)); | 18 | typeof(FileSharePermissionsSymbol)); |
19 | } | 19 | } |
20 | } | 20 | } |
21 | 21 | ||
22 | namespace WixToolset.Util.Tuples | 22 | namespace WixToolset.Util.Symbols |
23 | { | 23 | { |
24 | using WixToolset.Data; | 24 | using WixToolset.Data; |
25 | 25 | ||
26 | public enum FileSharePermissionsTupleFields | 26 | public enum FileSharePermissionsSymbolFields |
27 | { | 27 | { |
28 | FileShareRef, | 28 | FileShareRef, |
29 | UserRef, | 29 | UserRef, |
30 | Permissions, | 30 | Permissions, |
31 | } | 31 | } |
32 | 32 | ||
33 | public class FileSharePermissionsTuple : IntermediateTuple | 33 | public class FileSharePermissionsSymbol : IntermediateSymbol |
34 | { | 34 | { |
35 | public FileSharePermissionsTuple() : base(UtilTupleDefinitions.FileSharePermissions, null, null) | 35 | public FileSharePermissionsSymbol() : base(UtilSymbolDefinitions.FileSharePermissions, null, null) |
36 | { | 36 | { |
37 | } | 37 | } |
38 | 38 | ||
39 | public FileSharePermissionsTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(UtilTupleDefinitions.FileSharePermissions, sourceLineNumber, id) | 39 | public FileSharePermissionsSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(UtilSymbolDefinitions.FileSharePermissions, sourceLineNumber, id) |
40 | { | 40 | { |
41 | } | 41 | } |
42 | 42 | ||
43 | public IntermediateField this[FileSharePermissionsTupleFields index] => this.Fields[(int)index]; | 43 | public IntermediateField this[FileSharePermissionsSymbolFields index] => this.Fields[(int)index]; |
44 | 44 | ||
45 | public string FileShareRef | 45 | public string FileShareRef |
46 | { | 46 | { |
47 | get => this.Fields[(int)FileSharePermissionsTupleFields.FileShareRef].AsString(); | 47 | get => this.Fields[(int)FileSharePermissionsSymbolFields.FileShareRef].AsString(); |
48 | set => this.Set((int)FileSharePermissionsTupleFields.FileShareRef, value); | 48 | set => this.Set((int)FileSharePermissionsSymbolFields.FileShareRef, value); |
49 | } | 49 | } |
50 | 50 | ||
51 | public string UserRef | 51 | public string UserRef |
52 | { | 52 | { |
53 | get => this.Fields[(int)FileSharePermissionsTupleFields.UserRef].AsString(); | 53 | get => this.Fields[(int)FileSharePermissionsSymbolFields.UserRef].AsString(); |
54 | set => this.Set((int)FileSharePermissionsTupleFields.UserRef, value); | 54 | set => this.Set((int)FileSharePermissionsSymbolFields.UserRef, value); |
55 | } | 55 | } |
56 | 56 | ||
57 | public int Permissions | 57 | public int Permissions |
58 | { | 58 | { |
59 | get => this.Fields[(int)FileSharePermissionsTupleFields.Permissions].AsNumber(); | 59 | get => this.Fields[(int)FileSharePermissionsSymbolFields.Permissions].AsNumber(); |
60 | set => this.Set((int)FileSharePermissionsTupleFields.Permissions, value); | 60 | set => this.Set((int)FileSharePermissionsSymbolFields.Permissions, value); |
61 | } | 61 | } |
62 | } | 62 | } |
63 | } \ No newline at end of file | 63 | } \ No newline at end of file |