示例#1
0
 /// <summary>
 /// Returns a full path instance as the combination of this full path with
 /// <paramref name="relativePath"/> appened at the end.
 /// </summary>
 public FullPath Combine(RelativePath relativePath)
 {
     return(new FullPath(PathHelpers.CombinePaths(_path, relativePath.Value)));
 }
示例#2
0
 /// <summary>
 /// Returns a new relative path instance by appending <paramref name="name"/> to this instance.
 /// </summary>
 public RelativePath CreateChild(string name)
 {
     return(new RelativePath(PathHelpers.CombinePaths(Value, name), name));
 }