/// <summary> /// Initializes a new instance of the <see cref="JsonBackedObjectBase" /> class. /// </summary> /// <param name="json">The json.</param> public JsonLink(JToken json) : base(json) { r_Attributes = new Lazy <JsonLinkAttributes>(() => { return(JsonLinkAttributes.FromToken(JsonValue["attributes"])); }); }
/// <summary> /// Froms the token. /// </summary> /// <param name="content">The content.</param> /// <returns>JsonLink.</returns> public static JsonLinkAttributes FromToken(JToken content) { var instance = new JsonLinkAttributes(content); return(instance); }