Example #1
0
        /// <summary>
        /// Refresh the view with the model's current state.
        /// </summary>
        public void RefreshView(IModel model)
        {
            this.model = model;
            PropertyGroup properties = GetProperties(model);

            view.DisplayProperties(properties);
        }
Example #2
0
 /// <summary>
 /// Refresh the view with the model's current state.
 /// </summary>
 public virtual void RefreshView(IModel model)
 {
     if (model != null)
     {
         this.model = model;
         view.DisplayProperties(GetProperties(this.model));
     }
 }