示例#1
0
        public virtual IViewComponentResult Invoke(Dictionary <string, string> values)
        {
            _model.SetProps(values);
            _model.AdditionalClass = AutoPropsHelper.CombineClassProps(new List <string>
            {
                { _model.AdditionalClass },
                { additionalButtonCSS }
            });

            return(View($"/Views/Shared/Components/RadioButton/{this.viewName}", _model));
        }
示例#2
0
        public virtual IViewComponentResult Invoke(Dictionary <string, string> values)
        {
            _model.SetProps(values);
            _model.AdditionalClass = AutoPropsHelper.CombineClassProps(new List <string>
            {
                _model.AdditionalClass,
                _additionalCss
            });

            return(View($"/Views/Shared/Components/BaseComponents/Hint/{this.viewName}", _model));
        }