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