public TimelineItem(Activity activity) { type = TimelineItemType.activity; this.activity = activity; }
public TimelineItem(Place place) { type = TimelineItemType.place; this.place = place; }