コード例 #1
0
        private void ParseKeywords(string json, object query, object data)
        {
            QueryData queryData = (QueryData)query;

            if (!queryData.Active)
            {
                return;
            }
            List <VideoData> list = null;

            if (json != null)
            {
                list = VideoDataParser.ParseSearch(json);
            }
            string        key   = (string)data;
            List <string> list2 = this.LoadVideoDataList(list);

            this.Keywords[key] = list2;
            queryData.AddResult(list2, false);
            queryData.FilterResults();
        }
コード例 #2
0
 public unsafe static long $Invoke1(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(VideoDataParser.ParseSearch(Marshal.PtrToStringUni(*(IntPtr *)args))));
 }