public static IHtmlContent GovUkRadiosFor <TModel, TProperty>( this IHtmlHelper <TModel> htmlHelper, Expression <Func <TModel, TProperty> > propertyLambdaExpression, FieldsetViewModel fieldsetOptions = null, HintViewModel hintOptions = null) where TModel : GovUkViewModel { return(RadiosHtmlGenerator.GenerateHtml( htmlHelper, propertyLambdaExpression, fieldsetOptions, hintOptions)); }
public static IHtmlContent GovUkRadiosFor <TModel, TProperty>( this IHtmlHelper <TModel> htmlHelper, Expression <Func <TModel, TProperty> > propertyLambdaExpression, FieldsetViewModel fieldsetOptions = null, HintViewModel hintOptions = null, Dictionary <TProperty, LabelViewModel> itemLabelOptions = null, Dictionary <TProperty, HintViewModel> itemHintOptions = null, string classes = null, Dictionary <TProperty, Func <object, object> > conditionalOptions = null) where TModel : GovUkViewModel { return(RadiosHtmlGenerator.GenerateHtml( htmlHelper, propertyLambdaExpression, fieldsetOptions, hintOptions, itemLabelOptions, itemHintOptions, conditionalOptions, classes)); }