@if (parameter(); as parameter) { @switch (parameter.type) { @case (eParameterType.FLOAT) { } @case (eParameterType.INT) { } @case (eParameterType.BOOLEAN) { } @default { @if (parameter.options) { @for (option of parameter.options; track option) { {{ option }} } } @else { } } } }