Exemplo n.º 1
0
 /// <summary>
 /// Creates a new instance of the <see cref="AzFuncClient"/> class.
 /// </summary>
 /// <param name="urlSecuredService">The <see cref="UrlShortenerSecuredService"/> to request the token.</param>
 public AzFuncClient(UrlShortenerSecuredService urlSecuredService)
 {
     _urlSecuredService = urlSecuredService;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Creates a new instance of the <see cref="AzFuncClient"/> class.
 /// </summary>
 /// <param name="urlSecuredService">The <see cref="UrlShortenerSecuredService"/> to request the token.</param>
 public AzFuncClient(UrlShortenerSecuredService urlSecuredService, IConfiguration config)
 {
     _urlSecuredService = urlSecuredService;
     _configuration     = config;
 }