Example #1
0
 private void MakePathCore(string parentPath, string name)
 {
     NameValidator.ValidateCategoryPath(parentPath);
     NameValidator.ValidateName(name);
     this.parentPath = parentPath;
     this.name       = name;
     this.path       = parentPath + name + PathUtility.Separator;
 }
Example #2
0
 private void MakePathCore(string categoryPath, string name)
 {
     NameValidator.ValidateCategoryPath(categoryPath);
     NameValidator.ValidateName(name);
     this.categoryPath = categoryPath;
     this.name         = name;
     this.path         = categoryPath + name;
 }
Example #3
0
 internal static string MakePath(string parentPath, string name)
 {
     NameValidator.ValidateCategoryPath(parentPath);
     NameValidator.ValidateName(name);
     return(parentPath + name + PathUtility.Separator);
 }
Example #4
0
 internal static string MakePath(string categoryPath, string name)
 {
     NameValidator.ValidateCategoryPath(categoryPath);
     NameValidator.ValidateName(name);
     return(categoryPath + name);
 }