Пример #1
0
        public override bool GeoPointEquals(TLInputGeoPointBase geoPointBase)
        {
            var geoPointEmpty = geoPointBase as TLInputGeoPointEmpty;

            if (geoPointEmpty != null)
            {
                return(true);
            }

            return(false);
        }
Пример #2
0
        public override bool GeoPointEquals(TLInputGeoPointBase geoPointBase)
        {
            var geoPoint = geoPointBase as TLInputGeoPoint;

            if (geoPoint != null)
            {
                return
                    (Lat.Value == geoPoint.Lat.Value &&
                     Long.Value == geoPoint.Long.Value);
            }

            return(false);
        }
Пример #3
0
        public override TLObject FromStream(Stream input)
        {
            GeoPoint = GetObject <TLInputGeoPointBase>(input);

            return(this);
        }
Пример #4
0
 public abstract bool GeoPointEquals(TLInputGeoPointBase locationGeoPoint);