Example #1
0
 public static string GetDestRelativePath(this DataInfoNode node)
 {
     if (DMLibTestContext.DestType == DMLibDataType.Local)
     {
         return(node.GetLocalRelativePath());
     }
     else
     {
         return(node.GetURLRelativePath());
     }
 }
Example #2
0
 public static string GetURLRelativePath(this DataInfoNode node)
 {
     return(String.Join("/", node.PathComponents));
 }
Example #3
0
 public static string GetLocalRelativePath(this DataInfoNode node)
 {
     return(Path.Combine(node.PathComponents.ToArray()));
 }