Method | Description | |
---|---|---|
EmailTemplateService ( ) : System |
Initializes a new instance of the EmailTemplateService class.
|
|
RenderMailMessage ( String templateName, IDictionary parameters, bool doNotApplyLayout ) : |
Creates an instance of Message using the specified template for the body
|
|
RenderMailMessage ( String templateName, IRailsEngineContext context, |
Creates an instance of Message using the specified template for the body
|
|
Service ( IServiceProvider provider ) : void |
Invoked by the framework in order to give a chance to obtain other services
|
public RenderMailMessage ( String templateName, IDictionary parameters, bool doNotApplyLayout ) : |
||
templateName | String |
/// Name of the template to load.
/// Will look in |
parameters | IDictionary | /// Dictionary with parameters /// that you can use on the email template /// |
doNotApplyLayout | bool | If |
return |
public RenderMailMessage ( String templateName, IRailsEngineContext context, |
||
templateName | String | /// Name of the template to load. /// Will look in Views/mail for that template file. /// |
context | IRailsEngineContext | Context that represents the current request |
controller | Controller instance | |
doNotApplyLayout | bool | If |
return |
public Service ( IServiceProvider provider ) : void | ||
provider | IServiceProvider | The service proviver |
return | void |