Ejemplo n.º 1
0
 public SpeakerTableViewController(Speaker speaker)
     : base(UITableViewStyle.Grouped)
 {
     Presenter = new SpeakerPresenter();
     Presenter.Speaker = speaker;
     Presenter.Sessions = (UIApplication.SharedApplication.Delegate as AppDelegate).Sessions;
 }
Ejemplo n.º 2
0
        public void SetupPresenterAndMocks()
        {
            Presenter = new SpeakerPresenter();

            MockSpeaker = new Speaker
            {
                Info = "Speaker info",
                Name = "Joe Bloggs"
            };

            Presenter.Speaker = MockSpeaker;
        }