Skip to content

Help with verifying extension methods on IServiceCollection #141

@senal

Description

@senal

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions