Ejemplo n.º 1
0
        public virtual void Setup(IBaseView <TModel> view)
        {
            View  = view;
            Model = view.GetModel();
            Model.Initialize();
            SubscribeEvents();
            IsAlreadySetup = true;
            var viewType = View.GetType();

            OnFieldWillUpdate = viewType.GetMethod(OnFieldWillUpdateViewMemberName, ViewEventsBindingFlags);
            OnFieldDidUpdate  = viewType.GetMethod(OnFieldDidUpdateViewMemberName, ViewEventsBindingFlags);
        }