Extension methods for IDeclaration that provide introspection capabilities within a workspace.
Namespace: Metalama.Framework.Workspaces
Assembly: Metalama.Framework.Workspaces.dll
Syntax
public static class DeclarationExtensionsMethods
| Name | Description |
|---|---|
| GetDerivedTypes(INamedType, bool) | Get all types derived from a given type within the projects loaded in the current Workspace. |
| GetInboundReferences(IDeclaration, IntrospectionChildKinds, CancellationToken) | Gets inbound declaration references, i.e. the list of declarations that use the given declaration, in the projects loaded in the current Workspace. |
| GetOutboundReferences(IDeclaration, CancellationToken) | Gets outbound declaration references, i.e. the list of declarations that the given declaration uses, in the projects loaded in the current Workspace. |