blob: 227c9215835603f383c415d7484a00051c3410b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
using MoMoney.Presentation.Core;
using MoMoney.Presentation.Model.Navigation;
using MoMoney.Presentation.Views.Navigation;
namespace MoMoney.Presentation.Presenters.Navigation
{
public interface INavigationPresenter : IContentPresenter
{
}
public class NavigationPresenter : ContentPresenter<INavigationView>, INavigationPresenter
{
readonly INavigationTreeVisitor tree_view_visitor;
public NavigationPresenter(INavigationView view, INavigationTreeVisitor tree_view_visitor) : base(view)
{
this.tree_view_visitor = tree_view_visitor;
}
public override void run()
{
view.accept(tree_view_visitor);
}
}
}
|