MCPcopy Create free account
hub / github.com/deepnote/vscode-deepnote / addSingletonInstance

Method addSingletonInstance

src/platform/ioc/types.ts:42–42  ·  view source on GitHub ↗
(
        serviceIdentifier: interfaces.ServiceIdentifier<T>,
        instance: T,
        name?: string | number | symbol
    )

Source from the content-addressed store, hash-verified

40 bindings?: symbol[]
41 ): void;
42 addSingletonInstance<T>(
43 serviceIdentifier: interfaces.ServiceIdentifier<T>,
44 instance: T,
45 name?: string | number | symbol

Callers 5

activateLegacyFunction · 0.65
activateLegacyFunction · 0.65
registerTypesFunction · 0.65
registerTypesFunction · 0.65
registerTypesFunction · 0.65

Implementers 1

ServiceManagersrc/platform/ioc/serviceManager.ts

Calls

no outgoing calls

Tested by

no test coverage detected