/// <summary>
 /// Adds the specified Attachment to the collection via POST.
 /// </summary>
 /// <param name="attachment">The Attachment to add.</param>
 /// <returns>The created Attachment.</returns>
 public System.Threading.Tasks.Task <Attachment> AddAsync(Attachment attachment)
 {
     return(this.AddAsync(attachment, CancellationToken.None));
 }
Пример #2
0
 /// <summary>
 /// Initializes any collection properties after deserialization, like next requests for paging.
 /// </summary>
 /// <param name="attachmentToInitialize">The <see cref="Attachment"/> with the collection properties to initialize.</param>
 private void InitializeCollectionProperties(Attachment attachmentToInitialize)
 {
 }
Пример #3
0
 /// <summary>
 /// Creates the specified Attachment using POST.
 /// </summary>
 /// <param name="attachmentToCreate">The Attachment to create.</param>
 /// <returns>The created Attachment.</returns>
 public System.Threading.Tasks.Task <Attachment> CreateAsync(Attachment attachmentToCreate)
 {
     return(this.CreateAsync(attachmentToCreate, CancellationToken.None));
 }
Пример #4
0
 /// <summary>
 /// Adds the specified Attachment to the collection via POST.
 /// </summary>
 /// <param name="attachment">The Attachment to add.</param>
 /// <returns>The created Attachment.</returns>
 public Task <Attachment> AddAsync(Attachment attachment)
 {
     return(this.AddAsync(attachment, CancellationToken.None));
 }