public SpeakerController( ISpeakerService speakerService, IMachineService machineService) { _speakerService = speakerService; _machineService = machineService; }
public CompositeController(IMeetupService ms, ITalkService ts, ISpeakerService ss, IFriendService fs, IVenueService vs) { _meetupService = ms; _talkService = ts; _speakerService = ss; _friendService = fs; _venueService = vs; }
public EntityFrameworkCoreRepositoryTest() { DbContext context = new ApplicationContext(); _speakerRepository = new EntityFrameworkCoreRepository <Speaker>(context); _speakerService = new SpeakerService(_speakerRepository); }
public TalksController(ITalkService talkService, ISpeakerService speakerService, ILogger <TalksController> logger) { _talkService = talkService; _speakerService = speakerService; _logger = logger; }
public SpeakerController(IEventService eventService, ISpeakerService speakerService, IScheduleItemService scheduleItemService) { this.eventService = eventService; this.speakerService = speakerService; this.scheduleItemService = scheduleItemService; ValidateRequest = false; }
public When_executing_SpeakerService() { _mockConferenceDataProvider = new Mock <IConferenceDataProvider>(); _mockConferenceDataProvider.Setup(d => d.GetSpeakers).Returns(new List <User> { new User() }.AsQueryable()); _speakerService = new SpeakerService(_mockConferenceDataProvider.Object); }
public SpeakersViewModel(INavigationService navigationService, ISpeakerService speakerService) : base(navigationService) { _speakerService = speakerService; Title = "Speakers"; NavigateToProfileCommand = new DelegateCommand(OnNavigateToProfile); NavigateToSpeakerCommand = new DelegateCommand <SpeakerModel>(OnNavigateToSpeaker); IsActiveChanged += OnIsActiveChanged; }
public SpeakerMasterPageViewModel(IPageDialogService pageDialogService, INavigationService navigationService, ISpeakerService speakerService) : base(pageDialogService, navigationService) { if (speakerService == null) { throw new ArgumentNullException(nameof(speakerService)); } _speakerService = speakerService; }
public SpeakersViewModel( INavigationService navigationService, ISpeakerService speakerService) { NavigationService = navigationService; SpeakerService = speakerService; Speakers = new ObservableCollection <Speaker>(); SessionSelected = new DelegateCommand <Session>(OnSessionSelected); }
public SpeakersController( ISpeakerService speakerService, ILoggerAdapter <SpeakersController> logger, ISpeakerPresentationService speakerPresentationServiceService ) { _logger = logger; _speakerService = speakerService; _speakerPresentationServiceService = speakerPresentationServiceService; }
public SpeakersController(ISpeakerService service , IEfRepository <Speaker> repository , ISelectOptionService selectOptionService , IMapper mapper) { _service = service; _repository = repository; _selectOptionService = selectOptionService; _mapper = mapper; }
public SpeechController( ISpeechService speechService, ISpeakerService speakerService, IRecognizerService recognizerService, IResultTextService resultTextService) { _speechService = speechService; _speakerService = speakerService; _recognizerService = recognizerService; _resultTextService = resultTextService; }
public SpeakerDetailViewModel(IParameterViewStackService viewStackService, ISpeakerService speakerService) { _viewStackService = viewStackService; _speakerService = speakerService; this.WhenAnyValue(x => x.Speaker) .WhereNotNull() .Subscribe(x => ImageSource = ImageSource.FromUri(x.ProfilePicture)); GetSpeaker = ReactiveCommand.CreateFromTask <Guid>(ExecuteGetSpeaker); }
public SpeakerModule(ISpeakerService speakerService) : base("/speakers") { _speakerService = speakerService; Get("", parameters => { var ids = SplitIds(Request.Query["id"].Value as string); var speakerDetails = _speakerService.FetchSpeakerDetails(ids); return(Response.AsJson(speakerDetails).WithStatusCode(HttpStatusCode.OK)); }); }
public SpeakersOverviewViewModel(ISpeakerService speakerService, INavigationService navigationService) { Title = "Speakers"; _speakerService = speakerService; _navigationService = navigationService; Speakers = new ObservableCollection <Speaker>(); Initialize(); }
public SpeakersViewModel( INavigationService navigationService, ISpeakerService speakerService, ISettingsService settingsService, IErrorRetryManager errorRetryManager) { NavigationService = navigationService; SpeakerService = speakerService; SettingsService = settingsService; ErrorRetryManager = errorRetryManager; Speakers = new ObservableCollection <Speaker>(); SessionSelected = new DelegateCommand <Session>(OnSessionSelected); }
public SpeakerProfileViewModel(IParameterViewStackService viewStackService, ISpeakerService speakerService) { _viewStackService = viewStackService; _speakerService = speakerService; this.WhenAnyValue(x => x.SpeakerId) .Subscribe(id => { Observable .Return(Unit.Default) .SelectMany(async x => { Speaker = await _speakerService.Get(SpeakerId.ToString()); return(Unit.Default); }) .Subscribe(); }); }
public SpeakerController(ISpeakerService speakerService) { _speakers = new List <Speaker>() { new Speaker { Name = "Jim" }, new Speaker { Name = "Josh" }, new Speaker { Name = "Joshua" }, new Speaker { Name = "Joseph" } }; _speakerService = speakerService; }
public SpeakerListViewModel(IParameterViewStackService viewStackService, ISpeakerService speakerService) { _viewStackService = viewStackService; _speakerService = speakerService; Refresh = ReactiveCommand.CreateFromTask(ExecuteRefresh); ItemTapped = ReactiveCommand.Create <SpeakerItemViewModel, Unit>(item => { var profile = new SpeakerDetailViewModel(_viewStackService, new SpeakerServiceMock()); _viewStackService.PushPage(profile, new NavigationParameter { { "Id", item.SpeakerId.ToString() } }).Subscribe(); return(Unit.Default); }); _isRefreshing = this.WhenAnyObservable(x => x.Refresh.IsExecuting) .ToProperty(this, x => x.IsRefreshing) .DisposeWith(Subscriptions); }
public AddSpeakers(ISpeakerService speakerService) { _speakerService = speakerService; }
public SpeakerController(ISpeakerService speakerService, ISubjectService subjectService, UserManager <IdentityUser> userManager) { _speakerService = speakerService; _subjectService = subjectService; _userManager = userManager; }
public SpeakersController(ISpeakerService speakerService, IWorkshopService workshopService) { this.speakerService = speakerService; }
public EditionsController(ISpeakerService speakerService, IWorkshopService workshopService, ITalkService talkService) { this.speakerService = speakerService; this.workshopService = workshopService; this.talkService = talkService; }
public SpeakerController(ISpeakerService speakerService, ISendMailService mailService) { this._speakerService = speakerService; this.mailService = mailService; }
public WorkshopController(IWorkShopService workShopService, ISpeakerService speakerService) { this.workShopService = workShopService; this.speakerService = speakerService; }
public SpeakerModelBinder(ISpeakerService speakerService) { this.speakerService = speakerService; }
public SpeakersController(ISpeakerService service, IMapper mapper) { this.service = service; this.mapper = mapper; }
public SpeakersTagHelper(ISpeakerService speakerService) { this.speakerService = speakerService; }
public SpeakerServiceTest() { _speakersRepositoryMock = new Mock <ISpeakersRepository>(); _speakerService = new SpeakerService(_speakersRepositoryMock.Object); }
public SpeakersController(ISpeakerService speakerService) { _speakerService = speakerService; }
public SpeakerController(ISpeakerService speakerService, ISendMailService mailService) { this.speakerService = speakerService; this.mailService = mailService; }