private static JToken SerializeRef(Ref reference)
 {
     var result = new JObject();
     result["$type"] = "ref";
     result["value"] = new JArray(reference.AsRef().Select(SerializationHelper.SerializeItem).ToList());
     return result;
 }
示例#2
0
        private static JToken SerializeRef(Ref reference)
        {
            var result = new JObject();

            result["$type"] = "ref";
            result["value"] = new JArray(reference.AsRef().Select(SerializeItem).ToList());
            return(result);
        }