Click or drag to resize
ApplicationUtilsCreateElementsFromRawDefinitionsT 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.2.0.0 (5.2.17.0403)
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.GenericListRawElementDefinition
The raw definitions.
storage
Type: System.Collections.GenericICollectionT
The storage.
typeShortcutsPerType
Type: SD.Tools.Algorithmia.GeneralDataStructuresMultiValueDictionaryType, TypeShortcut
Type of the type shortcuts per.
elementCreatorFunc
Type: SystemFuncString, String, T
The element creator function.
populateAndMapFunc
Type: SystemActionT, IProjectElementMapTargetElement, MultiValueDictionaryType, TypeShortcut
The populate and map function.
designerAfterNewElementEventFunc
Type: SystemActionT
The designer after new element event function.
designerAfterNewElementsEventFunc
Type: SystemActionListT
The designer after new elements event function.

Type Parameters

T
the groupable model element to create

Return Value

Type: ListT
newly created T instances
See Also