public VoteController(IBirthdayPeopleService birthdayPeople, IVoteService voteData, IPresentService presentData, IBirthdayData dbData) { this.birthdayData = birthdayPeople; this.voteData = voteData; this.presentData = presentData; this.dbData = dbData; }
public void Init() { _serviceProvider = new DefaultServiceProvider(); _viewFactory = new DefaultViewFactory(); _go = new GameObject("MessageBoxTest"); _presenter = new PresenterBuilder(_serviceProvider, _go).UseViewFactory(_viewFactory).Build(); }
public BookController(IBookService bookService, IHotSearchWordService hotSearchWordService, IRecommendService recommendService, IBookmarkService bookmarkService, IPresentService presentService, IChapterService chapterService, ICommentService commentService, IPackageService packageService, IOrderService orderService) { _bookService = bookService; _hotSearchWordService = hotSearchWordService; _recommendService = recommendService; _bookmarkService = bookmarkService; _presentService = presentService; _chapterService = chapterService; _commentService = commentService; _packageService = packageService; _orderService = orderService; }
public void Init() { _serviceProvider = new DefaultServiceProvider(); _viewFactory = new DefaultViewFactory(); _updateLoop = new ManualUpdateLoop(); _go = new GameObject("PresenterTests"); _presenter = new PresenterBuilder(_serviceProvider, _go) .UseViewFactory(_viewFactory) .UseEventSource(_updateLoop) .Build(); }
public PresentController(IPresentService presentService, ICommentService commentService, IUsersService usersService) { _presentService = presentService; _commentService = commentService; _usersService = usersService; }
public PresentController(IPresentService ps) { this.ps = ps; }
public UserController(IUsersService usersService, IPresentService presentService) { _usersService = usersService; _presentService = presentService; }
private void OnEnable() { _presenter = ((PresenterBehaviour)target).Presenter; }
public PresentsController(IPresentService service, IMapper mapper) { _service = service; _mapper = mapper; }
public void Init() { _serviceProvider = new DefaultServiceProvider(); _viewFactory = new DefaultViewFactory(); _presenter = new PresenterBuilder(_serviceProvider, new GameObject("PresentResultTests")).UseViewFactory(_viewFactory).Build(); }