Exemplo n.º 1
0
 public void RegisterPropertiesStep()
 {
     if (!AllRegisteredSteps.Contains(paymentMethodPropertiesStep3))
     {
         RegisterStep(paymentMethodPropertiesStep3);
         languagesStep2.IsLast_2 = false;
     }
 }
Exemplo n.º 2
0
 public void UnRegisterPropertiesStep()
 {
     if (AllRegisteredSteps.Contains(paymentMethodPropertiesStep3))
     {
         UnregisterStep(paymentMethodPropertiesStep3);
         languagesStep2.IsLast_2 = true;
     }
 }
Exemplo n.º 3
0
 public void RegisterPricingStep(bool register)
 {
     if (register)
     {
         if (!AllRegisteredSteps.Contains(pricingStep4))
         {
             RegisterStep(pricingStep4);
             if (pricingStep4.IsInitializingPricing)
             {
                 var curStep = pricingStep4 as ISupportDelayInitialization;
                 Task.Run(() => curStep.InitializeForOpen());
             }
         }
     }
     else if (AllRegisteredSteps.Contains(pricingStep4))
     {
         UnregisterStep(pricingStep4);
     }
 }