Table of Contents

Interface IVersionMatrixService

Namespace
Quilt4Net.Toolkit.Features.ApplicationInsights
Assembly
Quilt4Net.Toolkit.dll
public interface IVersionMatrixService

Methods

GetAsync(IApplicationInsightsContext, TimeSpan?, CancellationToken)

Get the version matrix for a workspace. Uses an in-memory cache keyed by (workspaceId, lookback).

Task<VersionMatrixView> GetAsync(IApplicationInsightsContext context, TimeSpan? lookback = null, CancellationToken cancellationToken = default)

Parameters

context IApplicationInsightsContext
lookback TimeSpan?
cancellationToken CancellationToken

Returns

Task<VersionMatrixView>

RefreshAsync(IApplicationInsightsContext, TimeSpan?, CancellationToken)

Force a fresh fetch from Application Insights, bypassing the in-memory cache.

Task<VersionMatrixView> RefreshAsync(IApplicationInsightsContext context, TimeSpan? lookback = null, CancellationToken cancellationToken = default)

Parameters

context IApplicationInsightsContext
lookback TimeSpan?
cancellationToken CancellationToken

Returns

Task<VersionMatrixView>