Пример #1
0
 public HomeController(IServiceProvider service)
 {
     _redisMessageManage = service.GetService <RedisMessageManage>();
 }
Пример #2
0
        public ChatService(RedisMessageManage redis, IChannelManage channelManage)
        {
            _redisMessageManage = redis;

            _channelManage = channelManage;
        }