diff options
Diffstat (limited to 'src/WixToolset.Data/WindowsInstaller/SequenceTableExtensions.cs')
| -rw-r--r-- | src/WixToolset.Data/WindowsInstaller/SequenceTableExtensions.cs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/WixToolset.Data/WindowsInstaller/SequenceTableExtensions.cs b/src/WixToolset.Data/WindowsInstaller/SequenceTableExtensions.cs new file mode 100644 index 00000000..099d722a --- /dev/null +++ b/src/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.Tuples; | ||
| 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 | } | ||
