Skip to content

Commit 1b5ca26

Browse files
committed
[r] using
1 parent 64ffdbd commit 1b5ca26

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

  • src/Examples/Simplify.Scheduler.SimpleApp

src/Examples/Simplify.Scheduler.SimpleApp/Program.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,6 @@
2424
return;
2525

2626
// Testing without scheduler
27-
using (var scope = DIContainer.Current.BeginLifetimeScope())
28-
scope.Resolver.Resolve<PeriodicalProcessor>().Run();
27+
28+
using var scope = DIContainer.Current.BeginLifetimeScope();
29+
scope.Resolver.Resolve<PeriodicalProcessor>().Run();

0 commit comments

Comments
 (0)