// todo make overloads to simplify the common case

        public static IGlobalConfiguration <AzureJobStorage> UseAzureStorage(this IGlobalConfiguration configuration,
                                                                             AzureStorageOptions options)
        {
            var storage = new AzureJobStorage(options);

            return(configuration.UseStorage(storage));
        }
 public AzureStorageCleanupComponent(AzureJobStorage storage, TimeSpan checkInterval)
 {
     this._storage  = storage;
     _checkInterval = checkInterval;
 }