示例#1
0
        private void ParseFeed(string json, object callback, object data)
        {
            Dictionary <string, List <VideoData> > dictionary = VideoDataParser.ParseUserFeed(json);

            if (dictionary != null)
            {
                foreach (string current in dictionary.Keys)
                {
                    this.Sections[current] = this.LoadVideoDataList(dictionary[current]);
                }
            }
            this.IsFeedLoaded = true;
            this.GetFeed((VideoDataManager.DataListQueryCompleteDelegate)callback);
        }
示例#2
0
 public unsafe static long $Invoke3(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(VideoDataParser.ParseUserFeed(Marshal.PtrToStringUni(*(IntPtr *)args))));
 }