public static Type GetViewModelType(string typeName) { return(ViewModelTypes.SingleOrDefault(x => x.Name == typeName)); }