Пример #1
0
 /// <summary>
 /// Constructs a new NavigationCommands instance
 /// </summary>
 /// <param name="pageFramework"></param>
 public NavigationCommands(PageFramework pageFramework)
 {
     if (pageFramework == null)
     {
         throw new ArgumentNullException("pageFramework cannot be null");
     }
     _pf = pageFramework;
 }
Пример #2
0
 /// <summary>
 /// Constructs a new ViewModel
 /// </summary>
 public ViewModel(IPageHost host) : base()
 {
     PageFramework = new PageFramework(host);
     Log.i("{0}.InitializeProperties()", this.GetType().Name);
     this.InitializeProperties();
 }