protected override void Configure() { _container = new PhoneContainer(); _container.RegisterPhoneServices(RootFrame); _container.PerRequest <MainPageViewModel>(); AddCustomConventions(); }
protected override void Configure() { container = new PhoneContainer(this); container.RegisterPhoneServices(); container.RegisterAllViewModelsForPages(); //container.InstallChooser<PhoneNumberChooserTask, PhoneNumberResult>(); //container.InstallLauncher<EmailComposeTask>(); AddCustomConventions(); }
protected override void Configure() { container = new PhoneContainer(); if (Execute.InDesignMode) { return; } container.RegisterPhoneServices(RootFrame); container.PerRequest <MainViewModel>(); AddCustomConventions(); }