C# Класс Scorchio.Infrastructure.Wpf.ViewModels.Wizard.WizardStepManager

Defines the WizardStepManager type.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ProvideSteps ( List wizardSteps ) : void

Provides the steps.

ReworkListBasedOn ( Scorchio.Infrastructure.Wpf.ViewModels.Wizard.RouteModifier routeModifier ) : void

Reworks the list based on.

Приватные методы

Метод Описание
AddBack ( List workingStepList, IEnumerable viewTypes ) : void

OMG, if the user chooses an option that changes the route through the wizard, then goes back and chooses a different option, we need to add the appropriate step(s) back into the workflow.

CreateNewStepList ( Scorchio.Infrastructure.Wpf.ViewModels.Wizard.RouteModifier routeModifier ) : IEnumerable

Creates the new step list.

EnsureNotModifyingCurrentStep ( Scorchio.Infrastructure.Wpf.ViewModels.Wizard.RouteModifier routeModifier ) : void

Ensures the not modifying current step.

ReorganizeLinkedList ( Scorchio.Infrastructure.Wpf.ViewModels.Wizard.RouteModifier routeModifier ) : void

Re-create the linked list to reflect the new "workflow."

ResetCurrentLinkedListStepTo ( WizardStepViewModel cacheCurrentStep ) : void

Must maintain the current step reference (this re-creating of the linked list happens when the user makes a selection on the current step). After recreating the list, our CurrentLinkedListStep reference would be referring to an item in the old linked list.

ResetListRelevancy ( ) : void

At this point, if a step is in the linked list, it's relevant; if not, it's not.

ResetRoute ( ) : void

Each step in the wizard may modify the route, but it's assumed that if the user goes back to step one, the route initializes back to the way it was when it was created.

Описание методов

ProvideSteps() публичный Метод

Provides the steps.
public ProvideSteps ( List wizardSteps ) : void
wizardSteps List The wizard steps.
Результат void

ReworkListBasedOn() публичный Метод

Reworks the list based on.
public ReworkListBasedOn ( Scorchio.Infrastructure.Wpf.ViewModels.Wizard.RouteModifier routeModifier ) : void
routeModifier Scorchio.Infrastructure.Wpf.ViewModels.Wizard.RouteModifier The route modifier.
Результат void