Ejemplo n.º 1
0
        public static Glob Concat(string path, Glob glob)
        {
            if (glob == null)
            {
                throw new ArgumentNullException("glob");
            }
            var globParts = glob.ToString().Split(';');
            var result    = string.Join(";", globParts.Select(p => Path.Combine(path, p)));

            return(Glob.Parse(result));
        }
Ejemplo n.º 2
0
 public override string ToString()
 {
     return(Glob.ToString());
 }