mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-05 05:27:37 +08:00
16 lines
496 B
C#
16 lines
496 B
C#
using System.Globalization;
|
|
using Ardalis.SmartEnum;
|
|
|
|
namespace AntDesign
|
|
{
|
|
public sealed class AntMenuTheme : SmartEnum<AntMenuTheme>
|
|
{
|
|
public static readonly AntMenuTheme Light = new AntMenuTheme(nameof(Light).ToLower(CultureInfo.CurrentCulture), 1);
|
|
public static readonly AntMenuTheme Dark = new AntMenuTheme(nameof(Dark).ToLower(CultureInfo.CurrentCulture), 2);
|
|
|
|
private AntMenuTheme(string name, int value) : base(name, value)
|
|
{
|
|
}
|
|
}
|
|
}
|