Open sandboxFocus

Interface IParameterBuilder

Allows to complete the construction of a parameter that has been created using e.g. AddParameter(string, IType, RefKind, TypedConstant?).

Namespace: Metalama.Framework.Code.DeclarationBuilders
Assembly: Metalama.Framework.dll
Syntax
public interface IParameterBuilder : IParameter, INamedDeclaration, IExpression, IHasType, IDeclarationBuilder, IDeclaration, IDisplayable, IDiagnosticLocation, ICompilationElement, IMeasurable, IEquatable<IDeclaration>

Properties

Name Description
DefaultValue
IsParams

Gets or sets a value indicating whether the parameter has the params modifier.

IsThis

Gets or sets a value indicating whether the parameter has the this modifier, meaning that the containing method is an extension method.

Name

Gets or sets of the parameter name.

RefKind

Gets or sets the parameter ref kind.

Type

Gets or sets the parameter type.

Extension Methods