protected override string GetUrl() { if (HrefParentResource == null) { return(null); } return(string.Format("{0}/{1}/{2}", HrefParentResource.ToString(), "properties", Name ?? string.Empty)); }
protected override string GetUrl() { if (HrefParentResource == null || string.IsNullOrEmpty(PropertyName)) { return(null); } return(string.Format("{0}/{1}/{2}", HrefParentResource.ToString(), "properties", PropertyName)); }