Exemplo n.º 1
0
        public TopPresenterBase(ITopBeersService topService, TView view)
            : base(view)
        {
            if (topService == null)
            {
                throw new ArgumentNullException(nameof(topService));
            }

            this.topService = topService;
        }
Exemplo n.º 2
0
        public TopController(ITopBeersService topService)
        {
            Guard.WhenArgument(topService, nameof(topService)).IsNull().Throw();

            this.topService = topService;
        }
Exemplo n.º 3
0
 public TopBreweriesPresenter(ITopBeersService topService, IInitializableView <TopBreweriesViewModel> view)
     : base(topService, view)
 {
     this.View.Initialized += this.OnViewInitialized;
 }