blob: 2d5363847e94c38522435422999437cec4b37e74 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
namespace CsvHelper.DocsGenerator.Infos
{
public class PropertyInfo : Info
{
public List<System.Reflection.ParameterInfo> IndexParameters { get; protected set; }
public TypeInfo Type { get; protected set; }
public System.Reflection.PropertyInfo Property { get; protected set; }
public PropertyInfo(TypeInfo type, System.Reflection.PropertyInfo propertyInfo, XElement xmlDocs)
{
Type = type;
Property = propertyInfo;
IndexParameters = propertyInfo.GetIndexParameters().ToList();
}
}
}
|