Table of Contents

Namespace Blazing.Mvvm.ComponentModel

Classes

RecipientViewModelBase<TMessage>

Provides a base class for ViewModels that receive messages of type TMessage using CommunityToolkit.Mvvm.Messaging.IMessenger. Inherits from RecipientViewModelBase and implements CommunityToolkit.Mvvm.Messaging.IRecipient`1 for message handling.

RecipientViewModelBase

Provides a base class for ViewModels that implement CommunityToolkit.Mvvm.ComponentModel.ObservableRecipient, supporting message reception and access to CommunityToolkit.Mvvm.Messaging.IMessenger. Implements IViewModelBase for Blazor MVVM lifecycle integration and IDisposable for resource cleanup.

ValidatorViewModelBase

Provides a base class for ViewModels that implement CommunityToolkit.Mvvm.ComponentModel.ObservableValidator, supporting validation and Blazor MVVM lifecycle integration. Implements IViewModelBase for property change notification and lifecycle methods.

ViewModelBase

Provides a base class for ViewModels that implement CommunityToolkit.Mvvm.ComponentModel.ObservableObject, supporting property change notification and Blazor MVVM lifecycle methods. Implements IViewModelBase for integration with Blazor Views.

ViewModelDefinitionAttribute

Specifies metadata for a ViewModel to control its registration in the dependency injection container. Supports configuration of service lifetime and optional keyed registration.

ViewModelDefinitionAttribute<TViewModel>

Specifies metadata for a generic ViewModel to control its registration in the dependency injection container. Supports configuration of service lifetime, optional keyed registration, and DI registration for a specific service type.

ViewParameterAttribute

Specifies that a property in a ViewModel should be resolved from parameters passed to the associated View component. Supports optional naming for parameter mapping.

Structs

BrowserNavigationOptions

Represents options for browser navigation in Blazor applications, including force load, history entry replacement, and custom history state.

Interfaces

IViewModelBase

Represents a base interface for ViewModel classes in Blazing.Mvvm, supporting property change notification and lifecycle methods for Blazor Views.

IViewModelGenericAttributeDefinition

Defines the contract for generic attribute-based ViewModel registration, supporting service lifetime, type, and optional key for keyed registration.