(serviceManager: IServiceManager, isDevMode: boolean)
| 20 | } from './types'; |
| 21 | |
| 22 | export function registerTypes(serviceManager: IServiceManager, isDevMode: boolean) { |
| 23 | serviceManager.addSingleton<IControllerRegistration>(IControllerRegistration, ControllerRegistration); |
| 24 | serviceManager.addBinding(IControllerRegistration, IExtensionSyncActivationService); |
| 25 | serviceManager.addSingleton<IConnectionDisplayDataProvider>( |
| 26 | IConnectionDisplayDataProvider, |
| 27 | ConnectionDisplayDataProvider |
| 28 | ); |
| 29 | serviceManager.addSingleton<IRemoteNotebookKernelSourceSelector>( |
| 30 | IRemoteNotebookKernelSourceSelector, |
| 31 | RemoteNotebookKernelSourceSelector |
| 32 | ); |
| 33 | serviceManager.addSingleton<ILocalNotebookKernelSourceSelector>( |
| 34 | ILocalNotebookKernelSourceSelector, |
| 35 | LocalNotebookKernelSourceSelector |
| 36 | ); |
| 37 | serviceManager.addSingleton<ILocalPythonNotebookKernelSourceSelector>( |
| 38 | ILocalPythonNotebookKernelSourceSelector, |
| 39 | LocalPythonEnvNotebookKernelSourceSelector |
| 40 | ); |
| 41 | serviceManager.addBinding(ILocalPythonNotebookKernelSourceSelector, IExtensionSyncActivationService); |
| 42 | serviceManager.addSingleton<IExtensionSyncActivationService>( |
| 43 | IExtensionSyncActivationService, |
| 44 | KernelSourceCommandHandler |
| 45 | ); |
| 46 | serviceManager.addSingleton<IExtensionSyncActivationService>( |
| 47 | IExtensionSyncActivationService, |
| 48 | EnvironmentCreationCommand |
| 49 | ); |
| 50 | registerWidgetTypes(serviceManager, isDevMode); |
| 51 | } |
nothing calls this directly
no test coverage detected