ConstructorParameterEntry
NexusLabs.Needlr¶
NexusLabs.Needlr.Catalog¶
ConstructorParameterEntry Class¶
Represents a constructor parameter.
public sealed record ConstructorParameterEntry : System.IEquatable<NexusLabs.Needlr.Catalog.ConstructorParameterEntry>
Inheritance System.Object 🡒 ConstructorParameterEntry
Implements System.IEquatable<ConstructorParameterEntry>
Constructors¶
ConstructorParameterEntry(string, string, bool, string) Constructor¶
Represents a constructor parameter.
public ConstructorParameterEntry(string Name, string TypeName, bool IsKeyed=false, string? ServiceKey=null);
Parameters¶
Name System.String
The parameter name.
TypeName System.String
The fully qualified type name of the parameter.
IsKeyed System.Boolean
True if this is a keyed service parameter.
ServiceKey System.String
The service key if this is a keyed parameter.
Properties¶
ConstructorParameterEntry.IsKeyed Property¶
True if this is a keyed service parameter.
Property Value¶
ConstructorParameterEntry.Name Property¶
The parameter name.
Property Value¶
ConstructorParameterEntry.ServiceKey Property¶
The service key if this is a keyed parameter.
Property Value¶
ConstructorParameterEntry.TypeName Property¶
The fully qualified type name of the parameter.