public static IConfigurationValidator Create(IServiceProvider services, string name)
        {
            AzureQueueOptions aqOptions = services.GetOptionsByName <AzureQueueOptions>(name);

            return(new AzureQueueOptionsValidator(aqOptions, name));
        }
 private AzureQueueOptionsValidator(AzureQueueOptions options, string name)
 {
     this.options = options;
     this.name    = name;
 }