当前位置: 首页>>代码示例>>C#>>正文


C# APIReader.Query方法代码示例

本文整理汇总了C#中APIReader.Query方法的典型用法代码示例。如果您正苦于以下问题:C# APIReader.Query方法的具体用法?C# APIReader.Query怎么用?C# APIReader.Query使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在APIReader的用法示例。


在下文中一共展示了APIReader.Query方法的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();
      reader.Query(Uri, this, "keyID={0}&vCode={1}&characterID={2}", keyID, vCode, actorID);
 }
开发者ID:Joeeigel,项目名称:eve-net,代码行数:5,代码来源:Titles.cs

示例4: 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

示例5: 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

示例6: 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

示例7: Query

 public override bool Query()
 {
     APIReader reader = new APIReader();
      return reader.Query(Uri, this, "");
 }
开发者ID:videege,项目名称:eve-lucrum,代码行数:5,代码来源:ServerStatus.cs

示例8: 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

示例9: 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

示例10: 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

示例11: 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

示例12: 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

示例13: Query

 public override void Query()
 {
     APIReader reader = new APIReader();
      reader.Query(Uri, this, "");
 }
开发者ID:Joeeigel,项目名称:eve-net,代码行数:5,代码来源:ServerStatus.cs

示例14: 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

示例15: 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


注:本文中的APIReader.Query方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。