C# 클래스 netDumbster.smtp.Configuration

파일 보기 프로젝트 열기: cmendible/netDumbster 1 사용 예제들

공개 메소드들

메소드 설명
Build ( ) : SimpleSmtpServer

Builds this instance.

Configure ( ) : Configuration

Configures this instance.

EnableMessageStore ( bool enable ) : Configuration

Enables the message store.

WithAddress ( IPAddress address ) : Configuration

Configures with specified address

WithPort ( int port ) : Configuration

Configures with specified port

WithProcessingDelay ( int milliseconds ) : Configuration

Configures with a processing delay

WithRandomPort ( ) : Configuration

Configures a random port.

비공개 메소드들

메소드 설명
Configuration ( ) : System

Initializes a new instance of the Configuration class.

GetRandomUnusedPort ( ) : int

Gets the random unused port.

메소드 상세

Build() 공개 메소드

Builds this instance.
public Build ( ) : SimpleSmtpServer
리턴 SimpleSmtpServer

Configure() 공개 정적인 메소드

Configures this instance.
public static Configure ( ) : Configuration
리턴 Configuration

EnableMessageStore() 공개 메소드

Enables the message store.
public EnableMessageStore ( bool enable ) : Configuration
enable bool if set to true [enable].
리턴 Configuration

WithAddress() 공개 메소드

Configures with specified address
public WithAddress ( IPAddress address ) : Configuration
address System.Net.IPAddress The address.
리턴 Configuration

WithPort() 공개 메소드

Configures with specified port
public WithPort ( int port ) : Configuration
port int The port.
리턴 Configuration

WithProcessingDelay() 공개 메소드

Configures with a processing delay
public WithProcessingDelay ( int milliseconds ) : Configuration
milliseconds int The (minimum) number of milliseconds by which a new message is delay processing by
리턴 Configuration

WithRandomPort() 공개 메소드

Configures a random port.
public WithRandomPort ( ) : Configuration
리턴 Configuration