CodeGenerationEngineBaseEmitOutputForElementsTElement Method |
Emits the output for elements.
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 EmitOutputForElements<TElement>(
string destinationFolderFormat,
string filenameFormat,
bool failWhenExistent,
string templateID,
Assembly compiledTemplatesAssembly,
Dictionary<string, TaskParameter> parameters,
ICollection<TElement> elementsToTraverse,
CodeGenerationEngineBaseEmitType emitTypeUsed,
Func<TElement, string> nameProducerFunc,
Func<TElement, string> fullNameProducerFunc,
Func<TElement, string> elementTypeNameProducerFunc,
Func<TElement, string> groupNameProducerFunc,
string dependentUponFilenameFormat
)
where TElement : class
Protected Function EmitOutputForElements(Of TElement As Class) (
destinationFolderFormat As String,
filenameFormat As String,
failWhenExistent As Boolean,
templateID As String,
compiledTemplatesAssembly As Assembly,
parameters As Dictionary(Of String, TaskParameter),
elementsToTraverse As ICollection(Of TElement),
emitTypeUsed As CodeGenerationEngineBaseEmitType,
nameProducerFunc As Func(Of TElement, String),
fullNameProducerFunc As Func(Of TElement, String),
elementTypeNameProducerFunc As Func(Of TElement, String),
groupNameProducerFunc As Func(Of TElement, String),
dependentUponFilenameFormat As String
) As Boolean
Parameters
- destinationFolderFormat
- Type: SystemString
The destination folder format as specified in the parameters of the task. - filenameFormat
- Type: SystemString
The filename format. - failWhenExistent
- Type: SystemBoolean
if set to [fail when existent]. - templateID
- Type: SystemString
The template ID. - compiledTemplatesAssembly
- Type: System.ReflectionAssembly
The compiled templates assembly. - parameters
- Type: System.Collections.GenericDictionaryString, TaskParameter
The parameters. - elementsToTraverse
- Type: System.Collections.GenericICollectionTElement
The elements to traverse. - emitTypeUsed
- Type: SD.LLBLGen.Pro.GeneratorCoreCodeGenerationEngineBaseEmitType
The emit type used. - nameProducerFunc
- Type: SystemFuncTElement, String
The name producer func. - fullNameProducerFunc
- Type: SystemFuncTElement, String
The full name producer func. - elementTypeNameProducerFunc
- Type: SystemFuncTElement, String
The element type name producer func. - groupNameProducerFunc
- Type: SystemFuncTElement, String
The group name producer function. - dependentUponFilenameFormat
- Type: SystemString
The dependent upon filename format.
Type Parameters
- TElement
- The type of the element.
Return Value
Type:
Boolean
true if succeeded, false if failed
See Also