public JsonSink(JsonWriter writer, IGeometryTap tap) : base(CommonServiceLocator.GetCoordinateSystemProvider().Wgs84) { Debug.Assert(writer != null); if (writer == null) { throw new ArgumentNullException("writer"); } Debug.Assert(tap != null); if (tap == null) { throw new ArgumentNullException("tap"); } _Writer = writer; _Tap = tap; }
public JsonSink(JsonWriter writer, IGeometryTap tap): base(CommonServiceLocator.GetCoordinateSystemProvider().Wgs84) { Debug.Assert(writer!=null); if (writer==null) throw new ArgumentNullException("writer"); Debug.Assert(tap!=null); if (tap==null) throw new ArgumentNullException("tap"); _Writer=writer; _Tap=tap; }