Exemplo n.º 1
0
 public GenericEvent(string id, string summary, string description)
 {
     Id          = id;
     Summary     = summary;
     Description = description;
     Location    = new GenericLocation {
         Name = "No Location"
     };
 }
Exemplo n.º 2
0
 public GenericEvent(string id)
 {
     Id          = id;
     Summary     = "No Summary";
     Description = "No Description";
     Location    = new GenericLocation {
         Name = "No Location"
     };
 }
Exemplo n.º 3
0
 // 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:;
     }
 }