Esempio n. 1
0
            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;
            }
Esempio n. 2
0
            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;
            }