/// <summary> /// Finds a corresponding View for given ViewModel /// </summary> /// <typeparam name="TViewModel"> Type of ViewModel </typeparam> /// <returns> Type of corresponding View </returns> public static Task <Type> GetViewTypeAsync <TViewModel>(this IViewLocator locator) { return(locator.GetViewTypeAsync(typeof(TViewModel))); }