diff options
Diffstat (limited to 'src/test/Example.Extension/ExampleSearchTuple.cs')
| -rw-r--r-- | src/test/Example.Extension/ExampleSearchTuple.cs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/test/Example.Extension/ExampleSearchTuple.cs b/src/test/Example.Extension/ExampleSearchTuple.cs index 353ef158..40a39292 100644 --- a/src/test/Example.Extension/ExampleSearchTuple.cs +++ b/src/test/Example.Extension/ExampleSearchTuple.cs | |||
| @@ -4,27 +4,27 @@ namespace Example.Extension | |||
| 4 | { | 4 | { |
| 5 | using WixToolset.Data; | 5 | using WixToolset.Data; |
| 6 | 6 | ||
| 7 | public enum ExampleSearchTupleFields | 7 | public enum ExampleSearchSymbolFields |
| 8 | { | 8 | { |
| 9 | SearchFor, | 9 | SearchFor, |
| 10 | } | 10 | } |
| 11 | 11 | ||
| 12 | public class ExampleSearchTuple : IntermediateTuple | 12 | public class ExampleSearchSymbol : IntermediateSymbol |
| 13 | { | 13 | { |
| 14 | public ExampleSearchTuple() : base(ExampleTupleDefinitions.ExampleSearch, null, null) | 14 | public ExampleSearchSymbol() : base(ExampleSymbolDefinitions.ExampleSearch, null, null) |
| 15 | { | 15 | { |
| 16 | } | 16 | } |
| 17 | 17 | ||
| 18 | public ExampleSearchTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ExampleTupleDefinitions.ExampleSearch, sourceLineNumber, id) | 18 | public ExampleSearchSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ExampleSymbolDefinitions.ExampleSearch, sourceLineNumber, id) |
| 19 | { | 19 | { |
| 20 | } | 20 | } |
| 21 | 21 | ||
| 22 | public IntermediateField this[ExampleTupleFields index] => this.Fields[(int)index]; | 22 | public IntermediateField this[ExampleSymbolFields index] => this.Fields[(int)index]; |
| 23 | 23 | ||
| 24 | public string SearchFor | 24 | public string SearchFor |
| 25 | { | 25 | { |
| 26 | get => this.Fields[(int)ExampleSearchTupleFields.SearchFor]?.AsString(); | 26 | get => this.Fields[(int)ExampleSearchSymbolFields.SearchFor]?.AsString(); |
| 27 | set => this.Set((int)ExampleSearchTupleFields.SearchFor, value); | 27 | set => this.Set((int)ExampleSearchSymbolFields.SearchFor, value); |
| 28 | } | 28 | } |
| 29 | } | 29 | } |
| 30 | } | 30 | } |
