Exemple #1
0
 public CampaignViewModel(Campaign campaign, ProjectViewModel parentProject)
     : base(parentProject, true)
 {
     this.campaign = campaign;
 }
Exemple #2
0
 /// <summary>
 /// Builds a <see cref="ProjectViewModel"/> with parent based on the data from a <see cref="Project"/>
 /// </summary>
 /// <param name="project">Entity which holds the data for this viewmodel.</param>
 /// <param name="parentProject">Entity which is the parent of the <see cref="Project"/>.</param>
 public ProjectViewModel(Project project, ProjectViewModel parentProject)
     : base(parentProject, true)
 {
     this.project = project;
 }