public GenericEvent(string id, string summary, string description) { Id = id; Summary = summary; Description = description; Location = new GenericLocation { Name = "No Location" }; }
public GenericEvent(string id) { Id = id; Summary = "No Summary"; Description = "No Description"; Location = new GenericLocation { Name = "No Location" }; }
// Adds the visits in gl that do not exist in this GenericLocation public void updateVisits(GenericLocation gl) { foreach (BasicMarker newMarker in gl.placesVisited) { foreach (BasicMarker oldMarker in placesVisited) { if (newMarker.Equals(oldMarker)) goto nextMarker; } placesVisited.Add(newMarker); nextMarker:; } }