TemplateServiceProvider.CreateTemplateResolver(IContentProvider) Method
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.
Create a new RazorEngine.Templating.ITemplateService resolver delegate which is called by the RazorEngine.Templating.TemplateService for resolving views.
protected virtual Func<string,string> CreateTemplateResolver (Microsoft.WindowsAzure.Mobile.Service.Content.IContentProvider contentProvider);
abstract member CreateTemplateResolver : Microsoft.WindowsAzure.Mobile.Service.Content.IContentProvider -> Func<string, string>
override this.CreateTemplateResolver : Microsoft.WindowsAzure.Mobile.Service.Content.IContentProvider -> Func<string, string>
Protected Overridable Function CreateTemplateResolver (contentProvider As IContentProvider) As Func(Of String, String)
- contentProvider
- IContentProvider
The IContentProvider to use to retrieve the content.
Returns a Func<T,TResult> which is used to resolve views.
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET feedback
Azure SDK for .NET is an open source project. Select a link to provide feedback: