public static IGlobalConfiguration <ObjectRepositoryStorage> UseHangfireStorage( [NotNull] this IGlobalConfiguration configuration, ObjectRepositoryBase objectRepository) { if (configuration == null) { throw new ArgumentNullException(nameof(configuration)); } var storage = new ObjectRepositoryStorage(objectRepository); return(configuration.UseStorage(storage)); }
public ObjectRepositoryWriteOnlyTransaction(ObjectRepositoryStorage storage) { _storage = storage ?? throw new ArgumentNullException(nameof(storage)); }
public ExpirationManager(ObjectRepositoryStorage storage) { _storage = storage ?? throw new ArgumentNullException(nameof(storage)); }
public ObjectRepositoryMonitoringApi([NotNull] ObjectRepositoryStorage storage) { _storage = storage; _repository = storage.ObjectRepository; }
public ObjectRepositoryConnection(ObjectRepositoryStorage storage) { _storage = storage ?? throw new ArgumentNullException(nameof(storage)); }