Esempio n. 1
0
        protected virtual object DecodeAVFile(IDictionary <string, object> dict)
        {
            var objectId = dict["objectId"] as string;
            var file     = AVFile.CreateWithoutData(objectId);

            file.MergeFromJSON(dict);
            return(file);
        }
Esempio n. 2
0
 protected virtual object DecodePointer(string className, string objectId)
 {
     if (className == "_File")
     {
         return(AVFile.CreateWithoutData(objectId));
     }
     return(AVObject.CreateWithoutData(className, objectId));
 }