Skip to main content
All docs
V26.1
  • ViewModelLocator Constructors

    Locates and creates ViewModel instances for views by naming conventions and configured assemblies.
    Name Parameters Description
    ViewModelLocator(IEnumerable<Assembly>) assemblies Initializes a new instance of the ViewModelLocator class and sets the assemblies used to resolve ViewModel types.
    ViewModelLocator(Assembly[]) assemblies Initializes a new instance of the ViewModelLocator class and sets the assemblies used to resolve ViewModel types.
    ViewModelLocator(Application) application Initializes a new instance of the ViewModelLocator class for the specified application.
    See Also