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

Utility class for wizard related queries and operations
ファイルを表示 Open project: nats/castle-1.0.3-mono Class Usage Examples

Public Methods

Method 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 method

Constructs the wizard namespace.
public static ConstructWizardNamespace ( Controller controller ) : String
controller Controller The controller.
return String

GetNextStepName() public static method

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

GetPreviousStepName() public static method

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

HasNextStep() public static method

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

HasPreviousStep() public static method

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

RegisterCurrentStepInfo() public static method

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

RegisterCurrentStepInfo() public static method

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.
return void