Skip to content

HostedServiceCatalogEntry

NexusLabs.Needlr

NexusLabs.Needlr.Catalog

HostedServiceCatalogEntry Class

Represents a hosted service registration discovered at compile time.

public sealed record HostedServiceCatalogEntry : System.IEquatable<NexusLabs.Needlr.Catalog.HostedServiceCatalogEntry>

Inheritance System.Object 🡒 HostedServiceCatalogEntry

Implements System.IEquatable<HostedServiceCatalogEntry>

Constructors

HostedServiceCatalogEntry(string, string, string, IReadOnlyList<ConstructorParameterEntry>, string) Constructor

Represents a hosted service registration discovered at compile time.

public HostedServiceCatalogEntry(string TypeName, string ShortTypeName, string AssemblyName, System.Collections.Generic.IReadOnlyList<NexusLabs.Needlr.Catalog.ConstructorParameterEntry> ConstructorParameters, string? SourceFilePath=null);

Parameters

TypeName System.String

The fully qualified name of the hosted service type.

ShortTypeName System.String

The short name of the hosted service type (without namespace).

AssemblyName System.String

The assembly name where this type is defined.

ConstructorParameters System.Collections.Generic.IReadOnlyList<ConstructorParameterEntry>

Constructor parameter type names.

SourceFilePath System.String

Source file path where the type is defined, if available.

Properties

HostedServiceCatalogEntry.AssemblyName Property

The assembly name where this type is defined.

public string AssemblyName { get; init; }

Property Value

System.String

HostedServiceCatalogEntry.ConstructorParameters Property

Constructor parameter type names.

public System.Collections.Generic.IReadOnlyList<NexusLabs.Needlr.Catalog.ConstructorParameterEntry> ConstructorParameters { get; init; }

Property Value

System.Collections.Generic.IReadOnlyList<ConstructorParameterEntry>

HostedServiceCatalogEntry.ShortTypeName Property

The short name of the hosted service type (without namespace).

public string ShortTypeName { get; init; }

Property Value

System.String

HostedServiceCatalogEntry.SourceFilePath Property

Source file path where the type is defined, if available.

public string? SourceFilePath { get; init; }

Property Value

System.String

HostedServiceCatalogEntry.TypeName Property

The fully qualified name of the hosted service type.

public string TypeName { get; init; }

Property Value

System.String