public class FooBar{
public FooBar(IInterface something){
}
}
builder.Services.AddScoped<IInterface, Implementation1>();
builder.Services.AddScoped<IInterface, Implementation2>();
public class FooBar{
public FooBar(IInterface something){
}
}
builder.Services.AddScoped<IInterface, Implementation1>();
builder.Services.AddScoped<IInterface, Implementation2>();