C# Class Sakura.AspNetCore.Mvc.TagHelpers.EnumForSelectTagHelper

Inheritance: EnumSelectTagHelper
Mostrar archivo Open project: sgjsakura/AspNetCore

Private Properties

Property Type Description

Public Methods

Method Description
EnumForSelectTagHelper ( IHtmlGenerator generator ) : System

Initialize an new instance with required services.

Process ( Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext context, Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput output ) : void

Synchronously executes the TagHelper with the given context and output.

Protected Methods

Method Description
GetEnumType ( ) : Type

Return the actual enum type for generating the list.

Method Details

EnumForSelectTagHelper() public method

Initialize an new instance with required services.
public EnumForSelectTagHelper ( IHtmlGenerator generator ) : System
generator IHtmlGenerator The HTML generator service.
return System

GetEnumType() protected method

Return the actual enum type for generating the list.
protected GetEnumType ( ) : Type
return System.Type

Process() public method

Synchronously executes the TagHelper with the given context and output.
public Process ( Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext context, Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput output ) : void
context Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext Contains information associated with the current HTML tag.
output Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput A stateful HTML element used to generate an HTML tag.
return void