public override void AddDefaultChildNodesHack() { var container = new WavesContainerTreeNode(); container.AddChildModels(((Invasion)Model).Waves.Cast <IModel>().ToList()); Nodes.Add(container); }
public InvasionTreeNode(Invasion model) : this() { Model = model; var container = new WavesContainerTreeNode(); container.AddChildModels(model.Waves.Cast <IModel>().ToList()); Nodes.Add(container); }