public async static Task <RemoteCodeLensConnectionHandler> CreateAsync(DpdtCodeLensDataPoint owner, int vspid)
        {
            var handler = new RemoteCodeLensConnectionHandler(owner, vspid);
            await handler.ConnectAsync().ConfigureAwait(false);

            return(handler);
        }
示例#2
0
 internal async Task ConnectToVisualStudioAsync(
     int vspid
     )
 {
     _visualStudioConnection = await RemoteCodeLensConnectionHandler
                               .CreateAsync(owner : this, vspid)
                               .ConfigureAwait(false)
     ;
 }