Skip to content

IServiceCatalog

NexusLabs.Needlr

NexusLabs.Needlr.Catalog

IServiceCatalog Interface

Provides compile-time service registration metadata. Generated by Needlr source generator when [GenerateTypeRegistry] is used.

public interface IServiceCatalog

Properties

IServiceCatalog.AssemblyName Property

Gets the assembly name this catalog was generated for.

string AssemblyName { get; }

Property Value

System.String

IServiceCatalog.Decorators Property

Gets all discovered decorator registrations.

System.Collections.Generic.IReadOnlyList<NexusLabs.Needlr.Catalog.DecoratorCatalogEntry> Decorators { get; }

Property Value

System.Collections.Generic.IReadOnlyList<DecoratorCatalogEntry>

IServiceCatalog.GeneratedAt Property

Gets the UTC timestamp when this catalog was generated.

string GeneratedAt { get; }

Property Value

System.String

IServiceCatalog.HostedServices Property

Gets all discovered hosted service registrations.

System.Collections.Generic.IReadOnlyList<NexusLabs.Needlr.Catalog.HostedServiceCatalogEntry> HostedServices { get; }

Property Value

System.Collections.Generic.IReadOnlyList<HostedServiceCatalogEntry>

IServiceCatalog.InterceptedServices Property

Gets all discovered intercepted service registrations.

System.Collections.Generic.IReadOnlyList<NexusLabs.Needlr.Catalog.InterceptedServiceCatalogEntry> InterceptedServices { get; }

Property Value

System.Collections.Generic.IReadOnlyList<InterceptedServiceCatalogEntry>

IServiceCatalog.Options Property

Gets all discovered options/configuration bindings.

System.Collections.Generic.IReadOnlyList<NexusLabs.Needlr.Catalog.OptionsCatalogEntry> Options { get; }

Property Value

System.Collections.Generic.IReadOnlyList<OptionsCatalogEntry>

IServiceCatalog.Plugins Property

Gets all discovered plugin registrations.

System.Collections.Generic.IReadOnlyList<NexusLabs.Needlr.Catalog.PluginCatalogEntry> Plugins { get; }

Property Value

System.Collections.Generic.IReadOnlyList<PluginCatalogEntry>

IServiceCatalog.Services Property

Gets all discovered service registrations.

System.Collections.Generic.IReadOnlyList<NexusLabs.Needlr.Catalog.ServiceCatalogEntry> Services { get; }

Property Value

System.Collections.Generic.IReadOnlyList<ServiceCatalogEntry>