コード例 #1
0
 public PythonClassifierProvider(IPythonRuntimeHost host)
     : this(host.ContentType, host.ScriptEngine)
 {
     Instance = this;
 }
コード例 #2
0
 public PythonClassifierProvider(IPythonRuntimeHost host)
     : this(host.ContentType, host.ScriptEngine)
 {
     Instance = this;
 }
コード例 #3
0
ファイル: MockTextBuffer.cs プロジェクト: TerabyteX/main
 private static IDlrClassifierProvider MakeClassifierProvider() {
     var classReg = new MockClassificationTypeRegistryService();
     
     var provider = new PythonClassifierProvider(Program.PythonContentType, Program.PythonEngine);
     provider._classificationRegistry = classReg;
     return provider;
 }