ant-design-blazor/components/menu/AntMenuTheme.cs
2020-05-29 00:33:49 +08:00

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)
{
}
}
}