/// <summary> /// Start writing a navigation link. /// </summary> /// <param name="args">DataServiceODataWriterNestedResourceInfoArgs which contains the ODataNestedResourceInfo to serialize.</param> public virtual void WriteStart(DataServiceODataWriterNestedResourceInfoArgs args) { WebUtil.CheckArgumentNull(args, "args"); this.innerWriter.WriteStart(args.NavigationLink); }
/// <summary> /// Finish writing a navigation link. /// </summary> /// <param name="args">DataServiceODataWriterNestedResourceInfoArgs which contains the ODataNestedResourceInfo that is being serialized.</param> /// <remarks> /// This method calls WriteEnd() and it's used to track when WriteEnd is called for Link. /// </remarks> public virtual void WriteEnd(DataServiceODataWriterNestedResourceInfoArgs args) { WebUtil.CheckArgumentNull(args, "args"); this.WriteEnd(); }