共用方式為


ITemplateServiceProvider Interface

Definition

Important

This API is not CLS-compliant.

Provides an abstraction for providing a fully initialized RazorEngine.Templating.ITemplateService instance for generating Razor views using Razor Engine.

[System.CLSCompliant(false)]
public interface ITemplateServiceProvider
[<System.CLSCompliant(false)>]
type ITemplateServiceProvider = interface
Public Interface ITemplateServiceProvider
Derived
Attributes

Methods

GetTemplateService()

Gets the RazorEngine.Templating.ITemplateService which will be used to resolve template views.

Applies to