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

Inheritance: EnumSelectTagHelper
Afficher le fichier Open project: sgjsakura/AspNetCore

Private Properties

Свойство Type Description

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
GetEnumType ( ) : Type

Return the actual enum type for generating the list.

Method Details

EnumForSelectTagHelper() public méthode

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

GetEnumType() protected méthode

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

Process() public méthode

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.
Résultat void