14 lines
399 B
C#
14 lines
399 B
C#
using System.Reflection;
|
|
|
|
namespace InnovEnergy.Lib.Utils.Reflection
|
|
{
|
|
public class Parameter
|
|
{
|
|
private readonly ParameterInfo _ParameterInfo;
|
|
|
|
internal Parameter(ParameterInfo parameterInfo) => _ParameterInfo = parameterInfo;
|
|
|
|
public Type Type => _ParameterInfo.ParameterType;
|
|
public String Name => _ParameterInfo.Name ?? "<no name>";
|
|
}
|
|
} |