C# 클래스 BlogSharp.Core.Impl.Services.Template.DefaultTemplateSource

상속: ITemplateSource
파일 보기 프로젝트 열기: BlogSharp/Blogsharp

공개 메소드들

메소드 설명
DefaultTemplateSource ( IFileService fileServices, ITemplateEngineRegistry templateEngineRegistry ) : System
GetTemplateFromFile ( string file ) : ITemplate
GetTemplateFromString ( string content ) : ITemplate
GetTemplateWithKey ( string key ) : ITemplate
RegisterTemplateWithFile ( string key, string file ) : void
RegisterTemplateWithString ( string key, string content ) : void
UnregisterTemplate ( string key ) : void

메소드 상세

DefaultTemplateSource() 공개 메소드

public DefaultTemplateSource ( IFileService fileServices, ITemplateEngineRegistry templateEngineRegistry ) : System
fileServices IFileService
templateEngineRegistry ITemplateEngineRegistry
리턴 System

GetTemplateFromFile() 공개 메소드

public GetTemplateFromFile ( string file ) : ITemplate
file string
리턴 ITemplate

GetTemplateFromString() 공개 메소드

public GetTemplateFromString ( string content ) : ITemplate
content string
리턴 ITemplate

GetTemplateWithKey() 공개 메소드

public GetTemplateWithKey ( string key ) : ITemplate
key string
리턴 ITemplate

RegisterTemplateWithFile() 공개 메소드

public RegisterTemplateWithFile ( string key, string file ) : void
key string
file string
리턴 void

RegisterTemplateWithString() 공개 메소드

public RegisterTemplateWithString ( string key, string content ) : void
key string
content string
리턴 void

UnregisterTemplate() 공개 메소드

public UnregisterTemplate ( string key ) : void
key string
리턴 void