コード例 #1
0
ファイル: CountryPage.xaml.cs プロジェクト: ararog/Ow-WP
        public CountryPage()
        {
            InitializeComponent();

            countryService = ServiceLocator.Current.GetInstance<CountryService>();

            model = ServiceLocator.Current.GetInstance<CountryPageModel>();
        }
コード例 #2
0
ファイル: LoginPage.xaml.cs プロジェクト: ararog/Ow-WP
        public LoginPage()
        {
            InitializeComponent();

            restService = ServiceLocator.Current.GetInstance<RestService>();

            countryService = ServiceLocator.Current.GetInstance<CountryService>();

            model = ServiceLocator.Current.GetInstance<LoginPageModel>();

            navigatingBack = false;
        }