What is an equivalent method to `GetCustomAttributes` for .NETCore (Windows 8 Framework)?

前端 未结 2 1571
无人共我
无人共我 2020-12-09 01:34

I\'m putting together an app that interfaces with Stack API and have been following this tutorial (although old API version it still works). My problem is that when using t

2条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-09 02:20

    Add the System.Reflection.TypeExtensions nugget package to your project; it has GetCustomAttributes extension.

    (for VS 2017) something like this.

    
        
            4.3.0
        
    
    

提交回复
热议问题