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
SymbolSymbolThe symbol.
ModuleUriThe address of the module that declares it.
RangeSourceRangeIts whole declaration; a module's is the start of its document.
SelectionRangeSourceRangeThe name it declares.
Properties
Module
The address of the module that declares it.
public Uri Module { get; init; }
Property Value
Range
Its whole declaration; a module's is the start of its document.
public SourceRange Range { get; init; }
Property Value
SelectionRange
The name it declares.
public SourceRange SelectionRange { get; init; }
Property Value
Symbol
The symbol.
public Symbol Symbol { get; init; }