public DeserializedDataCache(CallTreeDataCache cache, ISymbolServerArtifactRetriever symbolServerArtifactRetriever, ISourceServerAuthorizationInformationProvider sourceServerAuthorizationInformationProvider, ICacheExpirationTimeProvider cacheExpirationTimeProvider, IOptions <StackViewerSettings> stackViewerSettings) { this.cache = cache; this.symbolServerArtifactRetriever = symbolServerArtifactRetriever; this.sourceServerAuthorizationInformationProvider = sourceServerAuthorizationInformationProvider; this.cacheExpirationTimeProvider = cacheExpirationTimeProvider; this.stackViewerSettings = stackViewerSettings; }
public CallTreeDataProviderFactory(IHttpContextAccessor httpContextAccessor, ITemporaryPathProvider temporaryPathProvider, ICacheExpirationTimeProvider cacheExpirationTimeProvider, TextWriter textWriter, EtlxCache etlxCache, StackViewerSessionCache stackViewerSessionCache) { if (httpContextAccessor == null) { ThrowHelper.ThrowArgumentNullException(nameof(httpContextAccessor)); } if (temporaryPathProvider == null) { ThrowHelper.ThrowArgumentNullException(nameof(temporaryPathProvider)); } if (cacheExpirationTimeProvider == null) { ThrowHelper.ThrowArgumentNullException(nameof(cacheExpirationTimeProvider)); } if (textWriter == null) { ThrowHelper.ThrowArgumentNullException(nameof(textWriter)); } if (etlxCache == null) { ThrowHelper.ThrowArgumentNullException(nameof(etlxCache)); } if (stackViewerSessionCache == null) { ThrowHelper.ThrowArgumentNullException(nameof(stackViewerSessionCache)); } this.httpRequest = httpContextAccessor.HttpContext.Request; this.textWriter = textWriter; this.tempPath = temporaryPathProvider.Path; this.cacheExpirationTime = cacheExpirationTimeProvider.Expiration; this.etlxCache = etlxCache; this.stackViewerSessionCache = stackViewerSessionCache; }
public DeserializedDataCache(CallTreeDataCache cache, ICacheExpirationTimeProvider cacheExpirationTimeProvider, SymbolReader symbolReader) { this.cache = cache; this.cacheExpirationTimeProvider = cacheExpirationTimeProvider; this.symbolReader = symbolReader; }