• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C# QueryKind类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中QueryKind的典型用法代码示例。如果您正苦于以下问题:C# QueryKind类的具体用法?C# QueryKind怎么用?C# QueryKind使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



QueryKind类属于命名空间,在下文中一共展示了QueryKind类的17个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: ApplicasaGameVGetArrayWithQuerySync

 private static extern GameVArray ApplicasaGameVGetArrayWithQuerySync(IntPtr query, QueryKind queryKind);
开发者ID:Applicasa,项目名称:Sample-App-Unity,代码行数:1,代码来源:GameV.cs


示例2: GetArrayWithQuerySync

        public static Colors[] GetArrayWithQuerySync(Query query, QueryKind queryKind)
        {
            Colors[] colors = new Colors[0];

            return colors;
        }
开发者ID:Applicasa,项目名称:Sample-App-Unity,代码行数:6,代码来源:Colors.cs


示例3: GetById

 public static void GetById(string id, QueryKind queryKind, GetColorsFinished callback)
 {
     callback(true,new Error(),new IntPtr());
 }
开发者ID:Applicasa,项目名称:Sample-App-Unity,代码行数:4,代码来源:Colors.cs


示例4: GetArrayWithQuerySyncIEnumerator

        public static IEnumerator GetArrayWithQuerySyncIEnumerator(Query query, QueryKind queryKind)
        {
            if(javaUnityApplicasaColors==null)
                javaUnityApplicasaColors = new AndroidJavaClass("com.applicasaunity.Unity.ApplicasaColors");

                AndroidJavaObject[] bigArray = javaUnityApplicasaColors.CallStatic<AndroidJavaObject[]>("ApplicasaColorsGetArrayWithQuerySync", query.innerQueryJavaObject, (int)queryKind);

            Colors[] colorsInner= null;;
            for (int i = 0;i < bigArray.Length;i++)
            {
                AndroidJavaObject tempJavaObject = bigArray[i];

                AndroidJavaObject[] InnerArray = AndroidJNIHelper.ConvertFromJNIArray<AndroidJavaObject[]>(tempJavaObject.GetRawObject());
                Colors[] colorstemp = new Colors[InnerArray.Length];
                for (int j = 0;j < InnerArray.Length;j++)
                {
                    AndroidJavaObject tempObj = InnerArray[j];
                    colorstemp[j] = new Colors(tempObj.GetRawObject(),tempObj);
                }
                if (colorsInner == null)
                    colorsInner = colorstemp;
                else{
                   Colors[] firstOne = colorsInner;
                    colorsInner = new Colors[firstOne.Length+colorstemp.Length];
                    firstOne.CopyTo(colorsInner,0);
                    colorstemp.CopyTo(colorsInner,firstOne.Length);
                }
                yield return new WaitForSeconds(0.2f);
            }
            finalColors = colorsInner;
        }
开发者ID:Applicasa,项目名称:Sample-App-Unity,代码行数:31,代码来源:Colors.cs


示例5: UpdateLocalStorage

        public static int UpdateLocalStorage(Query query, QueryKind queryKind)
        {
            if(javaUnityApplicasaColors==null)
                javaUnityApplicasaColors = new AndroidJavaClass("com.applicasaunity.Unity.ApplicasaColors");

                int count = javaUnityApplicasaColors.CallStatic<int>("ApplicasaColorsUpdateLocalStorage", query.innerQueryJavaObject, (int)queryKind);

                return count;
        }
开发者ID:Applicasa,项目名称:Sample-App-Unity,代码行数:9,代码来源:Colors.cs


示例6: GetArrayWithQuerySync

        public static GameV[] GetArrayWithQuerySync(Query query, QueryKind queryKind)
        {
            GameV[] gameV = new GameV[0];

            return gameV;
        }
开发者ID:Applicasa,项目名称:Sample-App-Unity,代码行数:6,代码来源:GameV.cs


示例7: GetArrayWithQuerySyncIEnumerator

 public static IEnumerator GetArrayWithQuerySyncIEnumerator(Query query, QueryKind queryKind)
 {
     yield return new WaitForSeconds(0.2f);
         GameV[]  gameVInner = new GameV[0];
         finalGameV = gameVInner;
 }
开发者ID:Applicasa,项目名称:Sample-App-Unity,代码行数:6,代码来源:GameV.cs


示例8: GetById

 public static void GetById(string id, QueryKind queryKind, GetGameVFinished callback)
 {
     ApplicasaGameVGetById (id, queryKind, callback);
 }
