Exemple #1
0
 public static PropertyInfo GetPropertyInfoByName(IAutoviewDto autoviewDto, string propertyName)
 {
     return(autoviewDto.GetType().GetProperty(name: propertyName));
 }
Exemple #2
0
 public static PropertyInfo[] ArrayOfPropertyInfos(IAutoviewDto autoviewDto)
 {
     return(autoviewDto.GetType().GetProperties());
 }