1 implementation of IMauiHandlersFactory
Microsoft.Maui (1)
Hosting\Internal\MauiHandlersFactory.cs (1)
10
sealed class MauiHandlersFactory : MauiFactory,
IMauiHandlersFactory
6 references to IMauiHandlersFactory
Microsoft.Maui (6)
Hosting\HandlerMauiAppBuilderExtensions.cs (1)
25
services.TryAddSingleton<
IMauiHandlersFactory
>(sp => new MauiHandlersFactory(sp.GetRequiredService<IMauiHandlersCollection>()));
IMauiContext.cs (1)
9
IMauiHandlersFactory
Handlers { get; }
MauiContext.cs (4)
10
readonly Lazy<
IMauiHandlersFactory
> _handlers;
31
_handlers = new Lazy<
IMauiHandlersFactory
>(() => _services.GetRequiredService<
IMauiHandlersFactory
>());
39
public
IMauiHandlersFactory
Handlers => _handlers.Value;