We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Typo
{ private readonly MessageWriter _messageWriter = new();
protected override async Task ExecuteAsync(CancellationToken stoppingToken) { while (!stoppingToken.IsCancellationRequested) { _messageWriter.Write($"Worker running at: {DateTimeOffset.Now}"); await Task.Delay(1_000, stoppingToken); } }
} issue with the code error with main.cs
https://learn.microsoft.com/en-us/dotnet/core/extensions/dependency-injection
https://github.com/dotnet/docs/blob/main/docs/core/extensions/dependency-injection.md
cc5f00d0-fb50-1229-8fa2-e66b1f45b284
7f5b5732-fc3e-6ffb-b8b8-77b5659a8015
@IEvangelist
Related Issues
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Type of issue
Typo
Description
{
private readonly MessageWriter _messageWriter = new();
}
issue with the code error with main.cs
Page URL
https://learn.microsoft.com/en-us/dotnet/core/extensions/dependency-injection
Content source URL
https://github.com/dotnet/docs/blob/main/docs/core/extensions/dependency-injection.md
Document Version Independent Id
cc5f00d0-fb50-1229-8fa2-e66b1f45b284
Platform Id
7f5b5732-fc3e-6ffb-b8b8-77b5659a8015
Article author
@IEvangelist
Metadata
Related Issues
The text was updated successfully, but these errors were encountered: