Exemplo n.º 1
0
 public void ConstructorNegativeTest(IProfileCellView view, IInteractorProfileCell interactor, IProfileCellStylesHolder themes, IProfileCellLocale locale, string testName)
 {
     Assert.Throws(typeof(ArgumentNullException), () =>
     {
         var presenter = new PresenterProfileCell(view, interactor, themes, locale);
     });
 }
Exemplo n.º 2
0
        public PresenterProfileCell(IProfileCellView view, IInteractorProfileCell interactor, IProfileCellStylesHolder themes, IProfileCellLocale locale)
        {
            _view       = view ?? throw new ArgumentNullException("View cannot be a null!");
            _interactor = interactor ?? throw new ArgumentNullException("Interactor cannot be a null!");

            _themeHolder = themes;
            _locale      = locale;
        }
Exemplo n.º 3
0
 public ProfileViewHolder(View view) : base(view)
 {
     _profileCellView = view.FindViewById <ProfileCellView>(Resource.Id.moreOptions_profileCell_profileCellView);
 }
Exemplo n.º 4
0
 public void ConstructorPositiveTest(IProfileCellView view, IInteractorProfileCell interactor, IProfileCellStylesHolder themes, IProfileCellLocale locale, string testName)
 {
     var presenter = new PresenterProfileCell(view, interactor, themes, locale);
 }