21 lines
		
	
	
		
			570 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			570 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using GerstITS.Examples.Jobs.SayHelloWorld.Configurations;
 | |
| using GerstITS.Examples.Jobs.SayHelloWorld.Jobs;
 | |
| using GerstITS.IoC;
 | |
| using GerstITS.Job.Scheduling;
 | |
| using Microsoft.Extensions.DependencyInjection;
 | |
| 
 | |
| namespace GerstITS.Examples.Jobs.SayHelloWorld
 | |
| {
 | |
|     public sealed class Module : IIoCModule<IServiceCollection>
 | |
|     {
 | |
|         #region IIoCModule
 | |
| 
 | |
|         public void RegisterComponents(IServiceCollection container)
 | |
|         {
 | |
|             container.RegisterJob<SayHelloWorldJob, SayHelloWorldJobConfiguration>();
 | |
|         } 
 | |
|         
 | |
|         #endregion
 | |
|     }
 | |
| }
 |