C# 클래스 Company.OrmLanguage.OrmLanguageDirectiveProcessorBase

Base implementation for template directive processor that provides OrmLanguage files
상속: VSTextTemplating::RequiresProvidesDirectiveProcessor
파일 보기 프로젝트 열기: thabart/SimpleOrm

공개 메소드들

메소드 설명
GetImportsForProcessingRun ( ) : string[]

Return namespace imports necessary for running template

GetReferencesForProcessingRun ( ) : string[]

Get assembly references needed for running template

IsDirectiveSupported ( string directiveName ) : bool

Check if the directive name is supported by this directive processor

OrmLanguageDirectiveProcessorBase ( )

Constructor

StartProcessingRun ( global languageProvider, string templateContents, global errors ) : void

Override StartProcessingRun to reset the helpers flag.

보호된 메소드들

메소드 설명
GeneratePreInitializationCode ( string directiveName, global codeBuffer, global languageProvider, string>.global requiresArguments, string>.global providesArguments ) : void

Contribute additively to initialization code for the TextTransformation generated class.

This code will be added before the call to the base class.

InitializeProvidesDictionary ( string directiveName, string>.global providesDictionary ) : void

Override to initialize provides dictinoary

InitializeRequiresDictionary ( string directiveName, string>.global requiresDictionary ) : void

Override to initialize requires dictionary

PostProcessArguments ( string directiveName, string>.global requiresArguments, string>.global providesArguments ) : void

Process arguments

비공개 메소드들

메소드 설명
GeneratePostInitializationCode ( string directiveName, global codeBuffer, global languageProvider, string>.global requiresArguments, string>.global providesArguments ) : void
GenerateTransformCode ( string directiveName, global codeBuffer, global languageProvider, string>.global requiresArguments, string>.global providesArguments ) : void

메소드 상세

GeneratePreInitializationCode() 보호된 메소드

Contribute additively to initialization code for the TextTransformation generated class.
This code will be added before the call to the base class.
protected GeneratePreInitializationCode ( string directiveName, global codeBuffer, global languageProvider, string>.global requiresArguments, string>.global providesArguments ) : void
directiveName string
codeBuffer global
languageProvider global
requiresArguments string>.global
providesArguments string>.global
리턴 void

GetImportsForProcessingRun() 공개 메소드

Return namespace imports necessary for running template
public GetImportsForProcessingRun ( ) : string[]
리턴 string[]

GetReferencesForProcessingRun() 공개 메소드

Get assembly references needed for running template
public GetReferencesForProcessingRun ( ) : string[]
리턴 string[]

InitializeProvidesDictionary() 보호된 메소드

Override to initialize provides dictinoary
protected InitializeProvidesDictionary ( string directiveName, string>.global providesDictionary ) : void
directiveName string
providesDictionary string>.global
리턴 void

InitializeRequiresDictionary() 보호된 메소드

Override to initialize requires dictionary
protected InitializeRequiresDictionary ( string directiveName, string>.global requiresDictionary ) : void
directiveName string
requiresDictionary string>.global
리턴 void

IsDirectiveSupported() 공개 메소드

Check if the directive name is supported by this directive processor
public IsDirectiveSupported ( string directiveName ) : bool
directiveName string
리턴 bool

OrmLanguageDirectiveProcessorBase() 공개 메소드

Constructor

PostProcessArguments() 보호된 메소드

Process arguments
protected PostProcessArguments ( string directiveName, string>.global requiresArguments, string>.global providesArguments ) : void
directiveName string
requiresArguments string>.global
providesArguments string>.global
리턴 void

StartProcessingRun() 공개 메소드

Override StartProcessingRun to reset the helpers flag.
public StartProcessingRun ( global languageProvider, string templateContents, global errors ) : void
languageProvider global
templateContents string
errors global
리턴 void