コード例 #1
0
 protected override void Configure()
 {
     _container = new PhoneContainer();
     _container.RegisterPhoneServices(RootFrame);
     _container.PerRequest <MainPageViewModel>();
     AddCustomConventions();
 }
コード例 #2
0
ファイル: AppBootstrapper.cs プロジェクト: callumhutchy/grove
        protected override void Configure()
        {
            container = new PhoneContainer(this);

            container.RegisterPhoneServices();
            container.RegisterAllViewModelsForPages();

            //container.InstallChooser<PhoneNumberChooserTask, PhoneNumberResult>();
            //container.InstallLauncher<EmailComposeTask>();

            AddCustomConventions();
        }
コード例 #3
0
        protected override void Configure()
        {
            container = new PhoneContainer();

            if (Execute.InDesignMode)
            {
                return;
            }

            container.RegisterPhoneServices(RootFrame);

            container.PerRequest <MainViewModel>();

            AddCustomConventions();
        }