protected virtual object DecodeAVFile(IDictionary <string, object> dict) { var objectId = dict["objectId"] as string; var file = AVFile.CreateWithoutData(objectId); file.MergeFromJSON(dict); return(file); }
protected virtual object DecodePointer(string className, string objectId) { if (className == "_File") { return(AVFile.CreateWithoutData(objectId)); } return(AVObject.CreateWithoutData(className, objectId)); }