コード例 #1
0
        public override void AddDefaultChildNodesHack()
        {
            var container = new WavesContainerTreeNode();

            container.AddChildModels(((Invasion)Model).Waves.Cast <IModel>().ToList());

            Nodes.Add(container);
        }
コード例 #2
0
        public InvasionTreeNode(Invasion model) : this()
        {
            Model = model;

            var container = new WavesContainerTreeNode();

            container.AddChildModels(model.Waves.Cast <IModel>().ToList());

            Nodes.Add(container);
        }