Open sandboxFocus

Interface IQuery

The non-generic base interface for IQuery<TDeclaration>. Represents query of declarations to which aspects, validators, diagnostics and code fix suggestions can be added. This interface exposes LINQ-like methods that can be combined in complex queries.

Namespace: Metalama.Framework.Fabrics
Assembly: Metalama.Framework.dll
Syntax
[InternalImplement]
[CompileTime]
public interface IQuery

Properties

Name Description
OriginatingDeclaration

Gets the declaration of the originating fabric or aspect instance.

OriginatingNamespace

Gets the current namespace, i.e. the one of the originating fabric or aspect instance, or null if the current object does not belong to a namespace.

Project

Gets the current project.

Extension Methods