Design Pattern Examples
Overview of object-oriented design patterns
State_Done Class Reference

Represents being done with input. More...

Inheritance diagram for State_Done:
Inheritance graph
Collaboration diagram for State_Done:
Collaboration graph

Private Member Functions

CurrentState IStateBehavior. GoNext (IStateContext context)
 Process the next character from the context, returning the next state the context should move to.
 

Additional Inherited Members

CurrentState GoNext (IStateContext context)
 

Detailed Description

Represents being done with input.

Transitions to the following states for the seen input: Always stay in CurrentState.Done

Definition at line 586 of file State_Class.cs.

Member Function Documentation

◆ GoNext()

CurrentState IStateBehavior. GoNext ( IStateContext  context)
inlineprivate

Process the next character from the context, returning the next state the context should move to.

Parameters
contextAn IStateContext object representing the context to use for getting the next character of input and to which to output characters.
Returns
Returns a value from the CurrentState enumeration indicating the next state to which the state machine should transition to.

Implements IStateBehavior.

Definition at line 597 of file State_Class.cs.


The documentation for this class was generated from the following file: