public HPos GetGeo() { HPos geo; try { geo = new HPos(JObject.Parse(this["geo"].ToString())); } catch (Exception e) { geo = null; Debug.WriteLine("{0} : Can not fetch the geo attribute", e.ToString()); } return geo; }
public void SetGeo(HPos geo) { try { if (geo == null) this.Remove("geo"); else this["geo"] = geo; } catch (Exception e) { Debug.WriteLine("{0} : Can not update the geo attribute", e.ToString()); } }