コード例 #1
0
 public void RemoveAttachment(ICardId card, IAttachmentId attachment)
 {
     _restClient.Request(new CardsRemoveAttachmentRequest(card, attachment));
 }
コード例 #2
0
ファイル: Cards.cs プロジェクト: Geniegl/Trello.NET
		public void RemoveAttachment(ICardId card, IAttachmentId attachment)
		{
			_restClient.Request(new CardsRemoveAttachmentRequest(card, attachment));
		}
コード例 #3
0
 public CardsRemoveAttachmentRequest(ICardId card, IAttachmentId attachment)
     : base(card, "attachments/{idAttachment}", Method.DELETE)
 {
     Guard.NotNull(attachment, "attachment");
     AddParameter("idAttachment", attachment.GetAttachmentId(), ParameterType.UrlSegment);
 }
コード例 #4
0
ファイル: AsyncCards.cs プロジェクト: espressomorte/Supakull
 public Task RemoveAttachment(ICardId card, IAttachmentId attachment)
 {
     return _restClient.RequestAsync(new CardsRemoveAttachmentRequest(card, attachment));
 }
コード例 #5
0
ファイル: AsyncCards.cs プロジェクト: jonasrembratt/TrelloNet
 public Task RemoveAttachment(ICardId card, IAttachmentId attachment)
 {
     return(_restClient.RequestAsync(new CardsRemoveAttachmentRequest(card, attachment)));
 }
コード例 #6
0
		public CardsRemoveAttachmentRequest(ICardId card, IAttachmentId attachment)
			: base(card, "attachments/{idAttachment}", Method.DELETE)
		{
			Guard.NotNull(attachment, "attachment");
			AddParameter("idAttachment", attachment.GetAttachmentId(), ParameterType.UrlSegment);
		}