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.
Hi,
Just want to know whether it's possible to verify any given extension methods are being called on
IServiceColletion
in theProgram.cs
file? e.g in the Program.csI need to verify the extension method
AddAppEssentials()
has been added.