public void setCoordinate_Selector() { MKPolyline pl = MKPolyline.FromPoints(new MKMapPoint [] { }); try { pl.Coordinate = new CLLocationCoordinate2D(10, 20); } catch (MonoTouchException mte) { Assert.True(mte.Message.Contains("unrecognized selector sent to instance")); } catch { Assert.Fail("API could be working/implemented"); } }
public void From_PointEmpty() { MKPolyline pl = MKPolyline.FromPoints(new MKMapPoint [] { }); CheckEmpty(pl); }
public void FromPoints_Null() { Assert.Throws <ArgumentNullException> (() => MKPolyline.FromPoints(null)); }
public void FromPoints_Null() { MKPolyline.FromPoints(null); }
public new static BindingMKPolyline FromPoints(MKMapPoint[] points) => new BindingMKPolyline(MKPolyline.FromPoints(points));