C# Class newtelligence.DasBlog.Web.Services.ReportMailer

This is the handler class for the Daily Report email functionality.
Afficher le fichier Open project: AArnott/dasblog Class Usage Examples

Méthodes publiques

Méthode Description
ReportMailer ( string configPath, string contentPath, string logPath ) : System
Run ( ) : void

Report-Mailer runs in background thread and this is the thread function.

SendEmailReport ( System.DateTime reportDate, SiteConfig siteConfig, IBlogDataService dataService, ILoggingDataService loggingService ) : void

Méthodes protégées

Méthode Description
GenerateSortedItemList ( IDictionary dict ) : ArrayList

Private Methods

Méthode Description
GenerateReportEmailBody ( System.DateTime reportDate ) : string
GetStyleSheet ( ) : string
GetTotal ( Hashtable hash ) : string
MakeTableHeader ( string col1, string col2 ) : string
MakeTableRow ( string title, string count ) : string
MakeTableRowsFromArray ( Hashtable hash ) : string

Method Details

GenerateSortedItemList() protected méthode

protected GenerateSortedItemList ( IDictionary dict ) : ArrayList
dict IDictionary
Résultat System.Collections.ArrayList

ReportMailer() public méthode

public ReportMailer ( string configPath, string contentPath, string logPath ) : System
configPath string
contentPath string
logPath string
Résultat System

Run() public méthode

Report-Mailer runs in background thread and this is the thread function.
public Run ( ) : void
Résultat void

SendEmailReport() public méthode

public SendEmailReport ( System.DateTime reportDate, SiteConfig siteConfig, IBlogDataService dataService, ILoggingDataService loggingService ) : void
reportDate System.DateTime
siteConfig SiteConfig
dataService IBlogDataService
loggingService ILoggingDataService
Résultat void