Beispiel #1
0
 private void CopyProject(Project source, EditableProject target)
 {
     target.Id = source.Id;
     if (EditMode)
     {
         target.Name        = source.Name;
         target.Description = source.Description;
     }
 }
Beispiel #2
0
 private void UpdateProject(EditableProject source, Project target)
 {
     target.Name        = source.Name;
     target.Description = source.Description;
 }
Beispiel #3
0
 public void SetProject(Project project)
 {
     _editingProject = project;
     Project         = new EditableProject();
     CopyProject(project, Project);
 }