public BaseStatisticViewModel(IStatisticController statisticController , IOwnerAuthService ownerAuthService , IUserDialogs dialogs) { this._statisticController = statisticController; this._ownerAuthService = ownerAuthService; this._dialogs = dialogs; }
public StatisticCurrentSellerViewModel(IStatisticController statisticController , IUserDialogs dialogs , ISellerAuthService authService , ISellerOrderService sellerOrderService) : base(sellerOrderService, authService) { this._statisticController = statisticController; this._dialogs = dialogs; this._authService = authService; }
public void Initialize() { var serverInfo = new ServerInfo("TestServer", new[] { "TestModeA", "TestModeB" }); var server = new Domain.Server("192.168.0.1-80", serverInfo); _serverRepository = A.Fake <IServerService>(); _matchRepository = A.Fake <IService <Match> >(); _statisticController = A.Fake <IStatisticController>(); _controller = new MatchController(_matchRepository, _serverRepository, _statisticController); A.CallTo(() => _serverRepository.Get("192.168.0.1-80")).Returns(server); A.CallTo(() => _serverRepository.Get("192.168.0.2-80")).Throws(() => new NullReferenceException()); }
public OnlineSellersStatisticViewModel(IStatisticController statisticController , IOwnerAuthService ownerAuthService , IUserDialogs dialogs) : base(statisticController, ownerAuthService, dialogs) { }
public MatchController(IService <Match> matchService, IServerService serverService, IStatisticController statisticController) { this.matchService = matchService; this.serverService = serverService; this.statisticController = statisticController; }