C# Class SmtpServer.Protocol.SmtpStateMachine.State

Inheritance: IEnumerable
Afficher le fichier Open project: cosullivan/SmtpServer

Méthodes publiques

Méthode Description
Add ( string command, TryMakeDelegate tryMake, SmtpState transitionTo = null ) : void

Add a state action.

State ( SmtpState stateId ) : System

Constructor.

Private Methods

Méthode Description
IEnumerable ( ) : IEnumerator

Returns an enumerator that iterates through a collection.

Method Details

Add() public méthode

Add a state action.
public Add ( string command, TryMakeDelegate tryMake, SmtpState transitionTo = null ) : void
command string The name of the SMTP command.
tryMake TryMakeDelegate The function callback to create the command.
transitionTo SmtpState The state to transition to.
Résultat void

State() public méthode

Constructor.
public State ( SmtpState stateId ) : System
stateId SmtpState The ID of the state.
Résultat System