private void scan(string text)
        {
            var file = new FakeFubuFile(text);
            var reader = new SampleReader(file, new CLangSampleScanner("cs", "csharp"), theSamples);

            reader.Start();
        }
示例#2
0
 public bool ReadFile(ISampleScanner scanner, string file)
 {
     var reader = new SampleReader(new FubuFile(file), scanner, _cache);
     reader.Start();
     return reader.FoundSamples;
 }
        private void scan(string text)
        {
            var file = new FakeFubuFile(text);
            var reader = new SampleReader(file, new RubySampleScanner(), theSamples);

            reader.Start();
        }