public CategoriesService(ICategoriesRepository categoriesRepository, IImageSearchService imageSearchService, ISynonymService synonymService, IEventGridPublisherService eventGridPublisher)
 {
     CategoriesRepository = categoriesRepository;
     ImageSearchService   = imageSearchService;
     SynonymService       = synonymService;
     EventGridPublisher   = eventGridPublisher;
 }
Beispiel #2
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;
 }
Beispiel #3
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;
 }
Beispiel #4
0
 public TextService(ITextRepository textRepository, IEventGridPublisherService eventGridPublisher)
 {
     TextRepository     = textRepository;
     EventGridPublisher = eventGridPublisher;
 }