C# 클래스 Sakura.AspNetCore.Mvc.Generators.StringContentGenerator

Represent as generic base class for all IPagerItemContentGenerator which generate IHtmlContent from simple string value.
상속: IPagerItemContentGenerator
파일 보기 프로젝트 열기: sgjsakura/AspNetCore

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
GenerateContent ( PagerItemGenerationContext context ) : IHtmlContent

Generate the content for a specified pager item.

보호된 메소드들

메소드 설명
GenerateContentString ( PagerItemGenerationContext context ) : string

When be derived, generate the content string.

StringContentGenerator ( bool encodeText ) : JetBrains.Annotations

Initialize a new generator with specified information.

메소드 상세

GenerateContent() 공개 메소드

Generate the content for a specified pager item.
public GenerateContent ( PagerItemGenerationContext context ) : IHtmlContent
context PagerItemGenerationContext The generation context.
리턴 IHtmlContent

GenerateContentString() 보호된 추상적인 메소드

When be derived, generate the content string.
protected abstract GenerateContentString ( PagerItemGenerationContext context ) : string
context PagerItemGenerationContext The generation context.
리턴 string

StringContentGenerator() 보호된 메소드

Initialize a new generator with specified information.
protected StringContentGenerator ( bool encodeText ) : JetBrains.Annotations
encodeText bool /// Indicate that whether the generated string content should be HTML encoded before be written to /// page. ///
리턴 JetBrains.Annotations