public void RegisterPropertiesStep() { if (!AllRegisteredSteps.Contains(paymentMethodPropertiesStep3)) { RegisterStep(paymentMethodPropertiesStep3); languagesStep2.IsLast_2 = false; } }
public void UnRegisterPropertiesStep() { if (AllRegisteredSteps.Contains(paymentMethodPropertiesStep3)) { UnregisterStep(paymentMethodPropertiesStep3); languagesStep2.IsLast_2 = true; } }
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); } }