/// <summary>
 /// 转向KdAPI请求。
 /// </summary>
 /// <param name="operation">API操作实例。</param>
 /// <returns>返回KdAPI请求对象。</returns>
 public static UnirestAPIRequest ToUnirestAPIRequest(this APIOperation operation)
 {
     return(operation.ToAPIRequest <UnirestAPIRequest>());
 } //end method
Esempio n. 2
0
 /// <summary>
 /// 转向KdAPI请求。
 /// </summary>
 /// <param name="operation">API操作实例。</param>
 /// <returns>返回KdAPI请求对象。</returns>
 public static KdAPIRequest ToKdAPIRequest(this APIOperation operation)
 {
     return(operation.ToAPIRequest <KdAPIRequest>());
 } //end method