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


C# QueryKind类代码示例

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


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


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