C# 클래스 RazorEngine.Templating.TemplateServiceFactory

Provides factory methods for creating ITemplateService instances.
파일 보기 프로젝트 열기: tqc/RazorEngine

공개 메소드들

메소드 설명
CreateTemplateService ( ILanguageProvider provider = null, Type templateBaseType = null, MarkupParser parser = null ) : TemplateService

Creates an instance of a TemplateService.

CreateTemplateService ( TemplateServiceConfigurationElement configuration, IEnumerable defaultNamespaces = null ) : TemplateService

Creates an instance of a TemplateService.

CreateTemplateService ( string configuration ) : TemplateService

Creates an instance of a TemplateService.

비공개 메소드들

메소드 설명
GetInstance ( string typeName ) : object

Gets an instance of the specified type.

GetType ( string typeName ) : Type

Gets the Type

메소드 상세

CreateTemplateService() 공개 정적인 메소드

Creates an instance of a TemplateService.
public static CreateTemplateService ( ILanguageProvider provider = null, Type templateBaseType = null, MarkupParser parser = null ) : TemplateService
provider ILanguageProvider [Optional] The language provider to use.
templateBaseType Type [Optional] The base template type.
parser MarkupParser [Optional] The markup parser to use.
리턴 TemplateService

CreateTemplateService() 공개 정적인 메소드

Creates an instance of a TemplateService.
public static CreateTemplateService ( TemplateServiceConfigurationElement configuration, IEnumerable defaultNamespaces = null ) : TemplateService
configuration TemplateServiceConfigurationElement The that represents the configuration.
defaultNamespaces IEnumerable The enumerable of namespaces to add as default.
리턴 TemplateService

CreateTemplateService() 공개 정적인 메소드

Creates an instance of a TemplateService.
public static CreateTemplateService ( string configuration ) : TemplateService
configuration string The named configuration.
리턴 TemplateService