main
 1using MoMoney.Presentation.Core;
 2using momoney.presentation.views;
 3using momoney.service.infrastructure.logging;
 4
 5namespace momoney.presentation.presenters
 6{
 7    public interface ILogFilePresenter : IContentPresenter
 8    {
 9    }
10
11    public class LogFilePresenter : ContentPresenter<ILogFileView>, ILogFilePresenter
12    {
13        readonly ILogFileTasks tasks;
14
15        public LogFilePresenter(ILogFileView view, ILogFileTasks tasks) : base(view)
16        {
17            this.tasks = tasks;
18        }
19
20        public override void run()
21        {
22            view.display(tasks.get_the_path_to_the_log_file());
23            view.run(tasks.get_the_contents_of_the_log_file());
24            //tasks.notify(view);
25        }
26    }
27}