@if (this.ViewModel.OptionInstance is not null)
{
@foreach (var property in this.ViewModel.OptionInstance.Type.Properties)
{
@if (!property.IsVisible)
{
continue;
}
@if (property.ValuesFactory is not null)
{
var values = property.ValuesFactory();
}
else if (property.Type == typeof(bool))
{
}
else if (property.Type == typeof(int) ||
property.Type == typeof(uint) ||
property.Type == typeof(long) ||
property.Type == typeof(ulong) ||
property.Type == typeof(short) ||
property.Type == typeof(ushort) ||
property.Type == typeof(float) ||
property.Type == typeof(double))
{
@if (property.Validator is not null)
{
}
else
{
}
}
else
{
}
}
}