diff options
Diffstat (limited to 'src/api/wix/WixToolset.Data/WindowsInstaller/SequenceTableExtensions.cs')
-rw-r--r-- | src/api/wix/WixToolset.Data/WindowsInstaller/SequenceTableExtensions.cs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/api/wix/WixToolset.Data/WindowsInstaller/SequenceTableExtensions.cs b/src/api/wix/WixToolset.Data/WindowsInstaller/SequenceTableExtensions.cs new file mode 100644 index 00000000..9131a374 --- /dev/null +++ b/src/api/wix/WixToolset.Data/WindowsInstaller/SequenceTableExtensions.cs | |||
@@ -0,0 +1,17 @@ | |||
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.Data.WindowsInstaller | ||
4 | { | ||
5 | using WixToolset.Data.Symbols; | ||
6 | |||
7 | /// <summary> | ||
8 | /// Enhancements to the SequenceTable enum. | ||
9 | /// </summary> | ||
10 | public static class SequenceTableExtensions | ||
11 | { | ||
12 | /// <summary> | ||
13 | /// Gets the SequenceTable enum as the Windows Installer table name. | ||
14 | /// </summary> | ||
15 | public static string WindowsInstallerTableName(this SequenceTable sequence) => (sequence == SequenceTable.AdvertiseExecuteSequence) ? "AdvtExecuteSequence" : sequence.ToString(); | ||
16 | } | ||
17 | } | ||