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