Ejemplo n.º 1
0
        /// <summary>
        /// Writes a Segment to string
        /// </summary>
        /// <param name="segment"></param>
        /// <returns></returns>
        private static string ToString(ODataPathSegment segment)
        {
            SegmentToStringVisitor vistor = new SegmentToStringVisitor();

            return(segment.TranslateWith(vistor));
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Writes a Segment to string
 /// </summary>
 /// <param name="segment"></param>
 /// <returns></returns>
 private static string ToString(ODataPathSegment segment)
 {
     SegmentToStringVisitor vistor = new SegmentToStringVisitor();
     return segment.TranslateWith(vistor);
 }