public async static Task <RemoteCodeLensConnectionHandler> CreateAsync(DpdtCodeLensDataPoint owner, int vspid) { var handler = new RemoteCodeLensConnectionHandler(owner, vspid); await handler.ConnectAsync().ConfigureAwait(false); return(handler); }
internal async Task ConnectToVisualStudioAsync( int vspid ) { _visualStudioConnection = await RemoteCodeLensConnectionHandler .CreateAsync(owner : this, vspid) .ConfigureAwait(false) ; }