C# 클래스 SmtpServer.Protocol.SmtpStateMachine.State

상속: IEnumerable
파일 보기 프로젝트 열기: cosullivan/SmtpServer

공개 메소드들

메소드 설명
Add ( string command, TryMakeDelegate tryMake, SmtpState transitionTo = null ) : void

Add a state action.

State ( SmtpState stateId ) : System

Constructor.

비공개 메소드들

메소드 설명
IEnumerable ( ) : IEnumerator

Returns an enumerator that iterates through a collection.

메소드 상세

Add() 공개 메소드

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.
리턴 void

State() 공개 메소드

Constructor.
public State ( SmtpState stateId ) : System
stateId SmtpState The ID of the state.
리턴 System