blob: 099d722ae54a17c08ea7b5381993e839da66ad23 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// 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.
namespace WixToolset.Data.WindowsInstaller
{
using WixToolset.Data.Tuples;
/// <summary>
/// Enhancements to the SequenceTable enum.
/// </summary>
public static class SequenceTableExtensions
{
/// <summary>
/// Gets the SequenceTable enum as the Windows Installer table name.
/// </summary>
public static string WindowsInstallerTableName(this SequenceTable sequence) => (sequence == SequenceTable.AdvertiseExecuteSequence) ? "AdvtExecuteSequence" : sequence.ToString();
}
}
|