Udostępnij za pośrednictwem


BaseTemplatedCodeGenerator.ProcessTemplate Method

Definition

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

protected:
 virtual System::String ^ ProcessTemplate(System::String ^ inputFileName, System::String ^ inputFileContent, Microsoft::VisualStudio::TextTemplating::VSHost::ITextTemplating ^ processor, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ hierarchy);
protected:
 virtual Platform::String ^ ProcessTemplate(Platform::String ^ inputFileName, Platform::String ^ inputFileContent, Microsoft::VisualStudio::TextTemplating::VSHost::ITextTemplating ^ processor, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ hierarchy);
 virtual std::wstring ProcessTemplate(std::wstring const & inputFileName, std::wstring const & inputFileContent, Microsoft::VisualStudio::TextTemplating::VSHost::ITextTemplating const & processor, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & hierarchy);
protected virtual string ProcessTemplate (string inputFileName, string inputFileContent, Microsoft.VisualStudio.TextTemplating.VSHost.ITextTemplating processor, Microsoft.VisualStudio.Shell.Interop.IVsHierarchy hierarchy);
abstract member ProcessTemplate : string * string * Microsoft.VisualStudio.TextTemplating.VSHost.ITextTemplating * Microsoft.VisualStudio.Shell.Interop.IVsHierarchy -> string
override this.ProcessTemplate : string * string * Microsoft.VisualStudio.TextTemplating.VSHost.ITextTemplating * Microsoft.VisualStudio.Shell.Interop.IVsHierarchy -> string
Protected Overridable Function ProcessTemplate (inputFileName As String, inputFileContent As String, processor As ITextTemplating, hierarchy As IVsHierarchy) As String

Parameters

inputFileName
String
inputFileContent
String
processor
ITextTemplating
hierarchy
IVsHierarchy

Returns

Applies to