Skip to content

PluginCatalogEntry

NexusLabs.Needlr

NexusLabs.Needlr.Catalog

PluginCatalogEntry Class

Represents a plugin discovered at compile time.

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

Inheritance System.Object 🡒 PluginCatalogEntry

Implements System.IEquatable<PluginCatalogEntry>

Constructors

PluginCatalogEntry(string, string, IReadOnlyList<string>, string, int, string) Constructor

Represents a plugin discovered at compile time.

public PluginCatalogEntry(string TypeName, string ShortTypeName, System.Collections.Generic.IReadOnlyList<string> Interfaces, string AssemblyName, int Order=0, string? SourceFilePath=null);

Parameters

TypeName System.String

The fully qualified name of the plugin type.

ShortTypeName System.String

The short name of the plugin type (without namespace).

Interfaces System.Collections.Generic.IReadOnlyList<System.String>

The plugin interfaces this type implements.

AssemblyName System.String

The assembly name where this type is defined.

Order System.Int32

The execution order of this plugin.

SourceFilePath System.String

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

Properties

PluginCatalogEntry.AssemblyName Property

The assembly name where this type is defined.

public string AssemblyName { get; init; }

Property Value

System.String

PluginCatalogEntry.Interfaces Property

The plugin interfaces this type implements.

public System.Collections.Generic.IReadOnlyList<string> Interfaces { get; init; }

Property Value

System.Collections.Generic.IReadOnlyList<System.String>

PluginCatalogEntry.Order Property

The execution order of this plugin.

public int Order { get; init; }

Property Value

System.Int32

PluginCatalogEntry.ShortTypeName Property

The short name of the plugin type (without namespace).

public string ShortTypeName { get; init; }

Property Value

System.String

PluginCatalogEntry.SourceFilePath Property

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

public string? SourceFilePath { get; init; }

Property Value

System.String

PluginCatalogEntry.TypeName Property

The fully qualified name of the plugin type.

public string TypeName { get; init; }

Property Value

System.String