C# Class Rnwood.SmtpServer.FileMessage.Builder

Inheritance: IMessageBuilder
Show file Open project: rnwood/smtp4dev

Public Methods

Method Description
Builder ( FileInfo file, bool keepOnDispose ) : System
GetData ( ) : Stream
ToMessage ( ) : IMessage
WriteData ( ) : Stream

Method Details

Builder() public method

public Builder ( FileInfo file, bool keepOnDispose ) : System
file System.IO.FileInfo
keepOnDispose bool
return System

GetData() public method

public GetData ( ) : Stream
return Stream

ToMessage() public method

public ToMessage ( ) : IMessage
return IMessage

WriteData() public method

public WriteData ( ) : Stream
return Stream