Skip to content

Class ParameterDef

Namespace: Apogee.Reflection
Assembly: Apogee.Reflection.dll

public sealed record ParameterDef : IEquatable<ParameterDef>

Inheritance

object ← ParameterDef

Implements

IEquatable<ParameterDef>

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

ParameterDef(string, TypeRef, bool)

public ParameterDef(string Name, TypeRef Type, bool Optional = false)

Parameters

Name string

Type TypeRef

Optional bool

Properties

Name

public string Name { get; init; }

Property Value

string

Optional

public bool Optional { get; init; }

Property Value

bool

Type

public TypeRef Type { get; init; }

Property Value

TypeRef