@joebigelow / wix / commits / 32646d97

Split the table definitions into VSTableDefinitions.

Sean Hall committed Apr 7, 2020 at 18:11 UTC 32646d97b57d35e8a5786eb2c7c56a499107065d
2 files changed +15 -6
src/wixext/VSTableDefinitions.cs renamed
+2 -6
@@ -2,13 +2,11 @@
2
3 namespace WixToolset.VisualStudio
4 {
5 - using System.Collections.Generic;
5 using WixToolset.Data.WindowsInstaller;
7 - using WixToolset.Extensibility;
6
9 - public class VSWindowsInstallerBackendBinderExtension : BaseWindowsInstallerBackendBinderExtension
7 + public static class VSTableDefinitions
8 {
11 - private static readonly TableDefinition[] Tables = new[] {
9 + public static readonly TableDefinition[] Tables = new[] {
10 new TableDefinition(
11 "HelpFile",
12 new[]
@@ -70,7 +68,5 @@ namespace WixToolset.VisualStudio
68 }
69 ),
70 };
73 -
74 - public override IEnumerable<TableDefinition> TableDefinitions => Tables;
71 }
72 }
src/wixext/VSWindowsInstallerBackendBinderExtension.cs new
+13
@@ -0,0 +1,13 @@
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 +
3 +namespace WixToolset.VisualStudio
4 +{
5 + using System.Collections.Generic;
6 + using WixToolset.Data.WindowsInstaller;
7 + using WixToolset.Extensibility;
8 +
9 + public class VSWindowsInstallerBackendBinderExtension : BaseWindowsInstallerBackendBinderExtension
10 + {
11 + public override IEnumerable<TableDefinition> TableDefinitions => VSTableDefinitions.Tables;
12 + }
13 +}