Пример #1
0
        public async Task <StorageService> ConvertAsync(StorageServiceAttribute input, CancellationToken cancellationToken)
        {
            await StorageService.Instance.InitializeAsync(
                input.KeyVaultEndpoint,
                input.ConnectionStringName).ConfigureAwait(false);

            return(StorageService.Instance);
        }
Пример #2
0
        public async Task <StorageService> ConvertAsync(StorageServiceAttribute input, CancellationToken cancellationToken)
        {
            string keyVaultEndpoint = nameResolver.Resolve("KeyVaultEndpoint");

            await StorageService.Instance.InitializeAsync(keyVaultEndpoint).ConfigureAwait(false);

            return(StorageService.Instance);
        }