Ejemplo n.º 1
0
        public void Combine_NotRootedPathFileName_Valid(string path, string filename)
        {
            var fullPath = PathExtensions.CombineOrRoot(@"C:\Temp", path, filename);

            Assert.That(fullPath, Is.EqualTo(@"C:\Temp\Bar\foo.txt"));
        }
Ejemplo n.º 2
0
 protected override object EvaluateString(string value)
 => Path.GetPathRoot(PathExtensions.CombineOrRoot(BasePath, value));