private void constructMe(I_UI_MultipleDialogs view, I_HelloWorldRepository repo)
        {
            _UserView   = view;
            _repository = repo;

            initUserView();
        }
        private void constructMe(I_UI_DialogWithUser view, I_HelloWorldRepository repo)
        {
            _UserView   = view;
            _repository = repo;


            initUserView();
        }
예제 #3
0
        public void InitDebugRepository()
        {
            //Arrange
            I_HelloWorldRepository repEmpty = TestSettings.Get_HelloWorldRepository();
            I_HelloWorldRepository repLangs_NoTranslations = TestSettings.Get_HelloWorldRepository(true);
            I_HelloWorldRepository repLangsAndTranslations = TestSettings.Get_HelloWorldRepository(true, true);

            //Act

            //Assert
            Assert.Equal(0, repEmpty.GetAllLanguages().Count);
            Assert.Equal(0, repEmpty.GetAllTranslations().Count);

            Assert.Equal(4, repLangs_NoTranslations.GetAllLanguages().Count);
            Assert.Equal(0, repLangs_NoTranslations.GetAllTranslations().Count);

            Assert.Equal(4, repLangsAndTranslations.GetAllLanguages().Count);
            Assert.Equal(28, repLangsAndTranslations.GetAllTranslations().Count);
        }
 public Dialog_Processor(I_UI_DialogWithUser view, I_HelloWorldRepository repo)
 {
     constructMe(view, repo);
 }
        private void constructMe(I_UI_DialogWithUser view, I_HelloWorldRepository repo)
        {
            _UserView = view;
            _repository = repo;

            initUserView();
        }
 public Dialog_Processor(I_UI_DialogWithUser view, I_HelloWorldRepository repo)
 {
     constructMe(view, repo);
 }
 public MultipleDialogs_Processor(I_UI_MultipleDialogs view, I_HelloWorldRepository repo)
 {
     constructMe(view, repo);
 }
 public MultipleDialogs_Processor(I_UI_MultipleDialogs view, I_HelloWorldRepository repo)
 {
     constructMe(view, repo);
 }
        private void constructMe(I_UI_MultipleDialogs view, I_HelloWorldRepository repo)
        {
            _UserView = view;
            _repository = repo;

            initUserView();
        }