/// <summary>
 /// Initializes a new instance of the <see cref="WorkerApiFunctions"/> class.
 /// </summary>
 /// <param name="categoriesService">The categories services to use.</param>
 /// <param name="userAuthentication">The user authentication service to use.</param>
 /// <param name="eventGridSubscriberService">The event grid subcriber service to use.</param>
 public WorkerApiFunctions(
     ICategoriesService categoriesService,
     IUserAuthenticationService userAuthentication,
     IEventGridSubscriberService eventGridSubscriberService)
 {
     this.CategoriesService          = categoriesService;
     this.UserAuthenticationService  = userAuthentication;
     this.EventGridSubscriberService = eventGridSubscriberService;
 }
Esempio n. 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;
 }