TaskPerformerBaseCheckIfTemplateFileContentsExists 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.3.0.0 (5.3.0)
Syntax protected bool CheckIfTemplateFileContentsExists(
string templateID,
string templateBindingDefinitionName,
bool templateIsOptional,
out string templateContents
)
Protected Function CheckIfTemplateFileContentsExists (
templateID As String,
templateBindingDefinitionName As String,
templateIsOptional As Boolean,
<OutAttribute> ByRef templateContents As String
) As Boolean
Parameters
- templateID
- Type: SystemString
The template ID. - templateBindingDefinitionName
- Type: SystemString
Name of the template binding definition. - templateIsOptional
- Type: SystemBoolean
if set to [template is optional]. - templateContents
- Type: SystemString
The template contents.
Return Value
Type:
Boolean
true if file and contents are there, false otherwise
See Also