Click or drag to resize
TaskPerformerBase.CheckIfTemplateFileContentsExists Method
Checks if the template file and contents exists for the templateid specified.

Namespace:  SD.LLBLGen.Pro.GeneratorCore
Assembly:  SD.LLBLGen.Pro.GeneratorCore (in SD.LLBLGen.Pro.GeneratorCore.dll) Version: 5.2.0.0 (5.2.17.0403)
Syntax
protected bool CheckIfTemplateFileContentsExists(
	string templateID,
	string templateBindingDefinitionName,
	bool templateIsOptional,
	out string templateContents
)

Parameters

templateID
Type: System.String
The template ID.
templateBindingDefinitionName
Type: System.String
Name of the template binding definition.
templateIsOptional
Type: System.Boolean
if set to true [template is optional].
templateContents
Type: System.String
The template contents.

Return Value

Type: Boolean
true if file and contents are there, false otherwise
See Also