示例#1
0
 /// <summary>
 /// Writing a delta link.
 /// </summary>
 /// <param name="deltaLink">The delta link to write.</param>
 public abstract void WriteDeltaLink(ODataDeltaLink deltaLink);
示例#2
0
 /// <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);
示例#3
0
 /// <summary>
 /// Write a delta link.
 /// </summary>
 /// <param name="deltaLink">The delta link to write.</param>
 public virtual void WriteDeltaLink(ODataDeltaLink deltaLink)
 {
     throw new NotImplementedException();
 }
示例#4
0
 /// <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)));
 }
示例#5
0
 /// <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);
 }