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); }
public bool IsSameAs(IPoiModel poiModel) { var visitor = new PoiVisitor <bool>(t => t.GeometryPosition == _geometryPosition, b => false, s => false); poiModel.AcceptVisitor(visitor); return(visitor.Result); }