public ChirpPostController(IChirpRepository a_repository, ILogger <ChirpPostController> a_logger, IConnectionManager a_connectionManager, UserManager <ChirpUser> a_userManager) { m_repository = a_repository; m_logger = a_logger; m_connectionManager = a_connectionManager; m_userManager = a_userManager; }
public ChirpPostController(IChirpRepository a_repository, ILogger<ChirpPostController> a_logger, IConnectionManager a_connectionManager, UserManager<ChirpUser> a_userManager) { m_repository = a_repository; m_logger = a_logger; m_connectionManager = a_connectionManager; m_userManager = a_userManager; }
public ChirpControllerFactory(IChirpRepository chirpRepository) { if (chirpRepository == null) { throw new ArgumentNullException("documentStore"); } this._controllerMap = new Dictionary<string, Func<RequestContext, IController>>(); this._controllerMap["Home"] = context => new HomeController(chirpRepository); this._controllerMap["Administration"] = context => new AdministrationController(chirpRepository); }
public ChirpRepositoryService(IChirpRepository repostiory) { _repository = repostiory; }
public AdministrationController(IChirpRepository chirpRepository) { _chirpRepository = chirpRepository; }