コード例 #1
0
        public IEnumerable <MethodMetadata> Execute()
        {
            var globStrings     = MakeGlobStrings();
            var sourceFilePaths = Globber.ExpandPath(BaseDirectory, globStrings);

            return(ParseMethods(sourceFilePaths));
        }
コード例 #2
0
        public void ExpandPathTest(string baseDir, IEnumerable <string> patterns, PathExpansionEvaluator eval)
        {
            var result = Globber.ExpandPath(baseDir, patterns);

            Assert.True(eval(result));
        }