2020-07-03 13:37:40 +08:00
|
|
|
|
namespace AntDesign
|
2020-05-19 17:29:41 +08:00
|
|
|
|
{
|
2020-07-03 13:37:40 +08:00
|
|
|
|
public sealed class ProgressSize : EnumValue<ProgressSize>
|
2020-05-19 17:29:41 +08:00
|
|
|
|
{
|
|
|
|
|
public static readonly ProgressSize Small = new ProgressSize(nameof(Small), 1);
|
|
|
|
|
public static readonly ProgressSize Default = new ProgressSize(nameof(Default), 2);
|
|
|
|
|
|
2020-07-03 13:37:40 +08:00
|
|
|
|
private ProgressSize(string name, int value) : base(name.ToLowerInvariant(), value)
|
|
|
|
|
{
|
|
|
|
|
}
|
2020-05-19 17:29:41 +08:00
|
|
|
|
}
|
|
|
|
|
|
2020-07-03 13:37:40 +08:00
|
|
|
|
public sealed class ProgressType : EnumValue<ProgressType>
|
2020-05-19 17:29:41 +08:00
|
|
|
|
{
|
|
|
|
|
public static readonly ProgressType Line = new ProgressType(nameof(Line), 1);
|
|
|
|
|
public static readonly ProgressType Circle = new ProgressType(nameof(Circle), 2);
|
|
|
|
|
public static readonly ProgressType Dashboard = new ProgressType(nameof(Dashboard), 3);
|
|
|
|
|
|
2020-07-03 13:37:40 +08:00
|
|
|
|
private ProgressType(string name, int value) : base(name.ToLowerInvariant(), value)
|
|
|
|
|
{
|
|
|
|
|
}
|
2020-05-19 17:29:41 +08:00
|
|
|
|
}
|
|
|
|
|
|
2020-07-03 13:37:40 +08:00
|
|
|
|
public sealed class ProgressStatus : EnumValue<ProgressStatus>
|
2020-05-19 17:29:41 +08:00
|
|
|
|
{
|
|
|
|
|
public static readonly ProgressStatus Success = new ProgressStatus(nameof(Success), 1);
|
|
|
|
|
public static readonly ProgressStatus Exception = new ProgressStatus(nameof(Exception), 2);
|
|
|
|
|
public static readonly ProgressStatus Normal = new ProgressStatus(nameof(Normal), 3);
|
|
|
|
|
public static readonly ProgressStatus Active = new ProgressStatus(nameof(Active), 4);
|
|
|
|
|
|
2020-07-03 13:37:40 +08:00
|
|
|
|
private ProgressStatus(string name, int value) : base(name.ToLowerInvariant(), value)
|
|
|
|
|
{
|
|
|
|
|
}
|
2020-05-19 17:29:41 +08:00
|
|
|
|
}
|
|
|
|
|
|
2020-07-03 13:37:40 +08:00
|
|
|
|
public sealed class ProgressStrokeLinecap : EnumValue<ProgressStrokeLinecap>
|
2020-05-19 17:29:41 +08:00
|
|
|
|
{
|
|
|
|
|
public static readonly ProgressStrokeLinecap Round = new ProgressStrokeLinecap(nameof(Round), 1);
|
|
|
|
|
public static readonly ProgressStrokeLinecap Square = new ProgressStrokeLinecap(nameof(Square), 2);
|
|
|
|
|
|
2020-07-03 13:37:40 +08:00
|
|
|
|
private ProgressStrokeLinecap(string name, int value) : base(name.ToLowerInvariant(), value)
|
|
|
|
|
{
|
|
|
|
|
}
|
2020-05-19 17:29:41 +08:00
|
|
|
|
}
|
|
|
|
|
|
2020-07-03 13:37:40 +08:00
|
|
|
|
public sealed class ProgressGapPosition : EnumValue<ProgressGapPosition>
|
2020-05-19 17:29:41 +08:00
|
|
|
|
{
|
|
|
|
|
public static readonly ProgressGapPosition Top = new ProgressGapPosition(nameof(Top), 1);
|
|
|
|
|
public static readonly ProgressGapPosition Bottom = new ProgressGapPosition(nameof(Bottom), 2);
|
|
|
|
|
public static readonly ProgressGapPosition Left = new ProgressGapPosition(nameof(Left), 3);
|
|
|
|
|
public static readonly ProgressGapPosition Right = new ProgressGapPosition(nameof(Right), 4);
|
|
|
|
|
|
2020-07-03 13:37:40 +08:00
|
|
|
|
private ProgressGapPosition(string name, int value) : base(name.ToLowerInvariant(), value)
|
|
|
|
|
{
|
|
|
|
|
}
|
2020-05-19 17:29:41 +08:00
|
|
|
|
}
|
|
|
|
|
}
|