C# Class Rock.Web.UI.Controls.Communication.MediumControl

abstract class for controls used to render a communication medium
Inheritance: System.Web.UI.WebControls.CompositeControl
显示文件 Open project: NewSpring/Rock Class Usage Examples

Public Methods

Method Description
InitializeFromSender ( Person sender ) : void

On new communication, initializes controls from sender values

OnCommunicationSave ( Rock rockContext ) : void

Called when [communication save].

Protected Methods

Method Description
GetDataValue ( string>.Dictionary data, string key ) : string

Gets the data value.

Method Details

GetDataValue() protected method

Gets the data value.
protected GetDataValue ( string>.Dictionary data, string key ) : string
data string>.Dictionary The data.
key string The key.
return string

InitializeFromSender() public abstract method

On new communication, initializes controls from sender values
public abstract InitializeFromSender ( Person sender ) : void
sender Person The sender.
return void

OnCommunicationSave() public method

Called when [communication save].
public OnCommunicationSave ( Rock rockContext ) : void
rockContext Rock The rock context.
return void