开发者ID:Applicasa,项目名称:Sample-App-Unity,代码行数:4,代码来源:GameV.cs


示例9: ApplicasaGameVGetById

 private static extern void ApplicasaGameVGetById(string id, QueryKind queryKind, GetGameVFinished callback);
开发者ID:Applicasa,项目名称:Sample-App-Unity,代码行数:1,代码来源:GameV.cs


示例10: GetArrayWithQuery

 public static void GetArrayWithQuery(Query query, QueryKind queryKind, GetColorsArrayFinished callback)
 {
     ApplicasaColorsGetArrayWithQuery((query != null ? query.innerQuery : IntPtr.Zero), queryKind, callback);
 }
开发者ID:Applicasa,项目名称:Sample-App-Unity,代码行数:4,代码来源:Colors.cs


示例11: GetArrayWithQuerySync

        public static Chat[] GetArrayWithQuerySync(Query query, QueryKind queryKind)
        {
            if(javaUnityApplicasaChat==null)
                javaUnityApplicasaChat = new AndroidJavaClass("com.applicasaunity.Unity.ApplicasaChat");

                AndroidJavaObject[] bigArray = javaUnityApplicasaChat.CallStatic<AndroidJavaObject[]>("ApplicasaChatGetArrayWithQuerySync", query.innerQueryJavaObject, (int)queryKind);

            Chat[] chatInner= null;
            for (int i = 0;i < bigArray.Length;i++)
            {
                AndroidJavaObject tempJavaObject = bigArray[i];

                AndroidJavaObject[] InnerArray = AndroidJNIHelper.ConvertFromJNIArray<AndroidJavaObject[]>(tempJavaObject.GetRawObject());
                Chat[] chattemp = new Chat[InnerArray.Length];
                for (int j = 0;j < InnerArray.Length;j++)
                {
                    AndroidJavaObject tempObj = InnerArray[j];
                    chattemp[j] = new Chat(tempObj.GetRawObject(),tempObj);
                }
                if (chatInner == null)
                    chatInner = chattemp;
                else{
                   Chat[] firstOne = chatInner;
                    chatInner = new Chat[firstOne.Length+chattemp.Length];
                    firstOne.CopyTo(chatInner,0);
                    chattemp.CopyTo(chatInner,firstOne.Length);
                }

            }
            return chatInner;
        }
开发者ID:Applicasa,项目名称:Sample-App-Unity,代码行数:31,代码来源:Chat.cs


示例12: GetArrayWithQuerySyncIEnumerator

 public static IEnumerator GetArrayWithQuerySyncIEnumerator(Query query, QueryKind queryKind)
 {
     yield return new WaitForSeconds(0.2f);
         Chat[]  chatInner = new Chat[0];
         finalChat = chatInner;
 }
开发者ID:Applicasa,项目名称:Sample-App-Unity,代码行数:6,代码来源:Chat.cs


示例13: ApplicasaColorsGetArrayWithQuery

 private static extern void ApplicasaColorsGetArrayWithQuery(IntPtr query, QueryKind queryKind, GetColorsArrayFinished callback);
开发者ID:Applicasa,项目名称:Sample-App-Unity,代码行数:1,代码来源:Colors.cs


示例14: ApplicasaColorsGetArrayWithQuerySync

 private static extern ColorsArray ApplicasaColorsGetArrayWithQuerySync(IntPtr query, QueryKind queryKind);
开发者ID:Applicasa,项目名称:Sample-App-Unity,代码行数:1,代码来源:Colors.cs


示例15: ApplicasaColorsGetById

 private static extern void ApplicasaColorsGetById(string id, QueryKind queryKind, GetColorsFinished callback);
开发者ID:Applicasa,项目名称:Sample-App-Unity,代码行数:1,代码来源:Colors.cs


示例16: ApplicasaColorsUpdateLocalStorage

 private static extern int ApplicasaColorsUpdateLocalStorage(IntPtr query, QueryKind queryKind);
开发者ID:Applicasa,项目名称:Sample-App-Unity,代码行数:1,代码来源:Colors.cs


示例17: ApplicasaGameVGetArrayWithQuery

 private static extern void ApplicasaGameVGetArrayWithQuery(IntPtr query, QueryKind queryKind, GetGameVArrayFinished callback);
开发者ID:Applicasa,项目名称:Sample-App-Unity,代码行数:1,代码来源:GameV.cs



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# QueryModel类代码示例发布时间:2022-05-24
下一篇:
C# QueryJoinClause类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap