Skip to content

Commit

Permalink
extension fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dhindrik committed Oct 29, 2024
1 parent 7377adc commit e258f82
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion TinyInsights/InsightsExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<IInsightsProvider, IServiceProvider>? configureProvider = null)
{
return UseTinyInsights(appBuilder, applicationInsightsConnectionString, null, configureProvider);
}

public static MauiAppBuilder UseTinyInsights(this MauiAppBuilder appBuilder, string? applicationInsightsConnectionString = null, Action<IInsightsProvider>? configureProvider = null)
Expand Down

0 comments on commit e258f82

Please sign in to comment.