TemplateServiceProvider::CreateTemplateService Method (HttpConfiguration^)

 

Create a new ITemplateService using IContentProvider as the resolver and ApiTemplate<TModel> as the template base.

This API is not CLS-compliant.

Namespace:   Microsoft.WindowsAzure.Mobile.Service.Content
Assembly:  Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)

protected:
[CLSCompliantAttribute(false)]
virtual ITemplateService^ CreateTemplateService(
	HttpConfiguration^ config
)

Parameters

config
Type: System.Web.Http::HttpConfiguration^

The current HttpConfiguration.

Return Value

Type: RazorEngine.Templating::ITemplateService^

A new ITemplateService instance.

Return to top
Show: