ArchUnitNET
ArchUnitNET copied to clipboard
Help with verifying extension methods on IServiceCollection
Hi,
Just want to know whether it's possible to verify any given extension methods are being called on IServiceColletion in the Program.cs file?
e.g in the Program.cs
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddAppEssentials();
I need to verify the extension method AddAppEssentials() has been added.