diff options
Diffstat (limited to 'src/WixToolset.Data/Tuples/CreateFolderTuple.cs')
| -rw-r--r-- | src/WixToolset.Data/Tuples/CreateFolderTuple.cs | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/WixToolset.Data/Tuples/CreateFolderTuple.cs b/src/WixToolset.Data/Tuples/CreateFolderTuple.cs index d9d4763e..2b282266 100644 --- a/src/WixToolset.Data/Tuples/CreateFolderTuple.cs +++ b/src/WixToolset.Data/Tuples/CreateFolderTuple.cs | |||
| @@ -2,51 +2,51 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace WixToolset.Data |
| 4 | { | 4 | { |
| 5 | using WixToolset.Data.Tuples; | 5 | using WixToolset.Data.Symbols; |
| 6 | 6 | ||
| 7 | public static partial class TupleDefinitions | 7 | public static partial class SymbolDefinitions |
| 8 | { | 8 | { |
| 9 | public static readonly IntermediateTupleDefinition CreateFolder = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition CreateFolder = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.CreateFolder, | 10 | SymbolDefinitionType.CreateFolder, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(CreateFolderTupleFields.DirectoryRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(CreateFolderSymbolFields.DirectoryRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(CreateFolderTupleFields.ComponentRef), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(CreateFolderSymbolFields.ComponentRef), IntermediateFieldType.String), |
| 15 | }, | 15 | }, |
| 16 | typeof(CreateFolderTuple)); | 16 | typeof(CreateFolderSymbol)); |
| 17 | } | 17 | } |
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | namespace WixToolset.Data.Tuples | 20 | namespace WixToolset.Data.Symbols |
| 21 | { | 21 | { |
| 22 | public enum CreateFolderTupleFields | 22 | public enum CreateFolderSymbolFields |
| 23 | { | 23 | { |
| 24 | DirectoryRef, | 24 | DirectoryRef, |
| 25 | ComponentRef, | 25 | ComponentRef, |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | public class CreateFolderTuple : IntermediateTuple | 28 | public class CreateFolderSymbol : IntermediateSymbol |
| 29 | { | 29 | { |
| 30 | public CreateFolderTuple() : base(TupleDefinitions.CreateFolder, null, null) | 30 | public CreateFolderSymbol() : base(SymbolDefinitions.CreateFolder, null, null) |
| 31 | { | 31 | { |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public CreateFolderTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.CreateFolder, sourceLineNumber, id) | 34 | public CreateFolderSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.CreateFolder, sourceLineNumber, id) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public IntermediateField this[CreateFolderTupleFields index] => this.Fields[(int)index]; | 38 | public IntermediateField this[CreateFolderSymbolFields index] => this.Fields[(int)index]; |
| 39 | 39 | ||
| 40 | public string DirectoryRef | 40 | public string DirectoryRef |
| 41 | { | 41 | { |
| 42 | get => (string)this.Fields[(int)CreateFolderTupleFields.DirectoryRef]; | 42 | get => (string)this.Fields[(int)CreateFolderSymbolFields.DirectoryRef]; |
| 43 | set => this.Set((int)CreateFolderTupleFields.DirectoryRef, value); | 43 | set => this.Set((int)CreateFolderSymbolFields.DirectoryRef, value); |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public string ComponentRef | 46 | public string ComponentRef |
| 47 | { | 47 | { |
| 48 | get => (string)this.Fields[(int)CreateFolderTupleFields.ComponentRef]; | 48 | get => (string)this.Fields[(int)CreateFolderSymbolFields.ComponentRef]; |
| 49 | set => this.Set((int)CreateFolderTupleFields.ComponentRef, value); | 49 | set => this.Set((int)CreateFolderSymbolFields.ComponentRef, value); |
| 50 | } | 50 | } |
| 51 | } | 51 | } |
| 52 | } \ No newline at end of file | 52 | } \ No newline at end of file |
