Source/nHydrate.Dsl/GeneratedCode/ToolboxHelper.cs
/// <summary>
/// Creates an ElementGroupPrototype for the element tool corresponding to the given domain class id.
/// Default behavior is to create a prototype containing an instance of the domain class.
/// Derived classes may override this to add additional information to the prototype.
/// </summary>
Creates an ElementGroupPrototype for the element tool corresponding to the given domain class id.
Default behavior is to create a prototype containing an instance of the domain class.
Derived classes may override this to add additional information to the prototype.
Creates an ElementGroupPrototype for the element tool corresponding to the given domain class id . Default behavior is to create a prototype containing an instance of the domain class . Derived classes may override this to add additional information to the prototype .
protected virtual DslModeling::ElementGroupPrototype CreateElementToolPrototype(DslModeling::Store store, global::System.Guid domainClassId)
		{
			DslModeling::ModelElement element = store.ElementFactory.CreateElement(domainClassId);
			DslModeling::ElementGroup elementGroup = new DslModeling::ElementGroup(store.DefaultPartition);
			elementGroup.AddGraph(element, true);
			return elementGroup.CreatePrototype();
		}
protected virtual DslModeling :: ElementGroupPrototype CreateElementToolPrototype ( DslModeling :: Store store , global :: System . Guid domainClassId ) { DslModeling :: ModelElement element = store . ElementFactory . CreateElement ( domainClassId ) ; DslModeling :: ElementGroup elementGroup = new DslModeling :: ElementGroup ( store . DefaultPartition ) ; elementGroup . AddGraph ( element , true ) ; return elementGroup . CreatePrototype ( ) ; }
Creates an ElementGroupPrototype for the element tool corresponding to the given domain class id.
Creates an ElementGroupPrototype for the element tool corresponding to the given domain class id .
store
DslModeling::Store
domainClassId
global::System.Guid