IParameter Interface

Namespace
Kampute.DocToolkit.Metadata
Assembly
  • Kampute.DocToolkit.dll

Definition

Defines a contract for accessing parameter metadata.
public interface IParameter : IWithCustomAttributes, IWithCustomModifiers, IMetadataAdapter<ParameterInfo>
Extends
Implemented by

Properties

DefaultValueGets the default value of the parameter.
HasDefaultValueGets a value indicating whether the parameter has a default value.
IsByRefGets a value indicating whether the parameter is passed by reference.
IsOptionalGets a value indicating whether the parameter is optional.
IsParameterArrayGets a value indicating whether the parameter is a parameter array.
IsReturnParameterGets a value indicating whether the parameter is a return parameter.
MemberGets the member that this parameter belongs to.
NameGets the name of the parameter.
PositionGets the position of the parameter in the parameter list.
ReferenceKindGets the reference type of the parameter if it is passed by reference.
TypeGets the type of the parameter.

Methods

IsSatisfiableBy(IParameter)Determines whether the specified parameter can be used in place of the current parameter.