main
cs 17 lines 730 Bytes
Raw
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 }