Пример #1
0
 public Functions(
     IUserAuthenticationService userAuthenticationService,
     IBlobRepository blobRepository,
     IEventGridSubscriberService eventGridSubscriberService,
     IEventGridPublisherService eventGridPublisherService,
     IAudioTranscriptionService audioTranscriptionService)
 {
     this.UserAuthenticationService  = userAuthenticationService;
     this.BlobRepository             = blobRepository;
     this.EventGridPublisherService  = eventGridPublisherService;
     this.EventGridSubscriberService = eventGridSubscriberService;
     this.AudioTranscriptionService  = audioTranscriptionService;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AudioService"/> class.
 /// </summary>
 /// <param name="blobRepository">The interface to use to interact with the blob repository.</param>
 /// <param name="audioTranscriptionService">The service to use for transcribing the audio files.</param>
 /// <param name="eventGridPublisherService">The service to use for publishing the events.</param>
 public AudioService(IBlobRepository blobRepository, IAudioTranscriptionService audioTranscriptionService, IEventGridPublisherService eventGridPublisherService)
 {
     this.blobRepository            = blobRepository;
     this.audioTranscriptionService = audioTranscriptionService;
     this.eventGridPublisherService = eventGridPublisherService;
 }