示例#1
0
 /// <summary>
 /// PatchRequest.
 /// </summary>
 /// <typeparam name="T">Request for {EntityReturned}.</typeparam>
 /// <param name="url">url.</param>
 /// <param name="options">options.</param>
 /// <param name="requestOptions">requestOptions.</param>
 /// <returns>{EntityReturned}.</returns>
 protected T PatchRequest <T>(string url, BaseOptions options, RequestOptions requestOptions)
 {
     return(Mapper <T> .MapFromJson(
                Requestor.PatchString(
                    this.ApplyAllParameters(options, url),
                    this.SetupRequestOptions(requestOptions)), "data"));
 }