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