Пример #1
0
        public bool IsSameAs(IPoiModel poiModel)
        {
            var visitor = new PoiVisitor <bool>(t => false, b => b.Uri == Uri, s => s.Uri == Uri);

            poiModel.AcceptVisitor(visitor);
            return(visitor.Result);
        }
Пример #2
0
        public bool IsSameAs(IPoiModel poiModel)
        {
            var visitor = new PoiVisitor <bool>(t => t.GeometryPosition == _geometryPosition, b => false, s => false);

            poiModel.AcceptVisitor(visitor);
            return(visitor.Result);
        }