示例#1
0
 public bool ProducstWereLoadedVerified(CommerceServiceEvents.ProductsLoaded pl)
 {
     if (pl.Success)
     {
         if (Service.Get <MixLoginCreateService>().RegistrationAgeBand != null)
         {
             membershipPlans = new MembershipPlans(Service.Get <MixLoginCreateService>().RegistrationAgeBand.CountryCode);
         }
         Service.Get <MixLoginCreateService>().OnRegistrationConfigUpdated += onRegistrationConfigUpdated;
     }
     productsLoaded  = pl.Success;
     productsLoading = false;
     return(false);
 }
示例#2
0
 private void onRegistrationConfigUpdated(IRegistrationConfiguration registrationConfig)
 {
     membershipPlans = new MembershipPlans(Service.Get <MixLoginCreateService>().RegistrationAgeBand.CountryCode);
 }