public LinkedWebView() { _webViewWrapper = ServiceLocator.Current.GetInstance<IBaconProvider>().GetService<IWebViewWrapper>(); ((WebView)_webViewWrapper.WebView).Visibility = Windows.UI.Xaml.Visibility.Visible; this.InitializeComponent(); }
public LinkedWebView() { _webViewWrapper = ServiceLocator.Current.GetInstance <IBaconProvider>().GetService <IWebViewWrapper>(); ((WebView)_webViewWrapper.WebView).Visibility = Windows.UI.Xaml.Visibility.Visible; this.InitializeComponent(); }
public LinkedWebViewModel(IBaconProvider baconProvider) { _navigationService = baconProvider.GetService <INavigationService>(); _webViewWrapper = baconProvider.GetService <IWebViewWrapper>(); MessengerInstance.Register <NavigateToUrlMessage>(this, OnNavigateTo); }
public LinkedWebViewModel(IBaconProvider baconProvider) { _navigationService = baconProvider.GetService<INavigationService>(); _webViewWrapper = baconProvider.GetService<IWebViewWrapper>(); MessengerInstance.Register<NavigateToUrlMessage>(this, OnNavigateTo); }