blob: 3a00b195b409b66974dd5f6b11ec225b1daed04e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
namespace CsvHelper.DocsGenerator.Infos
{
public class ConstructorInfo : Info
{
public System.Reflection.ConstructorInfo Constructor { get; private set; }
public List<System.Reflection.ParameterInfo> Parameters { get; private set; }
public ConstructorInfo(System.Reflection.ConstructorInfo constructorInfo, XElement xmlDocs)
{
Constructor = constructorInfo;
Parameters = constructorInfo.GetParameters().ToList();
}
}
}
|