[]
Defines the basic class for C1 objects' taghelper.
public abstract class BaseTagHelper<T> : TagHelper, ITagHelper, ITagHelperComponent where T : class
Public MustInherit Class BaseTagHelper(Of T As Class)
Inherits TagHelper
Implements ITagHelper, ITagHelperComponent
| Name | Description |
|---|---|
| T | The item type. |
| Name | Description |
|---|---|
| BaseTagHelper() |
| Name | Description |
|---|---|
| CollectionName | Gets the collection name. |
| TObject | Gets or sets the corresponding object. |
| ViewContext |
| Name | Description |
|---|---|
| GetObjectInstance(object) | Gets the T instance. |
| Process(TagHelperContext, TagHelperOutput) | Synchronously executes the Microsoft.AspNetCore.Razor.TagHelpers.TagHelper with the given context and output. |
| ProcessAsTemplate() | When the taghelper works as template, add the pre-processing here. |
| ProcessAttributes(TagHelperContext, object) | Processes the attributes set in the taghelper. |
| ProcessChildContent(object, TagHelperContent) | Processes the child content. |
| ProcessChildContentAsync(TagHelperContext, TagHelperOutput, object) | Processes the the children taghelpers. |