Пример #1
0
        public TouTvChannel(ILogManager logManager, IHttpClient httpClient, IJsonSerializer jsonSerializer)
        {
            _logger = logManager.GetLogger(GetType().Name);

            var presentationService = new PresentationService(httpClient, jsonSerializer);
            var mediaValidationV1Service = new MediaValidationV1Service(httpClient, jsonSerializer);
            _touTvProvider = new TouTvProvider(presentationService, mediaValidationV1Service);
        }
Пример #2
0
 public TouTvProvider(PresentationService presentationService, MediaValidationV1Service mediaValidationV1Service)
 {
     _presentationService = presentationService;
     _mediaValidationV1Service = mediaValidationV1Service;
 }