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