示例#1
0
        public AboutPresenter(IAboutView aboutView, IAboutModel aboutModel)
        {
            this.aboutView  = aboutView;
            this.aboutModel = aboutModel;

            this.aboutView.ViewShown += OnViewShow;
            this.aboutView.ViewClose += OnViewClose;
        }
示例#2
0
 public AboutViewModel()
 {
     if (this.IsInDesignMode)
     {
         _aboutModel = new AboutModelSimulator();
     }
     else
     {
         _aboutModel = ClassLocator.GetInstance <IAboutModel>();
         Debug.Assert(_aboutModel != null, "IAboutModel not found for AboutViewModel");
     }
 }
示例#3
0
 public AboutViewModel(IAboutModel i_Model, IExrinContainer i_ExrinContainer)
     : base(i_ExrinContainer, new AboutVisualState(i_Model))
 {
     r_Model = i_Model;
 }
示例#4
0
 public CallOperation(IAboutModel i_AboutModel)
 {
     r_AboutModel    = i_AboutModel;
     ChainedRollback = false;
 }
示例#5
0
 public override void Cleanup()
 {
     _aboutModel = null;
     base.Cleanup();
 }
示例#6
0
 public AboutPresenter(IAboutModel model)
 {
     m_Model = model;
 }