C# Class Mono.TextTemplating.TemplateGenerator

Inheritance: System.MarshalByRefObject, ITextTemplatingEngineHost
显示文件 Open project: stuartcarnie/Mono.TextTemplating Class Usage Examples

Private Properties

Property Type Description
AddError System.CodeDom.Compiler.CompilerError
ITextTemplatingEngineHost System.Type
ITextTemplatingEngineHost bool
ITextTemplatingEngineHost string
ITextTemplatingEngineHost void
ITextTemplatingEngineHost void
ITextTemplatingEngineHost void

Public Methods

Method Description
GetHostOption ( string optionName ) : object
ProcessCurrent ( ) : bool
ProcessTemplate ( TextReader input, TextWriter output ) : bool
ProcessTemplate ( string inputFile, string outputFile ) : bool
ProcessTemplate ( string input ) : string
ProvideTemplatingAppDomain ( string content ) : AppDomain
ResolveAssemblyReference ( string assemblyReference ) : string
ResolvePath ( string path ) : string
TemplateGenerator ( ) : System

Protected Methods

Method Description
LogErrorsCore ( CompilerErrorCollection errors ) : void

Called by ITextTemplatingEngineHost.LogErrors, to allow the host to do additional processing as the errors are logged.

Private Methods

Method Description
AddError ( string error ) : CompilerError
ITextTemplatingEngineHost ( string processorName ) : Type
ITextTemplatingEngineHost ( string requestFileName, string &content, string &location ) : bool
ITextTemplatingEngineHost ( string directiveId, string processorName, string parameterName ) : string
ITextTemplatingEngineHost ( CompilerErrorCollection errors ) : void
ITextTemplatingEngineHost ( System encoding, bool fromOutputDirective ) : void
ITextTemplatingEngineHost ( string extension ) : void

Method Details

GetHostOption() public method

public GetHostOption ( string optionName ) : object
optionName string
return object

LogErrorsCore() protected method

Called by ITextTemplatingEngineHost.LogErrors, to allow the host to do additional processing as the errors are logged.
protected LogErrorsCore ( CompilerErrorCollection errors ) : void
errors System.CodeDom.Compiler.CompilerErrorCollection The errors.
return void

ProcessCurrent() public method

public ProcessCurrent ( ) : bool
return bool

ProcessTemplate() public method

public ProcessTemplate ( TextReader input, TextWriter output ) : bool
input TextReader
output System.IO.TextWriter
return bool

ProcessTemplate() public method

public ProcessTemplate ( string inputFile, string outputFile ) : bool
inputFile string
outputFile string
return bool

ProcessTemplate() public method

public ProcessTemplate ( string input ) : string
input string
return string

ProvideTemplatingAppDomain() public method

public ProvideTemplatingAppDomain ( string content ) : AppDomain
content string
return System.AppDomain

ResolveAssemblyReference() public method

public ResolveAssemblyReference ( string assemblyReference ) : string
assemblyReference string
return string

ResolvePath() public method

public ResolvePath ( string path ) : string
path string
return string

TemplateGenerator() public method

public TemplateGenerator ( ) : System
return System