我读过了“自动取款机”的抽签,其中显示,我可以找到一份所有登记类型的清单,做如下简单介绍:
var builder = new ContainerBuilder();
builder.RegisterAssemblyTypes(Assembly.GetExecutingAssembly())
.AssignableTo<IPersistedModel>();
var container = builder.Build();
var allTypes = container.Resolve<IEnumerable<IPersistedModel>>();
The problem is allTypes comes up empty.
在变幻灯片中,我可以在集装箱内看到,有7种配对型,甚至有一系列的IPersisted Model...,但并未回到正轨。
我失踪了什么?