ArchUnitNET icon indicating copy to clipboard operation
ArchUnitNET copied to clipboard

Help with verifying extension methods on IServiceCollection

Open senal opened this issue 1 year ago • 0 comments

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.

senal avatar Jun 04 '24 11:06 senal