protected override void DoValidate() { var currentProfileName = View.SelectedProfile; if (string.IsNullOrWhiteSpace(currentProfileName)) { throw new WizardStepException("No profile is selected"); } Model.CurrentProfile = _profileManager.Get(View.SelectedProfile); }
public Profile GetProfile(string profileName) { return(_profileManager.Get(profileName)); }