示例#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"));
        }
示例#2
0
 protected override object EvaluateString(string value)
 => Path.GetPathRoot(PathExtensions.CombineOrRoot(BasePath, value));