Navigation :
WrongViewModelTypeException
Name |
Value |
Assembly |
Catel.MVVM |
Namespace |
Catel.MVVM |
Available on |
.NET Framework 4.5, .NET Framework 4.6, Xamarin - Android, Xamarin - iOS |
public class WrongViewModelTypeException : Exception
Base types
Exception
Exception in case that a wrong type is used for a view model.
Constructors
WrongViewModelTypeException(Type actualType, Type expectedType)
Initializes a new instance of the WrongViewModelTypeException class.
Parameters
Name |
Description |
actualType |
The actual type. |
expectedType |
The expected type. |
Properties
ActualType
Gets the actual type.
ExpectedType
Gets the expected type.
Have a question about Catel? Use StackOverflow with the Catel tag!
Discussion