/// <summary> /// Initializes the Wizard Part and Send Notifications /// </summary> /// <param name="info"></param> public virtual void Initialize(WizardInfo info) { if (!CanInitializeWizardPage(info)) { return; } if (IsInitializationRequired(info)) { m_wizardInfo = info; if (m_prerequisite == null) { m_prerequisite = new WizardPartPrerequisite(info); } try { Reset(); } catch (WorkItemMigratorException ex) { Warning = ex.Args.Title; CanShow = false; m_wizardInfo = null; } } m_prerequisite.Save(); FireStateNotifications(); }
public virtual void Clear() { m_wizardInfo = null; m_prerequisite = null; }