Click or drag to resize
ApplicationUtils.CreateElementsFromRawDefinitions<T> Method
Creates the elements from raw definitions.

Namespace:  SD.LLBLGen.Pro.ApplicationCore
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.3.0.0 (5.3.0)
Syntax
public static List<T> CreateElementsFromRawDefinitions<T>(
	List<RawElementDefinition> rawDefinitions,
	ICollection<T> storage,
	MultiValueDictionary<Type, TypeShortcut> typeShortcutsPerType,
	Func<string, string, T> elementCreatorFunc,
	Action<T, IProjectElementMapTargetElement, MultiValueDictionary<Type, TypeShortcut>> populateAndMapFunc,
	Action<T> designerAfterNewElementEventFunc,
	Action<List<T>> designerAfterNewElementsEventFunc
)
where T : GroupableModelElement

Parameters

rawDefinitions
Type: System.Collections.Generic.List<RawElementDefinition>
The raw definitions.
storage
Type: System.Collections.Generic.ICollection<T>
The storage.
typeShortcutsPerType
Type: SD.Tools.Algorithmia.GeneralDataStructures.MultiValueDictionary<Type, TypeShortcut>
Type of the type shortcuts per.
elementCreatorFunc
Type: System.Func<String, String, T>
The element creator function.
populateAndMapFunc
Type: System.Action<T, IProjectElementMapTargetElement, MultiValueDictionary<Type, TypeShortcut>>
The populate and map function.
designerAfterNewElementEventFunc
Type: System.Action<T>
The designer after new element event function.
designerAfterNewElementsEventFunc
Type: System.Action<List<T>>
The designer after new elements event function.

Type Parameters

T
the groupable model element to create

Return Value

Type: List<T>
newly created T instances
See Also