C# 클래스 Alpinely.TownCrier.MailMessageWrapper

파일 보기 프로젝트 열기: endeavour/town-crier 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
ContainedMailMessage System.Net.Mail.MailMessage
HtmlBody string
IsSubjectSet bool
PlainTextBody string
TemplateParser ITemplateParser
TokenValues string>.IDictionary

공개 메소드들

메소드 설명
Create ( ) : MailMessage
MailMessageWrapper ( ITemplateParser templateParser ) : System
WithHtmlBody ( string bodyTemplate ) : MailMessageWrapper
WithHtmlBodyFromFile ( string filename ) : MailMessageWrapper
WithMarkdownBody ( string bodyTemplate ) : MailMessageWrapper
WithMarkdownBodyFromFile ( string filename ) : MailMessageWrapper
WithPlainTextBody ( string bodyTemplate ) : MailMessageWrapper
WithPlainTextBodyFromFile ( string filename ) : MailMessageWrapper
WithSubject ( string subjectTemplate ) : MailMessageWrapper

보호된 메소드들

메소드 설명
SetBodyFromHtmlText ( ) : void
SetBodyFromPlainText ( ) : void

메소드 상세

Create() 공개 메소드

public Create ( ) : MailMessage
리턴 System.Net.Mail.MailMessage

MailMessageWrapper() 공개 메소드

public MailMessageWrapper ( ITemplateParser templateParser ) : System
templateParser ITemplateParser
리턴 System

SetBodyFromHtmlText() 보호된 메소드

protected SetBodyFromHtmlText ( ) : void
리턴 void

SetBodyFromPlainText() 보호된 메소드

protected SetBodyFromPlainText ( ) : void
리턴 void

WithHtmlBody() 공개 메소드

public WithHtmlBody ( string bodyTemplate ) : MailMessageWrapper
bodyTemplate string
리턴 MailMessageWrapper

WithHtmlBodyFromFile() 공개 메소드

public WithHtmlBodyFromFile ( string filename ) : MailMessageWrapper
filename string
리턴 MailMessageWrapper

WithMarkdownBody() 공개 메소드

public WithMarkdownBody ( string bodyTemplate ) : MailMessageWrapper
bodyTemplate string
리턴 MailMessageWrapper

WithMarkdownBodyFromFile() 공개 메소드

public WithMarkdownBodyFromFile ( string filename ) : MailMessageWrapper
filename string
리턴 MailMessageWrapper

WithPlainTextBody() 공개 메소드

public WithPlainTextBody ( string bodyTemplate ) : MailMessageWrapper
bodyTemplate string
리턴 MailMessageWrapper

WithPlainTextBodyFromFile() 공개 메소드

public WithPlainTextBodyFromFile ( string filename ) : MailMessageWrapper
filename string
리턴 MailMessageWrapper

WithSubject() 공개 메소드

public WithSubject ( string subjectTemplate ) : MailMessageWrapper
subjectTemplate string
리턴 MailMessageWrapper

프로퍼티 상세

ContainedMailMessage 보호되어 있는 프로퍼티

protected MailMessage,System.Net.Mail ContainedMailMessage
리턴 System.Net.Mail.MailMessage

HtmlBody 보호되어 있는 프로퍼티

protected string HtmlBody
리턴 string

IsSubjectSet 보호되어 있는 프로퍼티

protected bool IsSubjectSet
리턴 bool

PlainTextBody 보호되어 있는 프로퍼티

protected string PlainTextBody
리턴 string

TemplateParser 보호되어 있는 프로퍼티

protected ITemplateParser TemplateParser
리턴 ITemplateParser

TokenValues 보호되어 있는 프로퍼티

protected IDictionary TokenValues
리턴 string>.IDictionary