Esempio n. 1
0
 protected bool Equals(Location other)
 {
     return Longitude.Equals(other.Longitude) && Latitude.Equals(other.Latitude);
 }
 public void SendRecordInteractionCommand(string firstName, string lastName, double longitude, double latitude)
 {
     var person = new Person(firstName, lastName);
     var location = new Location(longitude, latitude);
     eventAggregator.PublishOnBackgroundThread(new RecordInteraction(new Interaction(person, location)));
 }