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)