The parameter passed to AmendProject(IProjectAmender) (both for ProjectFabric and TransitiveProjectFabric). Provides capabilities to query declarations across the project, add aspects programmatically using LINQ-like queries, configure options, report diagnostics, and validate architecture.
Namespace: Metalama.Framework.Fabrics
Assembly: Metalama.Framework.dll
Syntax
public interface IProjectAmender : IAmender<ICompilation>, IAmender, IQuery<ICompilation>, IQueryRemarks
Through this interface, you can access all types, namespaces, and other declarations in the project using LINQ-like queries. For example, you can select all types in a namespace, filter methods by name or attributes, and apply aspects to the results.