Class DataModelConstructorInfoSlim
A slim representation of a constructor that contains information about mapping attributes on the constructor parameters.
Implements
System.IEquatable<MemberInfoSlim>
Inherited Members
Namespace: Nuqleon.DataModel.CompilerServices.Bonsai
Assembly: Nuqleon.DataModel.CompilerServices.dll
Syntax
public sealed class DataModelConstructorInfoSlim : ConstructorInfoSlim, IEquatable<MemberInfoSlim>
Constructors
DataModelConstructorInfoSlim(TypeSlim, ReadOnlyCollection<TypeSlim>, ReadOnlyCollection<String>)
Initializes the slim representation of the constructor.
Declaration
public DataModelConstructorInfoSlim(TypeSlim declaringType, ReadOnlyCollection<TypeSlim> parameterTypes, ReadOnlyCollection<string> parameterMappings)
Parameters
Type | Name | Description |
---|---|---|
TypeSlim | declaringType | The declaring type. |
System.Collections.ObjectModel.ReadOnlyCollection<TypeSlim> | parameterTypes | The parameter types. |
System.Collections.ObjectModel.ReadOnlyCollection<System.String> | parameterMappings | The parameter mappings. |
Properties
ParameterMappings
Gets the ordered list of parameter mappings used on the constructor.
Declaration
public ReadOnlyCollection<string> ParameterMappings { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ReadOnlyCollection<System.String> |
Implements
System.IEquatable<>