ITemplateProviderScope

Namespace: Proffer.Templating

Templating scope for a configured provider.

public interface ITemplateProviderScope

Methods

Compile(String)

Compiles the specified template content.

ITemplate Compile(string templateContent)

Parameters

templateContent String
Content of the template.

Returns

ITemplate
A new compiled from the content.

RegisterPartial(String, String)

Registers a partial template with a name.

void RegisterPartial(string name, string template)

Parameters

name String
The name.

template String
The template.

Exceptions

NotSupportedException