C# Class Castle.MonoRail.Framework.Internal.WizardUtils

Utility class for wizard related queries and operations
Afficher le fichier Open project: nats/castle-1.0.3-mono Class Usage Examples

Méthodes publiques

Méthode Description
ConstructWizardNamespace ( Controller controller ) : String

Constructs the wizard namespace.

GetNextStepName ( Controller controller ) : String

Gets the name of the next step.

GetPreviousStepName ( Controller controller ) : String

Gets the name of the previous step.

HasNextStep ( Controller controller ) : bool

Determines whether the current wizard has a next step.

HasPreviousStep ( Controller controller ) : bool

Determines whether the current wizard has a previous step.

RegisterCurrentStepInfo ( Controller controller, String actionName ) : void

Registers the current step info/state.

RegisterCurrentStepInfo ( Controller controller, int stepIndex, String stepName ) : void

Registers the current step info/state.

Method Details

ConstructWizardNamespace() public static méthode

Constructs the wizard namespace.
public static ConstructWizardNamespace ( Controller controller ) : String
controller Controller The controller.
Résultat String

GetNextStepName() public static méthode

Gets the name of the next step.
public static GetNextStepName ( Controller controller ) : String
controller Controller The controller.
Résultat String

GetPreviousStepName() public static méthode

Gets the name of the previous step.
public static GetPreviousStepName ( Controller controller ) : String
controller Controller The controller.
Résultat String

HasNextStep() public static méthode

Determines whether the current wizard has a next step.
public static HasNextStep ( Controller controller ) : bool
controller Controller The controller.
Résultat bool

HasPreviousStep() public static méthode

Determines whether the current wizard has a previous step.
public static HasPreviousStep ( Controller controller ) : bool
controller Controller The controller.
Résultat bool

RegisterCurrentStepInfo() public static méthode

Registers the current step info/state.
public static RegisterCurrentStepInfo ( Controller controller, String actionName ) : void
controller Controller The controller.
actionName String Name of the action.
Résultat void

RegisterCurrentStepInfo() public static méthode

Registers the current step info/state.
public static RegisterCurrentStepInfo ( Controller controller, int stepIndex, String stepName ) : void
controller Controller The controller.
stepIndex int Index of the step.
stepName String Name of the step.
Résultat void