public interface IParameterData

assembly RefDocGen
namespace RefDocGen.CodeElements.Members.Abstract

Represents data of a method/constructor parameter.

Properties

public IReadOnlyList<IAttributeData> Attributes { get; } #
Collection of attributes applied to the parameter.
public object DefaultValue { get; } #
Default value of the parameter.
Returns DBNull.Value if the parameter has no default value. (note that this is done, because null can be declared as a default value of the parameter.
public XElement DocComment { get; } #
XML doc comment for the parameter.
public bool IsByRef { get; } #
Checks if the parameter is passed by reference.
public bool IsExtensionParameter { get; } #
Checks if the parameter is the 1st parameter of an extension method.
public bool IsInput { get; } #
Checks if the parameter is an input parameter.
public bool IsOutput { get; } #
Checks if the parameter is an output parameter.
public bool IsParamsCollection { get; } #
Checks if the parameter is a params collection.
public string Name { get; } #
Name of the parameter.
public ParameterInfo ParameterInfo { get; } #
ParameterInfo object representing the parameter.
public int Position { get; } #
Position of the parameter in the parameter list (zero based).
public ITypeNameData Type { get; } #
Type of the parameter.