TemplateServiceProvider Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides a default ITemplateServiceProvider which resolves template views using the registered IContentProvider.
public class TemplateServiceProvider : Microsoft.WindowsAzure.Mobile.Service.Content.ITemplateServiceProvider
type TemplateServiceProvider = class
interface ITemplateServiceProvider
Public Class TemplateServiceProvider
Implements ITemplateServiceProvider
- Inheritance
-
TemplateServiceProvider
- Implements
Constructors
TemplateServiceProvider(HttpConfiguration) |
Initializes a new instance of the TemplateServiceProvider with a given |
Methods
CreateTemplateResolver(IContentProvider) |
Create a new RazorEngine.Templating.ITemplateService resolver delegate which is called by the RazorEngine.Templating.TemplateService for resolving views. |
CreateTemplateService(HttpConfiguration) |
Create a new RazorEngine.Templating.ITemplateService using IContentProvider as the resolver and ApiTemplate<TModel> as the template base. |
GetTemplateService() |
Gets the RazorEngine.Templating.ITemplateService which will be used to resolve template views. |
Applies to
Azure SDK for .NET