Class AbpRadioInputTagHelperService
Inheritance
System.Object
AbpRadioInputTagHelperService
Implements
ITransientDependency
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.dll
public class AbpRadioInputTagHelperService : AbpTagHelperService<AbpRadioInputTagHelper>, IAbpTagHelperService<AbpRadioInputTagHelper>, ITransientDependency
Constructors
Declaration
public AbpRadioInputTagHelperService(IAbpTagHelperLocalizer tagHelperLocalizer)
Parameters
Methods
AddGroupToFormGroupContents(TagHelperContext, String, String, Int32, out Boolean)
Declaration
protected virtual void AddGroupToFormGroupContents(TagHelperContext context, string propertyName, string html, int order, out bool suppress)
Parameters
Type |
Name |
Description |
TagHelperContext |
context |
|
System.String |
propertyName |
|
System.String |
html |
|
System.Int32 |
order |
|
System.Boolean |
suppress |
|
GetHtml(TagHelperContext, TagHelperOutput, List<SelectListItem>)
Declaration
protected virtual string GetHtml(TagHelperContext context, TagHelperOutput output, List<SelectListItem> selectItems)
Parameters
Type |
Name |
Description |
TagHelperContext |
context |
|
TagHelperOutput |
output |
|
System.Collections.Generic.List<SelectListItem> |
selectItems |
|
Returns
Type |
Description |
System.String |
|
Declaration
protected virtual string GetLocalizedPropertyName(IStringLocalizer localizer, Type enumType, string propertyName)
Parameters
Type |
Name |
Description |
IStringLocalizer |
localizer |
|
System.Type |
enumType |
|
System.String |
propertyName |
|
Returns
Type |
Description |
System.String |
|
GetSelectedValue(TagHelperContext, TagHelperOutput)
Declaration
protected virtual string GetSelectedValue(TagHelperContext context, TagHelperOutput output)
Parameters
Type |
Name |
Description |
TagHelperContext |
context |
|
TagHelperOutput |
output |
|
Returns
Type |
Description |
System.String |
|
GetSelectItems(TagHelperContext, TagHelperOutput)
Declaration
protected virtual List<SelectListItem> GetSelectItems(TagHelperContext context, TagHelperOutput output)
Parameters
Type |
Name |
Description |
TagHelperContext |
context |
|
TagHelperOutput |
output |
|
Returns
Type |
Description |
System.Collections.Generic.List<SelectListItem> |
|
Declaration
protected virtual List<SelectListItem> GetSelectItemsFromAttribute(SelectItems selectItemsAttribute, ModelExplorer explorer)
Parameters
Type |
Name |
Description |
SelectItems |
selectItemsAttribute |
|
ModelExplorer |
explorer |
|
Returns
Type |
Description |
System.Collections.Generic.List<SelectListItem> |
|
Declaration
protected virtual List<SelectListItem> GetSelectItemsFromEnum(TagHelperContext context, TagHelperOutput output, ModelExplorer explorer)
Parameters
Type |
Name |
Description |
TagHelperContext |
context |
|
TagHelperOutput |
output |
|
ModelExplorer |
explorer |
|
Returns
Type |
Description |
System.Collections.Generic.List<SelectListItem> |
|
Process(TagHelperContext, TagHelperOutput)
Declaration
public override void Process(TagHelperContext context, TagHelperOutput output)
Parameters
Type |
Name |
Description |
TagHelperContext |
context |
|
TagHelperOutput |
output |
|
Overrides
Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.AbpTagHelperService<Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Form.AbpRadioInputTagHelper>.Process(TagHelperContext, TagHelperOutput)
SetSelectedValue(TagHelperContext, TagHelperOutput, List<SelectListItem>)
Declaration
protected virtual void SetSelectedValue(TagHelperContext context, TagHelperOutput output, List<SelectListItem> selectItems)
Parameters
Type |
Name |
Description |
TagHelperContext |
context |
|
TagHelperOutput |
output |
|
System.Collections.Generic.List<SelectListItem> |
selectItems |
|
Implements
ITransientDependency
Extension Methods