C# 클래스 Pretzel.Logic.Templating.JekyllEngineBase

상속: ISiteEngine
파일 보기 프로젝트 열기: Code52/pretzel

보호된 프로퍼티들

프로퍼티 타입 설명
Context Pretzel.Logic.Templating.Context.SiteContext

Private Properties

프로퍼티 타입 설명
CreateOutputDirectory void
FindLayoutPath string
GetContentExcerpt string
GetNext Pretzel.Logic.Templating.Context.Page
GetPrevious Pretzel.Logic.Templating.Context.Page
MapToOutputPath string
ProcessFile void
ProcessTemplate object>.IDictionary
RenderContent string

공개 메소드들

메소드 설명
CanProcess ( Pretzel.Logic.Templating.Context.SiteContext context ) : bool
CopyFileIfSourceNewer ( string sourceFileName, string destFileName, bool overwrite ) : void
Initialize ( ) : void
Process ( Pretzel.Logic.Templating.Context.SiteContext siteContext, bool skipFileOnError = false ) : void

보호된 메소드들

메소드 설명
PreProcess ( ) : void
RenderTemplate ( string content, Pretzel.Logic.Templating.Context.PageContext pageData ) : string

비공개 메소드들

메소드 설명
CreateOutputDirectory ( string outputFile ) : void
FindLayoutPath ( string layout ) : string
GetContentExcerpt ( string content, string excerptSeparator ) : string
GetNext ( IList pages, int index ) : Pretzel.Logic.Templating.Context.Page
GetPrevious ( IList pages, int index ) : Pretzel.Logic.Templating.Context.Page
MapToOutputPath ( string file ) : string
ProcessFile ( string outputDirectory, Pretzel.Logic.Templating.Context.Page page, Pretzel.Logic.Templating.Context.Page previous, Pretzel.Logic.Templating.Context.Page next, bool skipFileOnError, string relativePath = "" ) : void
ProcessTemplate ( Pretzel.Logic.Templating.Context.PageContext pageContext, string path ) : object>.IDictionary
RenderContent ( string file, string contents ) : string

메소드 상세

CanProcess() 공개 메소드

public CanProcess ( Pretzel.Logic.Templating.Context.SiteContext context ) : bool
context Pretzel.Logic.Templating.Context.SiteContext
리턴 bool

CopyFileIfSourceNewer() 공개 메소드

public CopyFileIfSourceNewer ( string sourceFileName, string destFileName, bool overwrite ) : void
sourceFileName string
destFileName string
overwrite bool
리턴 void

Initialize() 공개 추상적인 메소드

public abstract Initialize ( ) : void
리턴 void

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

protected abstract PreProcess ( ) : void
리턴 void

Process() 공개 메소드

public Process ( Pretzel.Logic.Templating.Context.SiteContext siteContext, bool skipFileOnError = false ) : void
siteContext Pretzel.Logic.Templating.Context.SiteContext
skipFileOnError bool
리턴 void

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

protected abstract RenderTemplate ( string content, Pretzel.Logic.Templating.Context.PageContext pageData ) : string
content string
pageData Pretzel.Logic.Templating.Context.PageContext
리턴 string

프로퍼티 상세

Context 보호되어 있는 프로퍼티

protected SiteContext,Pretzel.Logic.Templating.Context Context
리턴 Pretzel.Logic.Templating.Context.SiteContext