public TopPresenterBase(ITopBeersService topService, TView view) : base(view) { if (topService == null) { throw new ArgumentNullException(nameof(topService)); } this.topService = topService; }
public TopController(ITopBeersService topService) { Guard.WhenArgument(topService, nameof(topService)).IsNull().Throw(); this.topService = topService; }
public TopBreweriesPresenter(ITopBeersService topService, IInitializableView <TopBreweriesViewModel> view) : base(topService, view) { this.View.Initialized += this.OnViewInitialized; }