Exemplo n.º 1
0
 /// <summary>
 /// Handle a TypeSegment
 /// </summary>
 /// <param name="segment">the segment to Handle</param>
 public virtual void Handle(TypeSegment segment)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Translate a TypeSegment
 /// </summary>
 /// <param name="segment">the segment to Translate</param>
 /// <returns>Defined by the implementer</returns>
 public virtual T Translate(TypeSegment segment)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 3
0
 /// <summary>
 /// Determine the EntitySet of a TypeSegment
 /// </summary>
 /// <param name="segment">The TypeSegment to look in.</param>
 /// <returns>The IEdmEntitySet of this TypeSegment</returns>
 /// <exception cref="System.ArgumentNullException">Throws if the input segment is null.</exception>
 public override IEdmEntitySet Translate(TypeSegment segment)
 {
     DebugUtils.CheckNoExternalCallers();
     ExceptionUtils.CheckArgumentNotNull(segment, "segment");
     return(segment.EntitySet);
 }