Table of Contents

Class Entity

Namespace
ZeroC.Slice.Symbols
Assembly
ZeroC.Slice.Symbols.dll

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

ImmutableList<Attribute>

Comment

Gets the doc comment associated with this entity, if any.

public Comment? Comment { get; }

Property Value

Comment

Identifier

Gets the entity's identifier.

public required string Identifier { get; init; }

Property Value

string

Module

Gets the module that contains this entity.

public required Module Module { get; init; }

Property Value

Module

Parent

Gets the parent entity, or null for top-level entities.

public Entity? Parent { get; }

Property Value

Entity

ScopedIdentifier

Gets the fully scoped Slice identifier (e.g. "MyModule::MyType" or "MyModule::MyInterface::MyOperation").

public string ScopedIdentifier { get; }

Property Value

string