aboutsummaryrefslogtreecommitdiff
path: root/src/test/Example.Extension
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/Example.Extension')
-rw-r--r--src/test/Example.Extension/ExampleTableDefinitions.cs5
-rw-r--r--src/test/Example.Extension/ExampleWindowsInstallerBackendExtension.cs5
2 files changed, 7 insertions, 3 deletions
diff --git a/src/test/Example.Extension/ExampleTableDefinitions.cs b/src/test/Example.Extension/ExampleTableDefinitions.cs
index dbd6491b..5dbf6d64 100644
--- a/src/test/Example.Extension/ExampleTableDefinitions.cs
+++ b/src/test/Example.Extension/ExampleTableDefinitions.cs
@@ -1,4 +1,4 @@
1// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. 1// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2 2
3namespace Example.Extension 3namespace Example.Extension
4{ 4{
@@ -7,7 +7,8 @@ namespace Example.Extension
7 public static class ExampleTableDefinitions 7 public static class ExampleTableDefinitions
8 { 8 {
9 public static readonly TableDefinition ExampleTable = new TableDefinition( 9 public static readonly TableDefinition ExampleTable = new TableDefinition(
10 "Example", 10 "Wix4Example",
11 ExampleTupleDefinitions.Example.Name,
11 new[] 12 new[]
12 { 13 {
13 new ColumnDefinition("Example", ColumnType.String, 72, true, false, ColumnCategory.Identifier), 14 new ColumnDefinition("Example", ColumnType.String, 72, true, false, ColumnCategory.Identifier),
diff --git a/src/test/Example.Extension/ExampleWindowsInstallerBackendExtension.cs b/src/test/Example.Extension/ExampleWindowsInstallerBackendExtension.cs
index d6741bc1..af9c8489 100644
--- a/src/test/Example.Extension/ExampleWindowsInstallerBackendExtension.cs
+++ b/src/test/Example.Extension/ExampleWindowsInstallerBackendExtension.cs
@@ -1,13 +1,16 @@
1// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. 1// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2 2
3namespace Example.Extension 3namespace Example.Extension
4{ 4{
5 using System.Collections.Generic;
5 using WixToolset.Data; 6 using WixToolset.Data;
6 using WixToolset.Data.WindowsInstaller; 7 using WixToolset.Data.WindowsInstaller;
7 using WixToolset.Extensibility; 8 using WixToolset.Extensibility;
8 9
9 internal class ExampleWindowsInstallerBackendExtension : BaseWindowsInstallerBackendBinderExtension 10 internal class ExampleWindowsInstallerBackendExtension : BaseWindowsInstallerBackendBinderExtension
10 { 11 {
12 public override IEnumerable<TableDefinition> TableDefinitions => ExampleTableDefinitions.All;
13
11 public override bool TryAddTupleToOutput(IntermediateTuple tuple, WindowsInstallerData output) 14 public override bool TryAddTupleToOutput(IntermediateTuple tuple, WindowsInstallerData output)
12 { 15 {
13#if ALTERNATIVE_TO_USING_HELPER 16#if ALTERNATIVE_TO_USING_HELPER