void LoadZunzun() { ZunzunView = Create.TestObjectFor<ZunzunView>(); ZunzunPresenter = PresenterFactory.NewZunzunPresenter(ZunzunView); ZunzunPresenter.Load(); }
public static ZunzunPresenter NewZunzunPresenter(ZunzunView View) { var Presenter = new ZunzunPresenter { View = View, UserService = Domain.ObjectFactory.NewUserService, UserAuthenticator = ObjectFactory.NewUserAuthenticator, UserSettings = Domain.ObjectFactory.NewUserSettings }; Presenter.RegisterEvents(); return Presenter; }
public Main() { Presenter = PresenterFactory.NewZunzunPresenter(this); InitializeComponent(); RegisterEvents(); }