6 implementations of IMauiInitializeService
Microsoft.Maui (4)
Hosting\Dispatching\AppHostBuilderExtensions.cs (1)
76
class ApplicationDispatcherInitializer :
IMauiInitializeService
Hosting\EssentialsMauiAppBuilderExtensions.cs (1)
114
class EssentialsInitializer :
IMauiInitializeService
Hosting\Fonts\FontsMauiAppBuilderExtensions.cs (1)
58
internal class FontInitializer :
IMauiInitializeService
Hosting\MauiAppBuilder.cs (1)
51
class MauiCoreInitializer :
IMauiInitializeService
Microsoft.Maui.Controls (1)
Hosting\AppHostBuilderExtensions.cs (1)
201
class MauiControlsInitializer :
IMauiInitializeService
Microsoft.Maui.Controls.Compatibility (1)
AppHostBuilderExtensions.cs (1)
121
class MauiCompatInitializer :
IMauiInitializeService
6 references to IMauiInitializeService
Microsoft.Maui (5)
Hosting\Dispatching\AppHostBuilderExtensions.cs (1)
22
builder.Services.TryAddEnumerable(ServiceDescriptor.Singleton<
IMauiInitializeService
, ApplicationDispatcherInitializer>());
Hosting\EssentialsMauiAppBuilderExtensions.cs (1)
91
builder.Services.TryAddEnumerable(ServiceDescriptor.Transient<
IMauiInitializeService
, EssentialsInitializer>());
Hosting\Fonts\FontsMauiAppBuilderExtensions.cs (1)
38
builder.Services.TryAddEnumerable(ServiceDescriptor.Transient<
IMauiInitializeService
, FontInitializer>());
MauiContextExtensions.cs (2)
76
var initServices = mauiApp.Services.GetServices<
IMauiInitializeService
>();
80
foreach (
var
instance in initServices)
Microsoft.Maui.Controls.Compatibility (1)
AppHostBuilderExtensions.cs (1)
117
builder.Services.TryAddEnumerable(ServiceDescriptor.Transient<
IMauiInitializeService
, MauiCompatInitializer>());