/// <summary> /// Use to fluently route a view type to a xap file /// </summary> /// <typeparam name="T">The type of the view (uses the full name for the tag)</typeparam> /// <param name="xap">The name of the XAP file</param> public void RouteViewInXap <T>(string xap) where T : UserControl { _fluentRoutes.Add(ViewXapRoute.Create <T>(xap)); }
/// <summary> /// Use to fluently route a view to a xap file /// </summary> /// <param name="view">The tag for the view</param> /// <param name="xap">The name of the XAP</param> public void RouteViewInXap(string view, string xap) { _fluentRoutes.Add(ViewXapRoute.Create(view, xap)); }