15 lines
		
	
	
		
			437 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			437 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using Microsoft.Extensions.DependencyInjection;
 | |
| using StellaOps.Vexer.Core;
 | |
| 
 | |
| namespace StellaOps.Vexer.Formats.OpenVEX;
 | |
| 
 | |
| public static class OpenVexFormatsServiceCollectionExtensions
 | |
| {
 | |
|     public static IServiceCollection AddOpenVexNormalizer(this IServiceCollection services)
 | |
|     {
 | |
|         ArgumentNullException.ThrowIfNull(services);
 | |
|         services.AddSingleton<IVexNormalizer, OpenVexNormalizer>();
 | |
|         return services;
 | |
|     }
 | |
| }
 |