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/ExampleWindowsInstallerBackendExtension.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/ExampleWindowsInstallerBackendExtension.cs')
| -rw-r--r-- | src/test/Example.Extension/ExampleWindowsInstallerBackendExtension.cs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/test/Example.Extension/ExampleWindowsInstallerBackendExtension.cs b/src/test/Example.Extension/ExampleWindowsInstallerBackendExtension.cs index 4ce4635f..2c108d96 100644 --- a/src/test/Example.Extension/ExampleWindowsInstallerBackendExtension.cs +++ b/src/test/Example.Extension/ExampleWindowsInstallerBackendExtension.cs | |||
| @@ -11,23 +11,23 @@ namespace Example.Extension | |||
| 11 | { | 11 | { |
| 12 | public override IEnumerable<TableDefinition> TableDefinitions => ExampleTableDefinitions.All; | 12 | public override IEnumerable<TableDefinition> TableDefinitions => ExampleTableDefinitions.All; |
| 13 | 13 | ||
| 14 | public override bool TryAddTupleToOutput(IntermediateSection section, IntermediateTuple tuple, WindowsInstallerData output, TableDefinitionCollection tableDefinitions) | 14 | public override bool TryAddSymbolToOutput(IntermediateSection section, IntermediateSymbol symbol, WindowsInstallerData output, TableDefinitionCollection tableDefinitions) |
| 15 | { | 15 | { |
| 16 | if (ExampleTupleDefinitions.TryGetTupleType(tuple.Definition.Name, out var tupleType)) | 16 | if (ExampleSymbolDefinitions.TryGetSymbolType(symbol.Definition.Name, out var symbolType)) |
| 17 | { | 17 | { |
| 18 | switch (tupleType) | 18 | switch (symbolType) |
| 19 | { | 19 | { |
| 20 | case ExampleTupleDefinitionType.Example: | 20 | case ExampleSymbolDefinitionType.Example: |
| 21 | { | 21 | { |
| 22 | var row = (ExampleRow)this.BackendHelper.CreateRow(section, tuple, output, ExampleTableDefinitions.ExampleTable); | 22 | var row = (ExampleRow)this.BackendHelper.CreateRow(section, symbol, output, ExampleTableDefinitions.ExampleTable); |
| 23 | row.Example = tuple.Id.Id; | 23 | row.Example = symbol.Id.Id; |
| 24 | row.Value = tuple[0].AsString(); | 24 | row.Value = symbol[0].AsString(); |
| 25 | } | 25 | } |
| 26 | return true; | 26 | return true; |
| 27 | } | 27 | } |
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | return base.TryAddTupleToOutput(section, tuple, output, tableDefinitions); | 30 | return base.TryAddSymbolToOutput(section, symbol, output, tableDefinitions); |
| 31 | } | 31 | } |
| 32 | } | 32 | } |
| 33 | } | 33 | } |
