C# Class Rock.Communication.Medium.Email

Inheritance: MediumComponent
Afficher le fichier Open project: SparkDevNetwork/Rock Class Usage Examples

Méthodes publiques

Méthode Description
GetControl ( bool useSimpleMode ) : MediumControl

Gets the control.

GetHtmlPreview ( System.ComponentModel.Model communication, Person person ) : string

Gets the HTML preview.

GetMessageDetails ( System.ComponentModel.Model communication ) : string

Gets the read-only message details.

ProcessHtmlBody ( Rock communication, Rock globalAttributes, object>.Dictionary mergeObjects, Person currentPersonOverride = null ) : string

Processes the HTML body.

ProcessTextBody ( Rock communication, Rock globalAttributes, object>.Dictionary mergeObjects, Person currentPersonOverride = null ) : string

Processes the text body.

Send ( System.ComponentModel.Model communication ) : void

Sends the specified communication.

Private Methods

Méthode Description
AppendAttachmentData ( StringBuilder sb, string value ) : void
AppendMediumData ( System.ComponentModel.Model communication, StringBuilder sb, string key ) : void
AppendMediumData ( StringBuilder sb, string key, string value ) : void

Method Details

GetControl() public méthode

Gets the control.
public GetControl ( bool useSimpleMode ) : MediumControl
useSimpleMode bool if set to true [use simple mode].
Résultat Rock.Web.UI.Controls.Communication.MediumControl

GetHtmlPreview() public méthode

Gets the HTML preview.
public GetHtmlPreview ( System.ComponentModel.Model communication, Person person ) : string
communication System.ComponentModel.Model The communication.
person Person The person.
Résultat string

GetMessageDetails() public méthode

Gets the read-only message details.
public GetMessageDetails ( System.ComponentModel.Model communication ) : string
communication System.ComponentModel.Model The communication.
Résultat string

ProcessHtmlBody() public static méthode

Processes the HTML body.
public static ProcessHtmlBody ( Rock communication, Rock globalAttributes, object>.Dictionary mergeObjects, Person currentPersonOverride = null ) : string
communication Rock The communication.
globalAttributes Rock The global attributes.
mergeObjects object>.Dictionary The merge objects.
currentPersonOverride Person The current person override.
Résultat string

ProcessTextBody() public static méthode

Processes the text body.
public static ProcessTextBody ( Rock communication, Rock globalAttributes, object>.Dictionary mergeObjects, Person currentPersonOverride = null ) : string
communication Rock The communication.
globalAttributes Rock The global attributes.
mergeObjects object>.Dictionary The merge objects.
currentPersonOverride Person The current person override.
Résultat string

Send() public méthode

Sends the specified communication.
public Send ( System.ComponentModel.Model communication ) : void
communication System.ComponentModel.Model The communication.
Résultat void