/// <summary> /// Initializes a new instance of the <see cref="AmsV2CallbackFunction"/> class. /// </summary> /// <param name="logger">logger.</param> /// <param name="mediaServicesV2Encoder">mediaServicesV2Encoder.</param> public AmsV2CallbackFunction( ILogger <AmsV2CallbackFunction> logger, IMediaServicesV2Encoder mediaServicesV2Encoder) { _logger = logger; _mediaServicesV2Encoder = mediaServicesV2Encoder; }
/// <summary> /// Initializes a new instance of the <see cref="MediaServicesV2EncodeCreateHandler"/> class. /// </summary> /// <param name="log">log.</param> /// <param name="eventPublisher">eventPublisher.</param> /// <param name="mediaServicesV2Encoder">mediaServicesV2Encoder.</param> public MediaServicesV2EncodeCreateHandler( IObjectLogger <MediaServicesV2EncodeCreateHandler> log, IEventGridPublisher eventPublisher, IMediaServicesV2Encoder mediaServicesV2Encoder) : base( log, eventPublisher, HandlerId, AcceptedEvents) { _mediaServicesV2Encoder = mediaServicesV2Encoder; }
/// <summary> /// Initializes a new instance of the <see cref="ConsoleService"/> class. /// </summary> /// <param name="mediaServicesV2Encoder">Encoder object.</param> /// <param name="mediaServicesV2RestSharp">AMSv2 rest shap object.</param> /// <param name="logger">Logger.</param> public ConsoleService(IMediaServicesV2Encoder mediaServicesV2Encoder, IMediaServicesV2RestSharp mediaServicesV2RestSharp, ILogger <ConsoleService> logger) { _mediaServicesV2Encoder = mediaServicesV2Encoder; _mediaServicesV2RestSharp = mediaServicesV2RestSharp; _logger = logger; }
/// <summary> /// Initializes a new instance of the <see cref="StartMediaEncoderStandardJob"/> class. /// </summary> /// <param name="mediaServicesV2Encoder">Manages the Azure Media Services Encoder business logic.</param> public StartMediaEncoderStandardJob( IMediaServicesV2Encoder mediaServicesV2Encoder) { _mediaServicesV2Encoder = mediaServicesV2Encoder; }