In This Article

IParameterDefinition Interface

Provides the base requirements of a parameter definition.

public interface IParameterDefinition : IReflectionDefinition

Properties

DeclaringMember

The ITypeMemberDefinition representing the type member that declares the current parameter.

ITypeMemberDefinition? DeclaringMember { get; }

Property Value

ITypeMemberDefinition

IsByReference

Indicates whether this is a pass by-reference parameter.

bool IsByReference { get; }

Property Value

bool

IsDynamicType

Indicates whether the parameter type is a dynamic type.

bool IsDynamicType { get; }

Property Value

bool

IsExtension

Indicates whether this is the first parameter to an extension method.

bool IsExtension { get; }

Property Value

bool

IsOptional

Indicates whether this is an optional parameter.

bool IsOptional { get; }

Property Value

bool

IsOutput

Indicates whether this is an output parameter.

bool IsOutput { get; }

Property Value

bool

IsParameterArray

Indicates whether this is a parameter array.

bool IsParameterArray { get; }

Property Value

bool

SourceFileLocation

The source file location that contain the parameter's declaration.

ISourceFileLocation? SourceFileLocation { get; }

Property Value

ISourceFileLocation

Remarks

This property only knows the source file location for parameter definitions loaded from code.

Type

An ITypeReference for the parameter type.

ITypeReference? Type { get; }

Property Value

ITypeReference

Inherited Members

Extension Methods