Navigation :
AuditingHelper
Name |
Value |
Assembly |
Catel.MVVM |
Namespace |
Catel.MVVM.Auditing |
Available on |
.NET Framework 4.5, .NET Framework 4.6, Xamarin - Android, Xamarin - iOS |
public static class AuditingHelper
Helper for auditing which handles the complete subscription of an IViewModel instance to the current auditing manager.
Fields
Constructors
Methods
RegisterViewModel(IViewModel viewModel)
Registers the view model to the AuditingManager. This helper will automatically unsubscribe from all events when the view model is closed.
Parameters
Name |
Description |
viewModel |
The view model to register. |
Exceptions
Name |
Description |
ArgumentNullException |
The viewModel isnull . |
This helper will call the OnViewModelCreating(Type) and IViewModel) automatically.
Have a question about Catel? Use StackOverflow with the Catel tag!
Discussion