Skip to content

Bump Microsoft.Extensions.DependencyInjection from 6.0.1 to 8.0.0 #231

Bump Microsoft.Extensions.DependencyInjection from 6.0.1 to 8.0.0

Bump Microsoft.Extensions.DependencyInjection from 6.0.1 to 8.0.0 #231

Triggered via pull request November 15, 2023 04:09
Status Success
Total duration 44s
Artifacts

build_examples.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: Telegram.Bot.Examples.WebHook/Services/ConfigureWebhook.cs#L19
In externally visible method 'ConfigureWebhook.ConfigureWebhook(ILogger<ConfigureWebhook> logger, IServiceProvider serviceProvider, IOptions<BotConfiguration> botOptions)', validate parameter 'botOptions' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
build: Telegram.Bot.Examples.WebHook/Services/UpdateHandlers.cs#L32
For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogInformation(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848)
build: Telegram.Bot.Examples.WebHook/Controllers/BotController.cs#L17
In externally visible method 'Task<IActionResult> BotController.Post(Update update, UpdateHandlers handleUpdateService, CancellationToken cancellationToken)', validate parameter 'handleUpdateService' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
build: Telegram.Bot.Examples.WebHook/Services/ConfigureWebhook.cs#L33
For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogInformation(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848)
build: Telegram.Bot.Examples.WebHook/Services/ConfigureWebhook.cs#L47
For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogInformation(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848)
build: Telegram.Bot.Examples.WebHook/Services/UpdateHandlers.cs#L59
For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogInformation(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848)
build: Telegram.Bot.Examples.WebHook/Services/UpdateHandlers.cs#L74
For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogInformation(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848)
build: Telegram.Bot.Examples.WebHook/Services/UpdateHandlers.cs#L207
For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogInformation(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848)
build: Telegram.Bot.Examples.WebHook/Services/UpdateHandlers.cs#L224
For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogInformation(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848)
build: Telegram.Bot.Examples.WebHook/Services/UpdateHandlers.cs#L244
For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogInformation(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848)