CsvParameterInfoValues Class

Describes a constructor parameter. Used by the source generator and by the reflection-based metadata.

public sealed class CsvParameterInfoValues

Constructors

NameDescription
CsvParameterInfoValues()

CsvParameterInfoValues()

  • Obsolete: Constructors of types with required members are not supported in this version of your compiler.
[Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)]
public CsvParameterInfoValues()

No documentation is available.

Properties

NameDescription
DefaultValueGets the default value of the parameter.
HasDefaultValueGets a value indicating whether the parameter has a default value, used when its column is missing.
NameGets the name of the parameter.
ParameterTypeGets the type of the parameter.
PositionGets the 0-based position of the parameter.

Gets the default value of the parameter.

public object? DefaultValue { get; init; }

Property value

object?

Gets a value indicating whether the parameter has a default value, used when its column is missing.

public bool HasDefaultValue { get; init; }

Property value

bool

Gets the name of the parameter.

public required string Name { get; init; }

Property value

string

Gets the type of the parameter.

public required Type ParameterType { get; init; }

Property value

Type

Gets the 0-based position of the parameter.

public required int Position { get; init; }

Property value

int