コード例 #1
0
        public View(Model <T> model, GComponent rootUI)
        {
            if (model is null)
            {
                throw new System.ArgumentNullException(nameof(model));
            }
            this.model  = model;
            this.rootUI = rootUI;

            components  = rootUI.GetElements <GObject>(ComponentNames);
            controllers = rootUI.GetControllers(ControllerNames);
            transitions = rootUI.GetTransitions(TransitionNames);


            model.Acctach(this);
        }