aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2020-04-07 18:11:22 +1000
committerSean Hall <r.sean.hall@gmail.com>2020-04-07 20:40:52 +1000
commit32646d97b57d35e8a5786eb2c7c56a499107065d (patch)
tree8163ea774217d959925ec1cc445a7453273b4253
parent6dd0c57a19e556c881064f62a2e77a3467eab286 (diff)
downloadwix-32646d97b57d35e8a5786eb2c7c56a499107065d.tar.gz
wix-32646d97b57d35e8a5786eb2c7c56a499107065d.tar.bz2
wix-32646d97b57d35e8a5786eb2c7c56a499107065d.zip
Split the table definitions into VSTableDefinitions.
-rw-r--r--src/wixext/VSTableDefinitions.cs (renamed from src/wixext/VSWindowsInstallerBackendExtension.cs)8
-rw-r--r--src/wixext/VSWindowsInstallerBackendBinderExtension.cs13
2 files changed, 15 insertions, 6 deletions
diff --git a/src/wixext/VSWindowsInstallerBackendExtension.cs b/src/wixext/VSTableDefinitions.cs
index 38d350cf..64634004 100644
--- a/src/wixext/VSWindowsInstallerBackendExtension.cs
+++ b/src/wixext/VSTableDefinitions.cs
@@ -2,13 +2,11 @@
2 2
3namespace WixToolset.VisualStudio 3namespace WixToolset.VisualStudio
4{ 4{
5 using System.Collections.Generic;
6 using WixToolset.Data.WindowsInstaller; 5 using WixToolset.Data.WindowsInstaller;
7 using WixToolset.Extensibility;
8 6
9 public class VSWindowsInstallerBackendBinderExtension : BaseWindowsInstallerBackendBinderExtension 7 public static class VSTableDefinitions
10 { 8 {
11 private static readonly TableDefinition[] Tables = new[] { 9 public static readonly TableDefinition[] Tables = new[] {
12 new TableDefinition( 10 new TableDefinition(
13 "HelpFile", 11 "HelpFile",
14 new[] 12 new[]
@@ -70,7 +68,5 @@ namespace WixToolset.VisualStudio
70 } 68 }
71 ), 69 ),
72 }; 70 };
73
74 public override IEnumerable<TableDefinition> TableDefinitions => Tables;
75 } 71 }
76} 72}
diff --git a/src/wixext/VSWindowsInstallerBackendBinderExtension.cs b/src/wixext/VSWindowsInstallerBackendBinderExtension.cs
new file mode 100644
index 00000000..7a9579ca
--- /dev/null
+++ b/src/wixext/VSWindowsInstallerBackendBinderExtension.cs
@@ -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
3namespace 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}