public static HtmlString FormControl(this IHtmlHelper html, Dictionary <string, object> inputAttrs, string tagName, InputOptions inputOptions) => ViewUtils.FormControl(html.GetRequest(), inputAttrs, tagName, inputOptions).ToHtmlString();
public IRawString formControl(ScriptScopeContext scope, object inputAttrs, string tagName, object inputOptions) => ViewUtils.FormControl(scope.GetRequest(), inputAttrs.AssertOptions(nameof(formControl)), tagName, (inputOptions as IEnumerable <KeyValuePair <string, object> >).FromObjectDictionary <InputOptions>()).ToRawString();
public IRawString formControl(TemplateScopeContext scope, object inputAttrs, string tagName, object inputOptions) => ViewUtils.FormControl(Context.GetServiceStackFilters().req(scope), inputAttrs.AssertOptions(nameof(formControl)), tagName, (inputOptions as IEnumerable <KeyValuePair <string, object> >).FromObjectDictionary <InputOptions>()).ToRawString();