當前位置: 首頁>>代碼示例>>C#>>正文


C# APIReader類代碼示例

本文整理匯總了C#中APIReader的典型用法代碼示例。如果您正苦於以下問題:C# APIReader類的具體用法?C# APIReader怎麽用?C# APIReader使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


APIReader類屬於命名空間,在下文中一共展示了APIReader類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。

示例1: Query

        public override void Query()
        {
            if (ids_ == null || ids_.Length == 0)
             {
            throw new ArgumentException("Invalid argument. One or more ids are required.");
             }

             APIReader reader = new APIReader();
             reader.Query(Uri, this, "keyID={0}&vCode={1}&characterID={2}&ids={3}", keyID, vCode, actorID, String.Join(",", ids_));
        }
開發者ID:Joeeigel,項目名稱:eve-net,代碼行數:10,代碼來源:MailBodies.cs

示例2: Query

        public override void Query()
        {
            APIReader reader = new APIReader();

             StringBuilder sb = new StringBuilder();
             sb.AppendFormat("keyID={0}&vCode={1}", keyID, vCode);

             if ( extended_ != null && extended_.Value == true )
            sb.Append("&extended=1");

             reader.Query(Uri, this, sb.ToString());
        }
開發者ID:TimLeap,項目名稱:LawnCartographer,代碼行數:12,代碼來源:MemberTracking.cs

示例3: Query

        public override void Query()
        {
            APIReader reader = new APIReader();

             StringBuilder sb = new StringBuilder();
             sb.AppendFormat("keyID={0}&vCode={1}&characterID={2}", keyID, vCode, actorID);

             if (!String.IsNullOrEmpty(itemID_))
            sb.AppendFormat("&itemID={0}", itemID_);

             reader.Query(Uri, this, sb.ToString());
        }
開發者ID:TimLeap,項目名稱:LawnCartographer,代碼行數:12,代碼來源:OutpostServiceDetail.cs

示例4: Query

        public override void Query()
        {
            APIReader reader = new APIReader();

             StringBuilder sb = new StringBuilder();

             sb.AppendFormat(CultureInfo.InvariantCulture, "keyID={0}&vCode={1}&characterID={2}&accountKey={3}", keyID, vCode, actorID, accountKey_);

             if (fromID_ != -1)
            sb.AppendFormat("&fromID={0}", fromID_);

             if (rowCount_ != -1)
            sb.AppendFormat("&rowCount={0}", rowCount_);

             reader.Query(Uri, this, sb.ToString());
        }
開發者ID:TimLeap,項目名稱:LawnCartographer,代碼行數:16,代碼來源:WalletTransactions.cs

示例5: Query

 public override void Query()
 {
     APIReader reader = new APIReader();
      reader.Query(Uri, this, "keyID={0}&vCode={1}&characterID={2}", keyID, vCode, actorID);
 }
開發者ID:Joeeigel,項目名稱:eve-net,代碼行數:5,代碼來源:Titles.cs

示例6: Query

 public override bool Query()
 {
     APIReader reader = new APIReader();
      return reader.Query(Uri, this, "keyID={0}&vCode={1}", keyID, vCode);
 }
開發者ID:ISeeDEDPpl,項目名稱:Questor,代碼行數:5,代碼來源:Characters.cs

示例7: Query

 public override bool Query()
 {
     APIReader reader = new APIReader();
      return reader.Query(Uri, this, "keyID={0}&vCode={1}&characterID={2}&eventID={3}", keyID, vCode, actorID, eventID_);
 }
開發者ID:ISeeDEDPpl,項目名稱:Questor,代碼行數:5,代碼來源:CalendarEventAttendees.cs

示例8: Query

 public override bool Query()
 {
     APIReader reader = new APIReader();
      return reader.Query(Uri, this, "");
 }
開發者ID:videege,項目名稱:eve-lucrum,代碼行數:5,代碼來源:ServerStatus.cs

示例9: Query

 public bool Query(int rowCount, String startID)
 {
     APIReader reader = new APIReader();
       return reader.Query(Uri, this, "keyID={0}&vCode={1}&characterID={2}&rowCount={3}&fromID={4}&accountKey={5}", keyID, vCode, actorID, rowCount, startID, accountKey_);
 }
開發者ID:videege,項目名稱:eve-lucrum,代碼行數:5,代碼來源:WalletTransactions.cs

示例10: Query

 public void Query(int beforeKillID)
 {
     APIReader reader = new APIReader();
      reader.Query(Uri, this, "keyID={0}&vCode={1}&characterID={2}&beforeKillID={3}", keyID, vCode, actorID, beforeKillID);
 }
開發者ID:TimLeap,項目名稱:LawnCartographer,代碼行數:5,代碼來源:KillLog.cs

示例11: Query

 public bool Query(UInt64 itemID)
 {
     APIReader reader = new APIReader();
     return reader.Query(Uri, this, "keyID={0}&vCode={1}&itemID={2}", keyID, vCode, itemID);
 }
開發者ID:ISeeDEDPpl,項目名稱:Questor,代碼行數:5,代碼來源:StarbaseDetail.cs

示例12: Query

        public override bool Query()
        {
            if (ids_ == null || ids_.Length == 0)
             {
             if (Settings.FailGracefully)
             {
                 this.error = new APIError(0, "Invalid argument. One or more ids are required.");
                 return false;
             }
             else
             {
                 this.error = new APIError(0, "Invalid argument. One or more ids are required.");
                 throw new ArgumentException("Invalid argument. One or more ids are required.");
             }
             }

             APIReader reader = new APIReader();
             return reader.Query(Uri, this, "keyID={0}&vCode={1}&characterID={2}&ids={3}", keyID, vCode, actorID, String.Join(",", ids_));
        }
開發者ID:ISeeDEDPpl,項目名稱:Questor,代碼行數:19,代碼來源:NotificationTexts.cs

示例13: Query

 public bool Query(int beforeKillID, int rowCount)
 {
     APIReader reader = new APIReader();
     return reader.Query(Uri, this, "keyID={0}&vCode={1}&characterID={2}&fromID={3}&rowCount={4}", keyID, vCode, actorID, beforeKillID, rowCount);
 }
開發者ID:ISeeDEDPpl,項目名稱:Questor,代碼行數:5,代碼來源:KillMails.cs

示例14: Query

 public override void Query()
 {
     APIReader reader = new APIReader();
      reader.Query(Uri, this, "");
 }
開發者ID:Joeeigel,項目名稱:eve-net,代碼行數:5,代碼來源:ServerStatus.cs

示例15: Query

 public void Query(int rowCount)
 {
     APIReader reader = new APIReader();
      reader.Query(Uri, this, "keyID={0}&vCode={1}&characterID={2}&rowCount={3}", keyID, vCode, actorID, rowCount);
 }
開發者ID:TimLeap,項目名稱:LawnCartographer,代碼行數:5,代碼來源:WalletJournal.cs


注:本文中的APIReader類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。