private void _WriteBox() { var geometry = _Tap as ISimpleGeometry; if (geometry != null) { ISimpleGeometry envelope = null; try { envelope = geometry.Envelope(); } catch { // Empty } if (envelope != null) { var sink = new JsonEnvelopeSink(_Writer); envelope.Populate(sink); } } }
private void _WriteBox() { var geometry = _Tap as ISimpleGeometry; if (geometry!=null) { ISimpleGeometry envelope = null; try { envelope = geometry.Envelope(); } catch { // Empty } if (envelope!=null) { var sink = new JsonEnvelopeSink(_Writer); envelope.Populate(sink); } } }