public static IQFrameworkContainer AddTypeItem <TNodeData, TViewModel, TDrawer>(this IQFrameworkContainer container) where TNodeData : ITypedItem { container.AddItem <TNodeData>(); container.RegisterChildGraphItem <TNodeData, TViewModel, TDrawer>(); return(container); }
public static IQFrameworkContainer AddItem <TNodeData>(this IQFrameworkContainer container) where TNodeData : IDiagramNodeItem { container.RegisterChildGraphItem <TNodeData, ScaffoldNodeChildItem <TNodeData> .ViewModel, ScaffoldNodeChildItem <TNodeData> .Drawer>(); return(container); }