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; }
public ProjectDetailsViewModel(ConsoleHostViewModel argHostVM) : this(argHostVM, new ConsoleProjectViewModel(), true) { }