/// <summary> /// Writing a delta link. /// </summary> /// <param name="deltaLink">The delta link to write.</param> public abstract void WriteDeltaLink(ODataDeltaLink deltaLink);
/// <summary> /// Asynchronously writing a delta link. /// </summary> /// <param name="deltaLink">The delta link to write.</param> /// <returns>A task instance that represents the asynchronous write operation.</returns> public abstract Task WriteDeltaLinkAsync(ODataDeltaLink deltaLink);
/// <summary> /// Write a delta link. /// </summary> /// <param name="deltaLink">The delta link to write.</param> public virtual void WriteDeltaLink(ODataDeltaLink deltaLink) { throw new NotImplementedException(); }
/// <summary> /// Asynchronously writing a delta link. /// </summary> /// <param name="deltaLink">The delta link to write.</param> /// <returns>A task instance that represents the asynchronous write operation.</returns> public virtual Task WriteDeltaLinkAsync(ODataDeltaLink deltaLink) { return(TaskUtils.GetTaskForSynchronousOperation(() => this.WriteDeltaLink(deltaLink))); }
/// <summary>Writes a delta link.</summary> /// <param name="deltaLink">The delta link to write.</param> /// <returns>This ODataWriter, allowing for chaining operations.</returns> public ODataWriter Write(ODataDeltaLink deltaLink) { WriteDeltaLink(deltaLink); return(this); }