Esempio n. 1
0
        private static IDlrClassifierProvider MakeClassifierProvider()
        {
            var classReg = new MockClassificationTypeRegistryService();

            var provider = new PythonClassifierProvider(Program.PythonContentType, Program.PythonEngine);

            provider._classificationRegistry = classReg;
            return(provider);
        }
Esempio n. 2
0
 private static IDlrClassifierProvider MakeClassifierProvider() {
     var classReg = new MockClassificationTypeRegistryService();
     
     var provider = new PythonClassifierProvider(Program.PythonContentType, Program.PythonEngine);
     provider._classificationRegistry = classReg;
     return provider;
 }