@if (Type == ProgressType.Line)
{
@if (Steps == 0)
{
@if (SuccessPercent != 0)
{
}
}
else
{
@for (int i = 0; i < Steps; i++)
{
int index = i;
if (Percent >= 100 / Steps * (index + 1))
{
}
else
{
}
}
@if (Status == ProgressStatus.Success)
{
}
else if (Status == ProgressStatus.Exception)
{
}
else
{
@Format(Percent)
}
}
}
else if (Type == ProgressType.Circle)
{
@if (Status == ProgressStatus.Success && !_format)
{
}
else if (Status == ProgressStatus.Exception && !_format)
{
}
else
{
@Format(Percent)
}
}
else
{
@if (Status == ProgressStatus.Success && !_format)
{
}
else if (Status == ProgressStatus.Exception && !_format)
{
}
else
{
@Format(Percent)
}
}
@if (ShowInfo && Type == ProgressType.Line && Steps == 0)
{
if (Status == ProgressStatus.Success)
{
}
else if (Status == ProgressStatus.Exception)
{
}
else
{
@Format(Percent)
}
}