asp.netコアにasp.netアプリケーションを移植しようとしています。このような私のUnitOfWorkの実装では、プロパティ注入(ninjectを使用)があります。Asp.Netコアのプロパティ注入
[Inject]
public IOrderRepository OrderRepository { get; set; }
[Inject]
public ICustomerRepository CustomerRepository { get; set; }
.netコアのDIでのビルドを使用して同じ機能を実現する方法はありますか?また、慣習に基づくバインディングを使用することは可能ですか?
関連:https://stackoverflow.com/questions/39849142/when-to-use-property-injection – Steven