示例#1
0
        private void ParseDetails(string json, object callback, object data)
        {
            VideoDataManager.DataQueryCompleteDelegate dataQueryCompleteDelegate = (VideoDataManager.DataQueryCompleteDelegate)callback;
            string    videoGuid = (string)data;
            VideoData videoData = VideoDataParser.ParseDetails(videoGuid, json);

            if (videoData != null)
            {
                this.Merge(videoData);
                dataQueryCompleteDelegate(videoData.Guid);
                return;
            }
            dataQueryCompleteDelegate(null);
        }
示例#2
0
 public unsafe static long $Invoke0(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(VideoDataParser.ParseDetails(Marshal.PtrToStringUni(*(IntPtr *)args), Marshal.PtrToStringUni(*(IntPtr *)(args + 1)))));
 }