public MessagesProcessor( IParticipantsService participantsService, IChatsService chatsService) { this.participantsService = participantsService; this.chatsService = chatsService; }
public ParticipantsAuthenticationService(ILogger <ParticipantsAuthenticationService> logger, IParticipantsService participantsService, AuthorisationStore authorisationStore) { _logger = logger; _participantsService = participantsService; _authorisationStore = authorisationStore; }
protected BaseCommand( ChatMessage commandMessage, IParticipantsService participantsService) { Message = commandMessage; ParticipantsService = participantsService; }
public PingCommand( ChatMessage commandMessage, IParticipantsService participantsService, IChatsService chatsService) : base(commandMessage, participantsService) { this.chatsService = chatsService; }
public QuestionnaireController(ILogger <QuestionnaireController> logger, IParticipantsAuthenticationService participantsAuthenticationService, IParticipantsService participantsService) { _logger = logger; _participantsAuthenticationService = participantsAuthenticationService; _participantsService = participantsService; }
public LoginController(ILogger <AlexaController> logger, IParticipantsAuthenticationService participantsAuthenticationService, IParticipantsService participantsService) { _logger = logger; _participantsAuthenticationService = participantsAuthenticationService; _participantsService = participantsService; }
public AlexaController(ILogger <AlexaController> logger, IConfiguration configuration, IParticipantsService participantsService, IParticipantsAuthenticationService participantsAuthenticationService) { _logger = logger; _configuration = configuration; _participantsService = participantsService; _participantsAuthenticationService = participantsAuthenticationService; }
public static string Replace(IParticipantsService participantsService, string responseStr) { if (responseStr.Contains("{{participants}}")) { string participantsHTML = HTMLView(participantsService); responseStr = responseStr.Replace("{{participants}}", participantsHTML); } return(responseStr); }
public static string HTMLView(IParticipantsService participantsService) { string HTML = ""; List <Participant> listParticipants = participantsService.ListAttendent(); foreach (Participant p in listParticipants) { HTML = HTML + "<li>" + p.Name + "</li>"; } return(HTML); }
public ParticipantsServiceTests() { var unitOfWorkMock = new Mock <IUnitOfWork>(); var participantsUpdatedMock = new Mock <IParticipantsUpdated>(); _eventRepositoryMock = new Mock <IRepository <Event> >(); _participantRepositoryMock = new Mock <IRepository <Participant> >(); _accountsServiceMock = new Mock <IAccountsService>(); unitOfWorkMock.Setup(x => x.Events).Returns(_eventRepositoryMock.Object); unitOfWorkMock.Setup(x => x.Participants).Returns(_participantRepositoryMock.Object); _participantsService = new ParticipantsService(participantsUpdatedMock.Object, unitOfWorkMock.Object, _accountsServiceMock.Object); }
public Server(string URI) { ReadSettings(); container.Register(); participantsService = container.Resolve(typeof(IParticipantsService)) as IParticipantsService; logger = container.Resolve(typeof(ILogger)) as ILogger; listener = new HttpListener(); listener.Prefixes.Add(URI); try { listener.Start(); } catch (Exception ex) { Console.WriteLine(ex.Message); } }
public GetParticipantsCountCommand( ChatMessage commandMessage, IParticipantsService participantsService) : base(commandMessage, participantsService) { }
public ParticipantsController(IParticipantsService participantsService, ILogger logger, DateTime dateModificat) : base(participantsService, logger) { DateModificat = dateModificat; }
public IndexController(IParticipantsService participantsService, ILogger logger) : base(participantsService, logger) { }
public PartyParticipantViewModel(IParticipantsService participantService, IPartiesService partiesService, int partyId) { Party = partiesService.List().SingleOrDefault(x => x.Id == partyId); Participants = participantService.ListAttended(partyId); }
protected BaseController(IParticipantsService participantsService, ILogger logger) { ParticipantsService = participantsService; Logger = logger; ServerDirectory = Program.serverDirectory; }
public ParticipantListPageModel(IParticipantsService participantsService) { this._participantsService = participantsService; }
public VoteController(IParticipantsService service, ILogger logger) : base(logger) { Service = service; }
public NewGameCommand( ChatMessage commandMessage, IParticipantsService participantsService) : base(commandMessage, participantsService) { }
public TransactionsService(IParticipantsService participantsService) { _participantsService = participantsService; }
public SetParticipantsGroupStateCommand( ChatMessage commandMessage, IParticipantsService participantsService) : base(commandMessage, participantsService) { }
public ParticipantsController(IParticipantsService service, ILogger logger) : base(service, logger) { }
public HomeController(IParticipantsService participantsService) { _participantsService = participantsService; }
public PartiesService(IPartiesRepository repository, IParticipantsService participantService) { Repository = repository; ParticipantService = participantService; }
public PartyController(IParticipantsService participantsService, IPartiesService partiesService) { _partiesService = partiesService; _participantsService = participantsService; }
protected BaseController(IParticipantsService service, ILogger logger) { Service = service; Logger = logger; }
public ParticipantsController(IParticipantsService service, ILogger logger) : base(logger) { Service = service; Logger = logger; }
public ParticipantsController(IParticipantsService service, ILogger logger) { _service = (ParticipantsService)service; _logger = (Logger)logger; }
public ParticipantsController(IParticipantsService participantsService) { this._participantsService = participantsService; }