Rename RPCProtocol.get to RPCProtocol.getProxy (#36972)

This commit is contained in:
Alex Dima
2017-12-13 16:03:57 +01:00
parent 2b4ce13409
commit 367dd10413
50 changed files with 79 additions and 67 deletions

View File

@@ -18,7 +18,7 @@ export class ExtHostMessageService {
private _proxy: MainThreadMessageServiceShape;
constructor(mainContext: IMainContext) {
this._proxy = mainContext.get(MainContext.MainThreadMessageService);
this._proxy = mainContext.getProxy(MainContext.MainThreadMessageService);
}
showMessage(extension: IExtensionDescription, severity: Severity, message: string, optionsOrFirstItem: vscode.MessageOptions | string, rest: string[]): Thenable<string | undefined>;