예제 #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);
        }