较暗
的查询端对应项。
与ASP.NET Core配合使用
在您的ConfigureServices方法中,使用AddDarker将Darker添加到容器中。 ASP.NET Core集成由包提供。
// This method gets called by the runtime. Use this method to add services to the container.
public void ConfigureServices ( IServiceCollection services )
{
// Add Darker and some extensions.
services . AddDarker ()
. AddHandlersFromAssemblies ( typeof ( GetPeopleQueryHandler ). Ass
1