Сценарии

Версия 1.5 от Alexandr Fokin на 2023/05/14 09:55

 Find Types in All Assemblies
https://stackoverflow.com/questions/4692340/find-types-in-all-assemblies
 
Получение типа независимо от nullablePropertyInfo prop;
var type = Nullable.GetUnderlyingType(prop.PropertyType)
  ?? prop.PropertyType;