Skip to content

Commit

Permalink
Change explicit type to var in host creation
Browse files Browse the repository at this point in the history
The explicit type IHost used in the creation of the host in Program.cs has been changed to implicit type 'var'. This simplifies the code and aids readability without any loss of clarity or efficiency.
  • Loading branch information
JezhikLaas committed Dec 12, 2023
1 parent 31dc9cc commit da5ae14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Quartz.Impl.RavenStore.Example/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Quartz.Impl.RavenJobStore;
using Quartz.Impl.RavenStore.Example;

IHost host = Host.CreateDefaultBuilder(args)
var host = Host.CreateDefaultBuilder(args)
.ConfigureServices(services =>
{
services.AddHostedService<Worker>();
Expand Down

0 comments on commit da5ae14

Please sign in to comment.