ITemplateLoaderFactory

Namespace: Proffer.Templating

Creates ITemplateLoader from Proffer.Storage.IStore.

public interface ITemplateLoaderFactory

Methods

Create(IStore)

Creates a template loader from the specified store.

ITemplateLoader Create(IStore store)

Parameters

store IStore
The store.

Returns

ITemplateLoader
A that loads templates from the given .

Create(IStore, String)

Creates a template loader from the specified store with the specified cache scope.

ITemplateLoader Create(IStore store, string scope)

Parameters

store IStore
The store.

scope String
The cache scope.

Returns

ITemplateLoader
A that loads templates from the given .