1 write to _container
Microsoft.CodeAnalysis.LanguageServer (1)
BrokeredServices\ServiceBrokerFactory.cs (1)
68
_container
= await BrokeredServiceContainer.CreateAsync(_exportProvider, _cancellationTokenSource.Token);
7 references to _container
Microsoft.CodeAnalysis.LanguageServer (7)
BrokeredServices\ServiceBrokerFactory.cs (7)
53
public IServiceBroker? TryGetFullAccessServiceBroker() =>
_container
?.GetFullAccessServiceBroker();
57
Contract.ThrowIfNull(
_container
);
58
return
_container
;
66
Contract.ThrowIfFalse(
_container
== null, "We should only create one container.");
69
_wrappedServiceBroker.SetServiceBroker(
_container
.GetFullAccessServiceBroker());
75
onInitialized.OnServiceBrokerInitialized(
_container
.GetFullAccessServiceBroker());
88
_bridgeCompletionTask = bridgeProvider.SetupBrokeredServicesBridgeAsync(brokeredServicePipeName,
_container
!, _cancellationTokenSource.Token);