public ProductIdentifyService(IProductRepository productRepository, ISecretsFetcher secretsFetcher) { _productRepository = productRepository; _predictionKey = secretsFetcher.GetCustomVisionPredictionKey; _trainingKey = secretsFetcher.GetCustomVisionTrainingKey; _projectId = new Guid(secretsFetcher.GetCustomVisionProjectId); _predictionId = secretsFetcher.GetCustomVisionPredictionId; _endpointUrl = secretsFetcher.GetCustomVisionEndpoint; }
public QueueService(ISecretsFetcher secretsFetcher) { var storageAccount = CloudStorageAccount.Parse(secretsFetcher.GetStorageConnectionString); _queueClient = storageAccount.CreateCloudQueueClient(); }
public EmailService(ISecretsFetcher secretsFetcher) { _secretsFetcher = secretsFetcher; }
public AzureStorageAccountFactory(ISecretsFetcher secretsFetcher) { _secretsFetcher = secretsFetcher; }