/// <summary> /// Translate a MetadataSegment /// </summary> /// <param name="segment">the segment to Translate</param> /// <returns>Defined by the implementer.</returns> public virtual T Translate(MetadataSegment segment) { throw new NotImplementedException(); }
/// <summary> /// Determine the EntitySet of a MetadataSegment /// </summary> /// <param name="segment">The MetadataSegment to look in.</param> /// <returns>null, since $batch doesn't have an entity set</returns> /// <exception cref="System.ArgumentNullException">Throws if the input segment is null.</exception> public override IEdmEntitySet Translate(MetadataSegment segment) { DebugUtils.CheckNoExternalCallers(); ExceptionUtils.CheckArgumentNotNull(segment, "segment"); return(null); }
/// <summary> /// Handle a MetadataSegment /// </summary> /// <param name="segment">the segment to Handle</param> public virtual void Handle(MetadataSegment segment) { throw new NotImplementedException(); }
/// <summary> /// Translate a MetadataSegment /// </summary> /// <param name="segment">the segment to Translate</param> /// <returns>UserDefinedValue</returns> /// <exception cref="System.ArgumentNullException">Throws if the input segment is null.</exception> public override bool Translate(MetadataSegment segment) { ExceptionUtils.CheckArgumentNotNull(segment, "segment"); return(false); }