C# Class Rock.Communication.MediumComponent

Inheritance: Rock.Extension.Component
Mostra file Open project: NewSpring/Rock

Public Methods

Method Description
GetControl ( bool useSimpleMode ) : MediumControl

Gets the control.

GetHtmlPreview ( Model communication, Person person ) : string

Gets the HTML preview.

GetMessageDetails ( Model communication ) : string

Gets the read-only message details.

MediumComponent ( ) : System

Initializes a new instance of the MediumComponent class.

Send ( Rock communication ) : void

Sends the specified communication.

Method Details

GetControl() public abstract method

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

GetHtmlPreview() public abstract method

Gets the HTML preview.
public abstract GetHtmlPreview ( Model communication, Person person ) : string
communication Model The communication.
person Person The person.
return string

GetMessageDetails() public abstract method

Gets the read-only message details.
public abstract GetMessageDetails ( Model communication ) : string
communication Model The communication.
return string

MediumComponent() public method

Initializes a new instance of the MediumComponent class.
public MediumComponent ( ) : System
return System

Send() public method

Sends the specified communication.
public Send ( Rock communication ) : void
communication Rock The communication.
return void