C# 클래스 Gablarski.WebServer.ResourceTemplateLoader

상속: ITemplateLoader
파일 보기 프로젝트 열기: ermau/Gablarski

공개 메소드들

메소드 설명
CheckTemplate ( ITemplateInfo info ) : bool

Check's whether a template should be reloaded or not.

GetFiles ( string path, string filename ) : string[]

Fetch all files from the resource that matches the specified arguments.

HasTemplate ( string filename ) : bool

Returns whether or not the loader has an instance of the file requested

LoadTemplate ( string path ) : TextReader

Load a template into a T:System.IO.TextReader and return it.

ResourceTemplateLoader ( ) : System

메소드 상세

CheckTemplate() 공개 메소드

Check's whether a template should be reloaded or not.
public CheckTemplate ( ITemplateInfo info ) : bool
info ITemplateInfo template information
리턴 bool

GetFiles() 공개 메소드

Fetch all files from the resource that matches the specified arguments.
public GetFiles ( string path, string filename ) : string[]
path string Where the file should reside.
filename string Files to check
리턴 string[]

HasTemplate() 공개 메소드

Returns whether or not the loader has an instance of the file requested
public HasTemplate ( string filename ) : bool
filename string The name of the template/file
리턴 bool

LoadTemplate() 공개 메소드

Load a template into a T:System.IO.TextReader and return it.
public LoadTemplate ( string path ) : TextReader
path string Relative path (and filename) to template.
리턴 TextReader

ResourceTemplateLoader() 공개 메소드

public ResourceTemplateLoader ( ) : System
리턴 System