InterceptedServiceCatalogEntry
NexusLabs.Needlr¶
NexusLabs.Needlr.Catalog¶
InterceptedServiceCatalogEntry Class¶
Represents an intercepted service discovered at compile time.
public sealed record InterceptedServiceCatalogEntry : System.IEquatable<NexusLabs.Needlr.Catalog.InterceptedServiceCatalogEntry>
Inheritance System.Object 🡒 InterceptedServiceCatalogEntry
Implements System.IEquatable<InterceptedServiceCatalogEntry>
Constructors¶
InterceptedServiceCatalogEntry(string, string, string, ServiceCatalogLifetime, IReadOnlyList<string>, IReadOnlyList<string>, string) Constructor¶
Represents an intercepted service discovered at compile time.
public InterceptedServiceCatalogEntry(string TypeName, string ShortTypeName, string AssemblyName, NexusLabs.Needlr.Catalog.ServiceCatalogLifetime Lifetime, System.Collections.Generic.IReadOnlyList<string> Interfaces, System.Collections.Generic.IReadOnlyList<string> InterceptorTypeNames, string? SourceFilePath=null);
Parameters¶
TypeName System.String
The fully qualified name of the intercepted service type.
ShortTypeName System.String
The short name of the intercepted service type (without namespace).
AssemblyName System.String
The assembly name where this type is defined.
Lifetime ServiceCatalogLifetime
The service lifetime (Singleton, Scoped, Transient).
Interfaces System.Collections.Generic.IReadOnlyList<System.String>
The interfaces this type is registered as.
InterceptorTypeNames System.Collections.Generic.IReadOnlyList<System.String>
The interceptor type names applied to this service, in order.
SourceFilePath System.String
Source file path where the type is defined, if available.
Properties¶
InterceptedServiceCatalogEntry.AssemblyName Property¶
The assembly name where this type is defined.
Property Value¶
InterceptedServiceCatalogEntry.InterceptorTypeNames Property¶
The interceptor type names applied to this service, in order.
Property Value¶
System.Collections.Generic.IReadOnlyList<System.String>
InterceptedServiceCatalogEntry.Interfaces Property¶
The interfaces this type is registered as.
Property Value¶
System.Collections.Generic.IReadOnlyList<System.String>
InterceptedServiceCatalogEntry.Lifetime Property¶
The service lifetime (Singleton, Scoped, Transient).
Property Value¶
InterceptedServiceCatalogEntry.ShortTypeName Property¶
The short name of the intercepted service type (without namespace).
Property Value¶
InterceptedServiceCatalogEntry.SourceFilePath Property¶
Source file path where the type is defined, if available.
Property Value¶
InterceptedServiceCatalogEntry.TypeName Property¶
The fully qualified name of the intercepted service type.