예제 #1
0
 public string GetUploadPath(string input, string className, string propertyName)
 {
     return(Cnn.GetDirectoryForFileAttribute(Cnn.GetAttributeIdByNetNames(SiteId, className, propertyName)));
 }
예제 #2
0
 public string GetUrl(string input, string className, string propertyName)
 {
     return(String.Format(@"{0}/{1}", Cnn.GetUrlForFileAttribute(Cnn.GetAttributeIdByNetNames(SiteId, className, propertyName), true, ShouldRemoveSchema), input));
 }