コード例 #1
0
 public VoteController(IBirthdayPeopleService birthdayPeople, IVoteService voteData, IPresentService presentData, IBirthdayData dbData)
 {
     this.birthdayData = birthdayPeople;
     this.voteData = voteData;
     this.presentData = presentData;
     this.dbData = dbData;
 }
コード例 #2
0
 public void Init()
 {
     _serviceProvider = new DefaultServiceProvider();
     _viewFactory     = new DefaultViewFactory();
     _go        = new GameObject("MessageBoxTest");
     _presenter = new PresenterBuilder(_serviceProvider, _go).UseViewFactory(_viewFactory).Build();
 }
コード例 #3
0
ファイル: BookController.cs プロジェクト: wjydc/YueDu_v3
 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;
 }
コード例 #4
0
ファイル: PresenterTests.cs プロジェクト: Arvtesh/UnityFx.Mvc
        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();
        }
コード例 #5
0
 public PresentController(IPresentService presentService, ICommentService commentService, IUsersService usersService)
 {
     _presentService = presentService;
     _commentService = commentService;
     _usersService   = usersService;
 }
コード例 #6
0
ファイル: PresentController.cs プロジェクト: smeraj121/Bling
 public PresentController(IPresentService ps)
 {
     this.ps = ps;
 }
コード例 #7
0
 public UserController(IUsersService usersService, IPresentService presentService)
 {
     _usersService   = usersService;
     _presentService = presentService;
 }
コード例 #8
0
 private void OnEnable()
 {
     _presenter = ((PresenterBehaviour)target).Presenter;
 }
コード例 #9
0
 public PresentsController(IPresentService service, IMapper mapper)
 {
     _service = service;
     _mapper  = mapper;
 }
コード例 #10
0
 public void Init()
 {
     _serviceProvider = new DefaultServiceProvider();
     _viewFactory     = new DefaultViewFactory();
     _presenter       = new PresenterBuilder(_serviceProvider, new GameObject("PresentResultTests")).UseViewFactory(_viewFactory).Build();
 }