Exemplo n.º 1
0
        public ActionsDeleteRequest(IActionId action)
            : base(action.GetActionId(), Method.DELETE)
		{
		}
 public Task ChangeText(IActionId action, string newText)
 {
     return(_restClient.RequestAsync(new ActionsChangeTextRequest(action, newText)));
 }
 public Task Delete(IActionId action)
 {
     return(_restClient.RequestAsync(new ActionsDeleteRequest(action)));
 }
 public ActionsChangeTextRequest(IActionId action, string newText)
     : base(action.GetActionId(), Method.PUT)
 {
     Guard.RequiredTrelloString(newText, "newText");
     AddParameter("text", newText);
 }
Exemplo n.º 5
0
 public ActionsDeleteRequest(IActionId action)
     : base(action.GetActionId(), Method.DELETE)
 {
 }
Exemplo n.º 6
0
 public void Delete(IActionId action)
 {
     _restClient.Request(new ActionsDeleteRequest(action));
 }
Exemplo n.º 7
0
        public ActionsChangeTextRequest(IActionId action, string newText)
            : base(action.GetActionId(), Method.PUT)
		{
            Guard.RequiredTrelloString(newText, "newText");
            AddParameter("text", newText);
		}
Exemplo n.º 8
0
 public void ChangeText(IActionId action, string newText)
 {
     _restClient.Request(new ActionsChangeTextRequest(action, newText));
 }
Exemplo n.º 9
0
 public void Delete(IActionId action)
 {
     _restClient.Request(new ActionsDeleteRequest(action));
 }
Exemplo n.º 10
0
 public void ChangeText(IActionId action, string newText)
 {
     _restClient.Request(new ActionsChangeTextRequest(action, newText));
 }
Exemplo n.º 11
0
 public Task Delete(IActionId action)
 {
     return _restClient.RequestAsync(new ActionsDeleteRequest(action));
 }
Exemplo n.º 12
0
 public Task ChangeText(IActionId action, string newText)
 {
     return _restClient.RequestAsync(new ActionsChangeTextRequest(action, newText));
 }