Exemple #1
0
        protected override void Configure()
        {
            container = new PhoneContainer(RootFrame);

            container.RegisterPhoneServices();
            container.PerRequest <LoginViewModel>();
            container.PerRequest <GroupListViewModel>();
            container.PerRequest <GroupDetailsViewModel>();
            container.PerRequest <AddDebtViewModel>();
            container.PerRequest <MainPanoramaPageViewModel>();
            container.AllTypesOf <IPage>(Assembly.GetExecutingAssembly());

            container.Singleton <RegistrationService>();
            container.Singleton <WalleetServiceClient>();

            AddCustomConventions();
        }