internal PartialDiscoveryResultsContainer( IPartialDiscoveryResultsPersistence persistenceStore, Func <DateTime> dateTimeProvider, TimeSpan expirationCheckFrequency) { if (persistenceStore == null) { throw new ArgumentNullException(nameof(persistenceStore)); } if (dateTimeProvider == null) { throw new ArgumentNullException(nameof(dateTimeProvider)); } this._persistenceStore = persistenceStore; this._dateTimeProvider = dateTimeProvider; this._resultsByMainJobId = new Dictionary <Guid, List <PartialDiscoveryResultsContainer.PartialResult> >(); this._resultsByOwnJobId = new Dictionary <Guid, PartialDiscoveryResultsContainer.PartialResult>(); this._mainResultsReadyForComplete = new HashSet <Guid>(); this._expirationCleanupTimer = new Timer((TimerCallback)(x => this.RunExpirationCheck()), (object)null, expirationCheckFrequency, expirationCheckFrequency); }
// Token: 0x06000BCE RID: 3022 RVA: 0x000498F8 File Offset: 0x00047AF8 public PartialResult(Guid jobId, Guid mainJobId, SortedDictionary <int, List <IDiscoveryPlugin> > orderedPlugins, JobState jobState, int?profileId, IPartialDiscoveryResultsPersistence persistenceStore, DateTime expiration) { if (persistenceStore == null) { throw new ArgumentNullException("persistenceStore"); } this._persistenceStore = persistenceStore; this.JobId = jobId; this.MainJobId = mainJobId; this.OrderedPlugins = orderedPlugins; this.JobState = jobState; this.ProfileId = profileId; this.Expiration = expiration; }
// Token: 0x06000BCD RID: 3021 RVA: 0x000498D4 File Offset: 0x00047AD4 public PartialResult(Guid jobId, Guid mainJobId, IPartialDiscoveryResultsPersistence persistenceStore, DateTime expiration) : this(jobId, mainJobId, null, 7, null, persistenceStore, expiration) { }