Skip to content

Commit

Permalink
fixed readme
Browse files Browse the repository at this point in the history
  • Loading branch information
GeeWee committed Oct 1, 2020
1 parent 62d7ea0 commit 17d6f56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ However BackgroundServices fails silently if an uncaught error occurs.

This example will not throw an error, but simply fail silently.
```csharp
public class YieldingAndThenCrashingCriticalBackgroundService: CriticalBackgroundService
public class YieldingAndThenCrashingCriticalBackgroundService: BackgroundService
{
protected override async Task ExecuteAsync(CancellationToken stoppingToken)
{
Expand Down Expand Up @@ -57,7 +57,7 @@ You can use it like this:
Inherit from the CriticalBackgroundService

```csharp
public class YieldingAndThenCrashingBackgroundService: BackgroundService
public class YieldingAndThenCrashingBackgroundService: CriticalBackgroundService
{
protected override async Task ExecuteAsync(CancellationToken stoppingToken)
{
Expand Down

0 comments on commit 17d6f56

Please sign in to comment.