| GenerateFactoryAttribute |
Generates a factory for this type, allowing runtime parameters to be specified while auto-injecting the rest from the service provider. |
| GenerateFactoryAttribute<TInterface> |
Generates a factory for this type that returns the specified interface type, allowing runtime parameters to be specified while auto-injecting the rest from the service provider. |
| GenerateTypeRegistryAttribute |
Marks an assembly for compile-time type registry generation. The source generator will scan all referenced assemblies and generate a TypeRegistry class containing all injectable types. |
| NeedlrSourceGenBootstrap |
Runtime bootstrap registry for source-generated Needlr components. |
| OpenDecoratorForAttribute |
Marks a generic class as a decorator for all closed implementations of an open generic interface. This is a source-generation only feature - the generator discovers all closed implementations at compile time and emits decorator registrations for each. |
| OptionsAttribute |
Marks a class as an options/configuration type that should be bound to a configuration section. The source generator will automatically generate the services.Configure<T>() call. |
| ProviderAttribute |
Marks an interface or partial class as a Provider - a strongly-typed service locator. |
| ValidationError |
Represents a validation error with optional structured information. |
| ValidatorProviderAttribute |
Marks an assembly as providing a validator base type that the Needlr analyzer should recognize. When a type used with [Options(Validator = typeof(...))] inherits from the specified base type, the analyzer will not report NDLRGEN014 (validator missing interface). |