diff options
author | Rob Mensching <rob@firegiant.com> | 2020-06-25 14:43:50 -0700 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2020-06-25 14:50:31 -0700 |
commit | 38afa9e7bc7eacc021f8805f607368a05751e3c3 (patch) | |
tree | 803b0a8d9a06a7d6f7c4df408437017ae21a883e /src/test/Example.Extension/ExampleSearchTuple.cs | |
parent | 8968578d50858721317d410549a9f9b5c62bf1f7 (diff) | |
download | wix-38afa9e7bc7eacc021f8805f607368a05751e3c3.tar.gz wix-38afa9e7bc7eacc021f8805f607368a05751e3c3.tar.bz2 wix-38afa9e7bc7eacc021f8805f607368a05751e3c3.zip |
The Great Tuple to Symbol Rename (tm)
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 | } |