コード例 #1
0
 public void Most_Chatted_Contacts_By_Mean_Lines_Is_Written()
 {
     var report = new ContactReport();
     new MostChattedContactByMeanLines(report, Data.GetContactsForReports()).WriteReport("Contacts\\");
 }
コード例 #2
0
 public void Most_Chatted_Contacts_By_Total_Minutes_Is_Written()
 {
     var report = new ContactReport();
     new MostChattedContactByTotalMinutes(report, Data.GetContactsForReports()).WriteReport("Contacts\\");
 }
コード例 #3
0
 public void Most_Chatted_Contacts_By_Chat_Count_Is_Written()
 {
     var report = new ContactReport();
     new MostChattedContactByChatCount(report, Data.GetContactsForReports()).WriteReport("Contacts\\");
 }
コード例 #4
0
        private void ContactsReport_Click(object sender, RoutedEventArgs e)
        {
            ContactReport contactReport = new ContactReport();

            contactReport.ShowDialog();
        }
コード例 #5
0
ファイル: ReportWrapper.cs プロジェクト: weshec/Stareater
 public void Visit(ContactReport report)
 {
     wrapped = new ContactReportInfo(report);
 }
コード例 #6
0
 public void Contact_Report_Is_Written()
 {
     var report = new ContactReport();
     report.WriteReport("Title", "Templates\\contact_report.pdf", new[] { Data.GetContactA(), Data.GetContactB() });
 }
コード例 #7
0
ファイル: ContactReportInfo.cs プロジェクト: weshec/Stareater
 internal ContactReportInfo(ContactReport report)
 {
     this.report = report;
 }