Example #1
0
 // used for types that inherits from MKShape
 static public void CheckShape(MKShape shape)
 {
     // MKShape provides read/write properties for Title and Subtitle
     // even if they are read-only according to MKAnnotation
     // http://xamarin.assistly.com/agent/case/5441
     shape.Title = "Title";
     Assert.That(shape.Title, Is.EqualTo("Title"), "Title/set/get");
     shape.Subtitle = "Subtitle";
     Assert.That(shape.Subtitle, Is.EqualTo("Subtitle"), "Subtitle/set/get");
 }
Example #2
0
 public Flyover(MKShape shape)
 {
     Coordinate = shape.Coordinate;
 }