public MediaService( IMediaRepository <TMedia> mediaRepository, IAbpStorageFactory storageFactory) { _mediaRepository = mediaRepository; _store = storageFactory.GetStore(DefaultStoreName); }
public AbpStoreProxy(IAbpStorageFactory factory, IOptions <TOptions> options) { if (options == null) { throw new ArgumentNullException(nameof(options), "Unable to build generic Store. Did you forget to configure your options?"); } _innerStore = factory.GetStore(options.Value.Name, options.Value); }
public MediaService(IMediaRepository mediaRepository, IAbpStorageFactory storageFactory) { _mediaRepository = mediaRepository; _mediaStore = storageFactory.GetStore(HitCommerceConsts.DefaultMediaStoreName); }
public AbpStoreBase(string storeName, IAbpStorageFactory storageFactory) { _store = storageFactory.GetStore(storeName); }