public void StartNewActivity() { Activity previousActivity = CurrentActivity; Activity newActivity = new Activity(); this.Activities.Add(newActivity); if (previousActivity.DurationMins < 2.0) { this.Activities.Remove(previousActivity); } }
public void CopyValuesFrom(Activity other) { Type = other.type; Project = other.project; Description = other.Description; }