TemplateCollectionBase<TStore>

Namespace: Proffer.Templating

Abstract base class to load and apply templates from a typed .

public abstract class TemplateCollectionBase<TStore> : TemplateCollectionBase

Type Parameters

TStore
The type of the store.

Inheritance ObjectTemplateCollectionBaseTemplateCollectionBase<TStore>

Properties

Loader

Gets the templates loader.

public ITemplateLoader Loader { get; }

Property Value

ITemplateLoader

Constructors

TemplateCollectionBase(TStore, ITemplateLoaderFactory)

Initializes a new instance of the TemplateCollectionBase<TStore> class.

public TemplateCollectionBase(TStore store, ITemplateLoaderFactory templateLoaderFactory)

Parameters

store TStore
The typed store.

templateLoaderFactory ITemplateLoaderFactory
The template loader factory.