Reference
Reference
Section titled “Reference”This section documents Specular’s public API surface: the interface your code calls, the attributes that control what gets scanned, and the fluent filters that shape selector expressions. Everything here is a stable contract — the runtime package (Specular) is intentionally tiny, and almost all of the work happens in the source generator.
Pages Stable
Section titled “Pages ”Stable- ISpecularProvider — the generated entry point, accessed via the static
SpecularProvider.Instancesingleton. ExposesGetAssemblies,GetTypes, andScan. - ServiceRegistrationAttribute — declaratively mark a type for dependency-injection registration with a chosen lifetime.
- ExcludeFromSpecularAttribute — opt a type out of scanning so the generator skips it.
- Type Filters — the fluent selector methods (
AddClasses,AsImplementedInterfaces, namespace and attribute filters, and more) used to build a scan.

