示例#1
0
        public ProjectDetailsViewModel(ConsoleHostViewModel argHostVM, ConsoleProjectViewModel argProject, bool argIsNew)
        {
            if (argHostVM == null)
            {
                throw new ArgumentNullException("argHostVM", "Host VM cannot be null");
            }

            this.hostVM       = argHostVM;
            this.IsNewProject = argIsNew;
            this.Project      = argProject;
        }
示例#2
0
 public ProjectDetailsViewModel(ConsoleHostViewModel argHostVM)
     : this(argHostVM, new ConsoleProjectViewModel(), true)
 {
 }