C# Class TerrificNet.ViewEngine.TerrificTemplateRepository

Inheritance: ITemplateRepository, IDisposable
ファイルを表示 Open project: namics/TerrificNet Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
GetAll ( ) : IEnumerable
GetTemplateAsync ( string id ) : Task
TerrificTemplateRepository ( IFileSystem fileSystem, ITerrificNetConfig configuration ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
GetTemplateId ( PathInfo info ) : PathInfo
InitCache ( ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

GetAll() public method

public GetAll ( ) : IEnumerable
return IEnumerable

GetTemplateAsync() public method

public GetTemplateAsync ( string id ) : Task
id string
return Task

TerrificTemplateRepository() public method

public TerrificTemplateRepository ( IFileSystem fileSystem, ITerrificNetConfig configuration ) : System
fileSystem IFileSystem
configuration ITerrificNetConfig
return System