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
Public Shared Function CreateElementsFromRawDefinitions(Of T As GroupableModelElement) (
rawDefinitions As List(Of RawElementDefinition),
storage As ICollection(Of T),
typeShortcutsPerType As MultiValueDictionary(Of Type, TypeShortcut),
elementCreatorFunc As Func(Of String, String, T),
populateAndMapFunc As Action(Of T, IProjectElementMapTargetElement, MultiValueDictionary(Of Type, TypeShortcut)),
designerAfterNewElementEventFunc As Action(Of T),
designerAfterNewElementsEventFunc As Action(Of List(Of T))
) As List(Of T)
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:
ListTnewly created T instances
See Also