Ejemplo n.º 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);
        }
Ejemplo n.º 2
0
 public TouTvProvider(PresentationService presentationService, MediaValidationV1Service mediaValidationV1Service)
 {
     _presentationService = presentationService;
     _mediaValidationV1Service = mediaValidationV1Service;
 }
 public MediaValidationV2Service(IHttpClient httpClient, IJsonSerializer jsonSerializer, PresentationService presentationService)
     : base(httpClient, jsonSerializer)
 {
     _presentationService = presentationService;
 }
 public MediaValidationV2Service(IHttpClient httpClient, IJsonSerializer jsonSerializer, PresentationService presentationService)
     : base(httpClient, jsonSerializer)
 {
     _presentationService = presentationService;
 }
Ejemplo n.º 5
0
 public TouTvRestfulService(IHttpClient httpClient, IJsonSerializer jsonSerializer)
 {
     _presentationService = new PresentationService(httpClient, jsonSerializer);
 }