AddSingleton <ICachingRepository, MyRepository>();. But what happens if a class implements multiple interfaces? Registering a single ...
確定! 回上一頁