예제 #1
0
 public void OnEnable()
 {
     this.SetupGUI();
     base.name = "CollabHistory";
     if (this.m_Presenter == null)
     {
         this.m_Presenter = new CollabHistoryPresenter(this, new CollabHistoryItemFactory(), new RevisionsService(Collab.instance, UnityConnect.instance));
     }
     this.m_Presenter.OnWindowEnabled();
 }
예제 #2
0
        public void OnEnable()
        {
            SetupGUI();
            name = "CollabHistory";

            if (m_Presenter == null)
            {
                m_Presenter = new CollabHistoryPresenter(this, new CollabHistoryItemFactory(), new RevisionsService(Collab.instance, UnityConnect.instance), new BuildAccess());
            }
            m_Presenter.OnWindowEnabled();
        }
 public void SetUp()
 {
     _window    = new TestHistoryWindow();
     _service   = new TestRevisionsService();
     _presenter = new TestableCollabHistoryPresenter(_window, new CollabHistoryItemFactory(), _service, null);
 }