/// <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)); }
/// <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) { }
/// <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)); }
/// <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)); }