Partager via


BaseTemplatedCodeGenerator.ProcessTemplate Method

Do the actual template processing that forms the core of this generator

Namespace:  Microsoft.VisualStudio.TextTemplating.VSHost
Assembly:  Microsoft.VisualStudio.TextTemplating.VSHost.12.0 (in Microsoft.VisualStudio.TextTemplating.VSHost.12.0.dll)

Syntax

'Declaration
Protected Overridable Function ProcessTemplate ( _
    inputFileName As String, _
    inputFileContent As String, _
    processor As ITextTemplating, _
    hierarchy As IVsHierarchy _
) As String
protected virtual string ProcessTemplate(
    string inputFileName,
    string inputFileContent,
    ITextTemplating processor,
    IVsHierarchy hierarchy
)
protected:
virtual String^ ProcessTemplate(
    String^ inputFileName, 
    String^ inputFileContent, 
    ITextTemplating^ processor, 
    IVsHierarchy^ hierarchy
)
abstract ProcessTemplate : 
        inputFileName:string * 
        inputFileContent:string * 
        processor:ITextTemplating * 
        hierarchy:IVsHierarchy -> string  
override ProcessTemplate : 
        inputFileName:string * 
        inputFileContent:string * 
        processor:ITextTemplating * 
        hierarchy:IVsHierarchy -> string
protected function ProcessTemplate(
    inputFileName : String, 
    inputFileContent : String, 
    processor : ITextTemplating, 
    hierarchy : IVsHierarchy
) : String

Parameters

  • processor
    Type: ITextTemplating

Return Value

Type: System.String

.NET Framework Security

See Also

Reference

BaseTemplatedCodeGenerator Class

Microsoft.VisualStudio.TextTemplating.VSHost Namespace