blob: c73913ec5f0e9cd50ea76413daee02be07896cc3 (
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
25
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
namespace CsvHelper.DocsGenerator.Infos
{
public class MethodInfo : Info
{
public System.Reflection.MethodInfo Method { get; private set; }
public List<System.Reflection.ParameterInfo> Parameters { get; private set; }
public List<Type> GenericArguments { get; private set; }
public MethodInfo(System.Reflection.MethodInfo methodInfo, XElement xmlDocs)
{
Method = methodInfo;
Parameters = methodInfo.GetParameters().ToList();
GenericArguments = methodInfo.GetGenericArguments().ToList();
}
}
}
|