From e258f8294e34d50d90edeec1d95b767107367b79 Mon Sep 17 00:00:00 2001 From: Daniel Hindrikes Date: Tue, 29 Oct 2024 15:24:20 +0100 Subject: [PATCH] extension fix --- TinyInsights/InsightsExtension.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/TinyInsights/InsightsExtension.cs b/TinyInsights/InsightsExtension.cs index 686227a..05f1118 100644 --- a/TinyInsights/InsightsExtension.cs +++ b/TinyInsights/InsightsExtension.cs @@ -13,7 +13,12 @@ public static MauiAppBuilder UseTinyInsights(this MauiAppBuilder appBuilder) public static MauiAppBuilder UseTinyInsights(this MauiAppBuilder appBuilder, string applicationInsightsConnectionString) { - return UseTinyInsights(appBuilder, applicationInsightsConnectionString, null); + return UseTinyInsights(appBuilder, applicationInsightsConnectionString, null, null); + } + + public static MauiAppBuilder UseTinyInsights(this MauiAppBuilder appBuilder, string? applicationInsightsConnectionString = null, Action? configureProvider = null) + { + return UseTinyInsights(appBuilder, applicationInsightsConnectionString, null, configureProvider); } public static MauiAppBuilder UseTinyInsights(this MauiAppBuilder appBuilder, string? applicationInsightsConnectionString = null, Action? configureProvider = null)