ServiceAttribute
ServiceAttribute
Attribute for automatic service registration and configuration. This attribute enables automatic service discovery and registration in ServiceCompositionRoot, reducing manual registration code.
Project: GridPlacement v6.0
Layer: Godot
Source: Godot/Core/_incomplete/Services/DI/ServiceAttribute.cs
Namespace: GridBuilding.Core.Services.DI
Kind: class
Parsing Method: AST-based (Roslyn) - NOT regex
⚠️ IMPORTANT: This documentation was generated using AST parsing, not regex.
Properties
Scope
The service lifetime scope.
AutoRegister
Whether this service should be automatically registered.
Priority
Priority for service registration (lower = earlier).
ServiceInterface
Optional service interface type. If specified, service will be registered under this interface.
Name
Optional service name for named service registration.
Lazy
Whether this service should be lazy-loaded.
Dependencies
Service dependencies that should be available before registration.