C# Класс SmtpServer.Protocol.SmtpStateMachine.State

Наследование: IEnumerable
Показать файл Открыть проект

Открытые методы

Метод Описание
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