메소드 | 설명 | |
---|---|---|
Add ( State state ) : void |
Add the given state.
|
|
Initialize ( SmtpState stateId ) : void |
Sets the initial state.
|
|
TryAccept ( |
Advances the enumerator to the next command in the stream.
|
|
this ( SmtpState stateId ) : State |
Returns the state with the given ID.
|
메소드 | 설명 | |
---|---|---|
IEnumerable ( ) : IEnumerator |
Returns an enumerator that iterates through a collection.
|
public Initialize ( SmtpState stateId ) : void | ||
stateId | SmtpState | The ID of the initial state. |
리턴 | void |
public TryAccept ( |
||
tokenEnumerator | The token enumerator to accept the command from. | |
command | The command that is defined within the token enumerator. | |
errorResponse | The error that indicates why the command could not be made. | |
리턴 | bool |
public this ( SmtpState stateId ) : State | ||
stateId | SmtpState | The state ID to return. |
리턴 | State |