Class DependencyInjection
DI helpers. See AddFluentMvvmDialogs(IServiceCollection).
public static class DependencyInjection
- Inheritance
-
DependencyInjection
- Inherited Members
Methods
AddFluentMvvmDialogs(IServiceCollection)
Registers relevant types in DI and returns an instance of FluentVmDialogController.
An IViewModelRegistry must also be registered separately
(e.g. via AddMvvm()) for the DialogControllerProvider to resolve dialog views.
This also registers ViewModelRegistration entries for the built-in dialog types (MessageBoxViewModel, ConfirmationDialogViewModel, InputDialogViewModel<T>), so they are automatically picked up by ViewModelRegistry.
public static FluentVmDialogController AddFluentMvvmDialogs(this IServiceCollection services)
Parameters
servicesIServiceCollection