/// <summary> /// Manually registers an association between a View and ViewModel /// </summary> /// <typeparam name="TViewModel"> Type of ViewModel </typeparam> /// <typeparam name="TView"> Type of View </typeparam> /// <returns> The <see cref="IViewLocator"/>. </returns> public static IViewLocator RegisterAssociation <TViewModel, TView>(this IViewLocator locator) { return(locator.RegisterAssociation(typeof(TViewModel), typeof(TView))); }