Skip to content

Instantly share code, notes, and snippets.

View Manu06D's full-sized avatar

Emmanuel D. Manu06D

  • France (South)
  • 23:44 (UTC +01:00)
View GitHub Profile
var services = new ServiceCollection();
Assembly[] assembliesToScan = new Assembly[]{
AppFramework.Core.AppFrameworkCore.Assembly,
Core.CarCatalogCore.Assembly,
AppFrameworkModels.Assembly
};
services.AddMediatR(assembliesToScan);
var services = new ServiceCollection();
Assembly[] assembliesToScan = new Assembly[]{
AppFramework.Core.AppFrameworkCore.Assembly,
Core.CarCatalogCore.Assembly,
AppFrameworkModels.Assembly
};
services.AddMediatR(assembliesToScan);