[]
        
(Showing Draft Content)

C1.Web.Mvc.TagHelpers.BaseTagHelper-1

BaseTagHelper<T> Class

Defines the basic class for C1 objects' taghelper.

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

The item type.

Constructors

Name Description
BaseTagHelper()

Properties

Name Description
CollectionName

Gets the collection name.

TObject

Gets or sets the corresponding object.

ViewContext

Methods

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.