Class ConstructorSelectionDiagnosticsEntry
Describes a constructor selection recorded in ConstructorHistory.
Implements
Inherited Members
Namespace: FastMoq.Models
Assembly: FastMoq.Core.dll
Syntax
public sealed record ConstructorSelectionDiagnosticsEntry : IEquatable<ConstructorSelectionDiagnosticsEntry>
Constructors
ConstructorSelectionDiagnosticsEntry(string, string, IReadOnlyList<string>)
Describes a constructor selection recorded in ConstructorHistory.
Declaration
public ConstructorSelectionDiagnosticsEntry(string RequestedType, string ConstructorSignature, IReadOnlyList<string> ArgumentSummaries)
Parameters
| Type | Name | Description |
|---|---|---|
| string | RequestedType | The requested type that was being created. |
| string | ConstructorSignature | The selected constructor signature. |
| IReadOnlyList<string> | ArgumentSummaries | A summary of the supplied or resolved constructor arguments. |
Properties
ArgumentSummaries
A summary of the supplied or resolved constructor arguments.
Declaration
public IReadOnlyList<string> ArgumentSummaries { get; init; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<string> |
ConstructorSignature
The selected constructor signature.
Declaration
public string ConstructorSignature { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
RequestedType
The requested type that was being created.
Declaration
public string RequestedType { get; init; }
Property Value
| Type | Description |
|---|---|
| string |