Skip to content

Update README.md

Update README.md #193

Triggered via pull request October 3, 2023 07:40
Status Success
Total duration 53s
Artifacts

build_examples.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
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/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)
build: Telegram.Bot.Examples.WebHook/Services/UpdateHandlers.cs#L260
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#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/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)