Beispiel #1
0
        private string GetNestedFileName(string basePath, CoReTypeName typeName, string extension)
        {
            var typePart = _typePath.ToNestedPath(typeName);
            var fileName = Path.Combine(basePath, typePart + '.' + extension);

            return(fileName);
        }
        public void TypeAsNested()
        {
            var          name     = new CoReTypeName("La/b/C");
            var          actual   = _sut.ToNestedPath(name);
            const string expected = "La/b/C";

            Assert.AreEqual(expected, actual);
        }