[]
        
(Showing Draft Content)

C1.Web.Mvc.TagHelpers.SettingTagHelper-1

SettingTagHelper<T> Class

Defines the basic taghelper class of the inner taghelper for the property which type is complex.

Namespace: C1.Web.Mvc.TagHelpers
Assembly: C1.AspNetCore.Mvc.dll
Syntax
public abstract class SettingTagHelper<T> : BaseTagHelper<T>, ITagHelper, ITagHelperComponent where T : class
Type Parameters
Name Description
T

The item type.

Constructors

Name Description
SettingTagHelper()

Properties

Name Description
C1Property

Gets or sets the property name which the taghelper is related to.

CustomDefaultPropertyName

Gets the customized default proeprty name. Overrides this property to customize the default property name for this tag.

TObject

Overrides to redefine getter and setter.

Methods

Name Description
ProcessAttributes(TagHelperContext, object)

Processes all attributes of current taghelper.

ProcessChildContent(object, TagHelperContent)

Processes the child content.

UpdateProperty(string, object)

Updates the property in TObject. It is used to update the child property manually instead of the default one.