TemplateServiceProvider.CreateTemplateResolver(IContentProvider) Method
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.
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)
Parameters
- contentProvider
- IContentProvider
The IContentProvider to use to retrieve the content.
Returns
Returns a Func<T,TResult> which is used to resolve views.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET