1 implementation of ICircuitAccessor
Microsoft.AspNetCore.Components.Server (1)
Circuits\DefaultCircuitAccessor.cs (1)
6internal 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)
73services.TryAddScoped(s => s.GetRequiredService<ICircuitAccessor>().Circuit); 74services.TryAddScoped<ICircuitAccessor, DefaultCircuitAccessor>();