facet classafIoc::Build
sys::Obj afIoc::Build : sys::Facet
Use in AppModule classes to denote a service builder method.
- aliasTypes
const Type[]? aliasTypes := nullA list of service Type aliases.
- aliases
const Str[]? aliases := nullA list of service ID aliases.
- scopes
const Str[]? scopes := nullA list of scopes this service may be created in.
- serviceId
const Str? serviceId := nullIf not specified, the service id is taken to be the qualified name of the returned type. Example:
@Build acme::MyService buildPenguin() { ... }defines a service with an id of
acme::MyService.