Class Entity
Represents a named entity defined in Slice.
public class Entity
- Inheritance
-
Entity
- Derived
- Inherited Members
Properties
Attributes
Gets the entity's attributes.
public required ImmutableList<Attribute> Attributes { get; init; }
Property Value
Comment
Gets the doc comment associated with this entity, if any.
public Comment? Comment { get; }
Property Value
Identifier
Gets the entity's identifier.
public required string Identifier { get; init; }
Property Value
Module
Gets the module that contains this entity.
public required Module Module { get; init; }
Property Value
Parent
Gets the parent entity, or null for top-level entities.
public Entity? Parent { get; }
Property Value
ScopedIdentifier
Gets the fully scoped Slice identifier (e.g. "MyModule::MyType" or "MyModule::MyInterface::MyOperation").
public string ScopedIdentifier { get; }