Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help with verifying extension methods on IServiceCollection #268

Open
senal opened this issue Jun 4, 2024 · 0 comments
Open

Help with verifying extension methods on IServiceCollection #268

senal opened this issue Jun 4, 2024 · 0 comments

Comments

@senal
Copy link

senal commented Jun 4, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant