1 instantiation of FontRegistrar
Microsoft.Maui (1)
Hosting\Fonts\FontsMauiAppBuilderExtensions.cs (1)
32
builder.Services.TryAddSingleton<IFontRegistrar>(svc => new
FontRegistrar
(svc.GetRequiredService<IEmbeddedFontLoader>(), svc));
2 references to FontRegistrar
Microsoft.Maui (2)
Fonts\FontRegistrar.cs (2)
21
/// Creates a new instance of <see cref="
FontRegistrar
"/>.
71
_serviceProvider?.CreateLogger<
FontRegistrar
>()?.LogWarning(ex, "Unable to load font '{Font}'.", font);