public override async Task RazorServerReadyAsync(CancellationToken cancellationToken)
        {
            // Doing both UIContext and BrokeredService while integrating
            await _uIContextManager.SetUIContextAsync(RazorLSPConstants.RazorActiveUIContextGuid, isActive : true, cancellationToken);

            _razorReadyListener.Dispose();
        }
示例#2
0
 public override async Task RazorServerReadyAsync(CancellationToken cancellationToken)
 {
     await _uIContextManager.SetUIContextAsync(RazorLSPConstants.RazorActiveUIContextGuid, isActive : true, cancellationToken);
 }