Skip to content

InterfaceEntry

NexusLabs.Needlr

NexusLabs.Needlr.Catalog

InterfaceEntry Class

Represents an interface with its source location information.

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

Inheritance System.Object 🡒 InterfaceEntry

Implements System.IEquatable<InterfaceEntry>

Constructors

InterfaceEntry(string, string, int) Constructor

Represents an interface with its source location information.

public InterfaceEntry(string FullName, string? SourceFilePath=null, int SourceLine=0);

Parameters

FullName System.String

The fully qualified name of the interface.

SourceFilePath System.String

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

SourceLine System.Int32

1-based line number where the interface is defined, or 0 if unknown.

Properties

InterfaceEntry.FullName Property

The fully qualified name of the interface.

public string FullName { get; init; }

Property Value

System.String

InterfaceEntry.SourceFilePath Property

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

public string? SourceFilePath { get; init; }

Property Value

System.String

InterfaceEntry.SourceLine Property

1-based line number where the interface is defined, or 0 if unknown.

public int SourceLine { get; init; }

Property Value

System.Int32