1 implementation of ICircuitAccessor
Microsoft.AspNetCore.Components.Server (1)
Circuits\DefaultCircuitAccessor.cs (1)
6
internal sealed class DefaultCircuitAccessor :
ICircuitAccessor
3 references to ICircuitAccessor
Microsoft.AspNetCore.Components.Server (3)
Circuits\CircuitFactory.cs (1)
111
(circuitHost.Services.GetRequiredService<
ICircuitAccessor
>() as DefaultCircuitAccessor).Circuit = circuitHost.Circuit;
DependencyInjection\ComponentServiceCollectionExtensions.cs (2)
73
services.TryAddScoped(s => s.GetRequiredService<
ICircuitAccessor
>().Circuit);
74
services.TryAddScoped<
ICircuitAccessor
, DefaultCircuitAccessor>();