C# Class FourRoads.TelligentCommunity.Sentrus.HealthExtensions.UserEncouragementEmailTemplate

Inheritance: IEmailTemplatePreviewPlugin, ITokenRegistrar, ITranslatablePlugin, ISingletonPlugin
Mostra file Open project: 4-Roads/FourRoads.TelligentCommunity

Public Methods

Method Description
GetSendMailOptions ( int userid, TemplateContext templateContext ) : SendEmailOptions
GetTemplateName ( EmailTarget target ) : string
Initialize ( ) : void
RegisterTokens ( ITokenizedTemplateTokenController tokenizedTemplateTokenController ) : void
SetController ( ITemplatablePluginController controller ) : void
SetController ( ITranslatablePluginController controller ) : void

Private Methods

Method Description
CreateTokenizedTemplate ( EmailTarget target, string defaultTemplate ) : TokenizedTemplate

Method Details

GetSendMailOptions() public method

public GetSendMailOptions ( int userid, TemplateContext templateContext ) : SendEmailOptions
userid int
templateContext TemplateContext
return SendEmailOptions

GetTemplateName() public method

public GetTemplateName ( EmailTarget target ) : string
target EmailTarget
return string

Initialize() public method

public Initialize ( ) : void
return void

RegisterTokens() public method

public RegisterTokens ( ITokenizedTemplateTokenController tokenizedTemplateTokenController ) : void
tokenizedTemplateTokenController ITokenizedTemplateTokenController
return void

SetController() public method

public SetController ( ITemplatablePluginController controller ) : void
controller ITemplatablePluginController
return void

SetController() public method

public SetController ( ITranslatablePluginController controller ) : void
controller ITranslatablePluginController
return void