C# Class Sakura.AspNetCore.Mvc.Generators.CustomStringContentGenerator

Generate IHtmlContent from a custom string generator.
Inheritance: StringContentGenerator
Afficher le fichier Open project: sgjsakura/AspNetCore

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
CustomStringContentGenerator ( string>.[ stringContentGenerator, bool encodeText ) : System

Initialize a new instance of CustomStringContentGenerator.

Méthodes protégées

Méthode Description
GenerateContentString ( PagerItemGenerationContext context ) : string

Generate the content string.

Method Details

CustomStringContentGenerator() public méthode

Initialize a new instance of CustomStringContentGenerator.
is null.
public CustomStringContentGenerator ( string>.[ stringContentGenerator, bool encodeText ) : System
stringContentGenerator string>.[ The string generator callback delegate.
encodeText bool Whether the format result should be HTML encoded before be written to page.
Résultat System

GenerateContentString() protected méthode

Generate the content string.
protected GenerateContentString ( PagerItemGenerationContext context ) : string
context PagerItemGenerationContext The generation context.
Résultat string