終於知道什麼狀況下須要實現.NET Core中的IOptions接口

自從接觸 IOptions 以後,一直糾結這樣的問題:本身定義的 Options 要不要實現 IOptions 接口。html 微軟有的項目中實現了,好比 Caching 中的 MemoryCacheOptions :git public class MemoryCacheOptions : IOptions<MemoryCacheOptions> { public ISystemCloc
相關文章
相關標籤/搜索