Table of Contents

Class HierarchyItem

Namespace
RDCore.SDK.Semantics.Refactoring
Assembly
RDCore.SDK.dll

A symbol of a hierarchy - a procedure that calls or is called, a class that implements or is implemented - and where it is declared.

public sealed record HierarchyItem : IEquatable<HierarchyItem>
Inheritance
HierarchyItem
Implements
Inherited Members

Constructors

HierarchyItem(Symbol, Uri, SourceRange, SourceRange)

A symbol of a hierarchy - a procedure that calls or is called, a class that implements or is implemented - and where it is declared.

public HierarchyItem(Symbol Symbol, Uri Module, SourceRange Range, SourceRange SelectionRange)

Parameters

Symbol Symbol

The symbol.

Module Uri

The address of the module that declares it.

Range SourceRange

Its whole declaration; a module's is the start of its document.

SelectionRange SourceRange

The name it declares.

Properties

Module

The address of the module that declares it.

public Uri Module { get; init; }

Property Value

Uri

Range

Its whole declaration; a module's is the start of its document.

public SourceRange Range { get; init; }

Property Value

SourceRange

SelectionRange

The name it declares.

public SourceRange SelectionRange { get; init; }

Property Value

SourceRange

Symbol

The symbol.

public Symbol Symbol { get; init; }

Property Value

Symbol