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

@@ -25,7 +25,7 @@ export class MainThreadDebugService implements MainThreadDebugServiceShape {
@IDebugService private debugService: IDebugService,
@IWorkspaceContextService private contextService: IWorkspaceContextService,
) {
this._proxy = extHostContext.get(ExtHostContext.ExtHostDebugService);
this._proxy = extHostContext.getProxy(ExtHostContext.ExtHostDebugService);
this._toDispose = [];
this._toDispose.push(debugService.onDidNewProcess(proc => this._proxy.$acceptDebugSessionStarted(<DebugSessionUUID>proc.getId(), proc.configuration.type, proc.getName(false))));
this._toDispose.push(debugService.onDidEndProcess(proc => this._proxy.$acceptDebugSessionTerminated(<DebugSessionUUID>proc.getId(), proc.configuration.type, proc.getName(false))));