C# 클래스 Scorchio.Infrastructure.Wpf.ViewModels.Wizard.WizardStepManager

Defines the WizardStepManager type.
파일 보기 프로젝트 열기: asudbury/NinjaCoderForMvvmCross 1 사용 예제들

공개 메소드들

메소드 설명
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