Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supporting Proxied/Wrapped ViewModels #629

Merged
merged 8 commits into from
Feb 12, 2016
Merged
Prev Previous commit
Next Next commit
Overloading ResolveForPage for backwards compatibility
  • Loading branch information
1iveowl committed Feb 9, 2016
commit 7e74bd1a9cd2f62a6071db73b9be8c58aa08d3a4
5 changes: 2 additions & 3 deletions Template10 (Library)/Common/BootStrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,9 @@ public virtual T Resolve<T>(Type type)

/// <summary>
/// If a developer overrides this method, the developer can resolve DataContext or unwrap DataContext
/// available for the Page object if using a MVVM pattern that relies on a wrapped/porxy around ViewModels
/// available for the Page object when using a MVVM pattern that relies on a wrapped/porxy around ViewModels
/// </summary>
public virtual Services.NavigationService.INavigable ResolveForPage(Page page,
NavigationService navigationService)
public virtual Services.NavigationService.INavigable ResolveForPage(Page page, NavigationService navigationService)
{
return ResolveForPage(page.GetType(), navigationService);
}
Expand Down