diff options
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 | } |