12 lines
377 B
C#
12 lines
377 B
C#
using Microsoft.Extensions.DependencyInjection;
|
|
using xCommons.Providers;
|
|
|
|
public static partial class XDIHelperExtension {
|
|
/// <summary>
|
|
/// Register XCommons Module Services
|
|
/// </summary>
|
|
/// <param name="services"></param>
|
|
public static void AddXCommons (this IServiceCollection services) {
|
|
services.AddSingleton<XValidationProvider> ();
|
|
}
|
|
} |