(pluginName: string)
| 50 | } |
| 51 | |
| 52 | get(pluginName: string): IPublicModelPluginInstance | null { |
| 53 | const instance = this[pluginsSymbol].get(pluginName); |
| 54 | if (instance) { |
| 55 | return new ShellPluginInstance(instance); |
| 56 | } |
| 57 | |
| 58 | return null; |
| 59 | } |
| 60 | |
| 61 | getAll() { |
| 62 | return this[pluginsSymbol].getAll()?.map((d) => new ShellPluginInstance(d)); |