public BetTreeModel(string name, BetTreeNodeService nodeService, TableModel table) { Service = nodeService; Name = name; Table = table; SetRoot(); }
public PartialWizard GenerateWizard(BetTreeModel tree, BetTreeNodeService service) { Type type = System.Type.GetType(Class); PartialWizard wizard = Activator.CreateInstance(type) as PartialWizard; wizard.Tree = tree; wizard.Service = service; return wizard; }
public PartialGenerator(TreePartialMeta meta, BetTreeModel tree, BetTreeNodeModel node, BetTreeNodeService service) { this.Meta = meta; this.Wizard = tree.GeneratePartialWizard(meta); this.Tree = tree; this.Node = node; this.Service = service; SetContainer(); }