You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Connected.Framework/Connected.Validation/ValidationStartup.cs

15 lines
366 B

2 years ago
using Connected.Annotations;
using Microsoft.Extensions.DependencyInjection;
[assembly: MicroService(MicroServiceType.Sys)]
namespace Connected.Validation;
internal class ValidationStartup : Startup
{
protected override void OnConfigureServices(IServiceCollection services)
{
services.AddScoped(typeof(IValidationContext), typeof(ValidationContext));
}
}