Namespace Dmnk.Blazor.Dialogs.Api
Provides base types and interfaces for the core API used to define, register, open and interact with dialogs.
Classes
- BlazorVmDialogView
Concrete implementation of IVmDialogView:
Defines a view for a dialog without a specific ViewModel. This is used for dialogs that don't need a ViewModel, or where the ViewModel is created internally by the view.
- BlazorVmDialogViewFor<T>
Concrete implementation of IVmDialogViewFor<T>:
Defines a view for a dialog with a specific ViewModel.
- VmDialogParameters
Core parameters that apply to all dialogs.
- VmDialogReference
Holds a reference to an open dialog, allowing, among other things, to close or dismiss it from the ViewModel.
Interfaces
- IVmDialogController
The entry point for application code to show dialogs.
- IVmDialogView
Defines a view for a dialog without a specific ViewModel. This is used for dialogs that don't need a ViewModel, or where the ViewModel is created internally by the view.
- IVmDialogViewFor<T>
Defines a view for a dialog with a specific ViewModel.
- IVmDialogViewModel
Defines an MVVM ViewModel for a dialog. Basically just a regular ViewModel, except it holds a reference to the dialog and can react to dismissal by the user.