public StorageFile(JF.Services.IServiceProvider serviceProvider) { if (serviceProvider != null) { _storage = serviceProvider.Resolve <JF.Runtime.Caching.ICache>(); } }
public StorageBucket(JF.Runtime.Caching.ICache storage) { if (storage == null) { throw new ArgumentNullException("storage"); } _storage = storage; }