[]
        
(Showing Draft Content)

C1.Web.Mvc.TagHelpers.ServiceTagHelper-1

ServiceTagHelper<TControl> Class

ITagHelper implementation for C1.Web.Mvc.Service.

Namespace: C1.Web.Mvc.TagHelpers
Assembly: C1.AspNetCore.Mvc.dll
Syntax
public abstract class ServiceTagHelper<TControl> : ComponentTagHelper<TControl>, ITagHelper, ITagHelperComponent, ITemplateTagHelper where TControl : Service
Type Parameters
Name Description
TControl

Constructors

Name Description
ServiceTagHelper()

Properties

Name Description
CollectionName

Gets the collection name.

CustomDefaultPropertyName

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

Id

Configurates Id. Sets the id of the service.

IsTemplate

Configurates CollectionViewService<T>.IsTemplate. Sets a boolean value which indicates whether transfer this C1.Web.Mvc.CollectionViewService<T> to template mode.

TObject

Overrides to re-define getter and setter.

TemplateBindings

Configurates CollectionViewService<T>.TemplateBindings. Sets the collection of the template bindings.

Methods

Name Description
ProcessAttributes(TagHelperContext, object)

Processes all attributes of current taghelper.

Render(TagHelperOutput)

Renders the startup scripts.

UpdateProperty(string, object)

Updates the sub-property specified by its name and value.