Click or drag to resize

CodeGenerationEngineBase.EmitOutputForElements<TElement> Method

Emits the output for elements.

Namespace:  SD.LLBLGen.Pro.GeneratorCore
Assembly:  SD.LLBLGen.Pro.GeneratorCore (in SD.LLBLGen.Pro.GeneratorCore.dll) Version: 5.4.0.0 (5.4.0)
Syntax
protected bool EmitOutputForElements<TElement>(
	string destinationFolderFormat,
	string filenameFormat,
	bool failWhenExistent,
	string templateID,
	Assembly compiledTemplatesAssembly,
	Dictionary<string, TaskParameter> parameters,
	ICollection<TElement> elementsToTraverse,
	CodeGenerationEngineBase.EmitType emitTypeUsed,
	Func<TElement, string> nameProducerFunc,
	Func<TElement, string> fullNameProducerFunc,
	Func<TElement, string> elementTypeNameProducerFunc,
	Func<TElement, string> groupNameProducerFunc,
	string dependentUponFilenameFormat
)
where TElement : class

Parameters

destinationFolderFormat
Type: System.String
The destination folder format as specified in the parameters of the task.
filenameFormat
Type: System.String
The filename format.
failWhenExistent
Type: System.Boolean
if set to true [fail when existent].
templateID
Type: System.String
The template ID.
compiledTemplatesAssembly
Type: System.Reflection.Assembly
The compiled templates assembly.
parameters
Type: System.Collections.Generic.Dictionary<String, TaskParameter>
The parameters.
elementsToTraverse
Type: System.Collections.Generic.ICollection<TElement>
The elements to traverse.
emitTypeUsed
Type: SD.LLBLGen.Pro.GeneratorCore.CodeGenerationEngineBase.EmitType
The emit type used.
nameProducerFunc
Type: System.Func<TElement, String>
The name producer func.
fullNameProducerFunc
Type: System.Func<TElement, String>
The full name producer func.
elementTypeNameProducerFunc
Type: System.Func<TElement, String>
The element type name producer func.
groupNameProducerFunc
Type: System.Func<TElement, String>
The group name producer function.
dependentUponFilenameFormat
Type: System.String
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