In This Article

IParameterDefinition Interface

Provides the base requirements of a parameter definition.

public interface IParameterDefinition : IReflectionDefinition

Properties

IsDictionary

Gets whether this is a dictionary parameter.

bool IsDictionary { get; }

Property Value

bool:

true if this is a dictionary parameter; otherwise, false.

IsOptional

Gets whether this is an optional parameter.

bool IsOptional { get; }

Property Value

bool:

true if this is an optional parameter; otherwise, false.

IsTuple

Gets whether this is a tuple parameter.

bool IsTuple { get; }

Property Value

bool:

true if this is a tuple parameter; otherwise, false.

Type

Gets a ITypeDefinition indicating the parameter type, if known.

ITypeDefinition Type { get; }

Property Value

ITypeDefinition:

A ITypeDefinition indicating the parameter type, if known.

TypeExpressionTextRange

Gets the parameter type expression TextRange.

TextRange TypeExpressionTextRange { get; }

Property Value

TextRange:

The parameter type expression TextRange.

Inherited Members