facet classafIoc::Build
sys::Obj afIoc::Build : sys::Facet
Use in AppModule
classes to denote a service builder method.
- aliasTypes
const Type[]? aliasTypes := null
A list of service Type aliases.
- aliases
const Str[]? aliases := null
A list of service ID aliases.
- scopes
const Str[]? scopes := null
A list of scopes this service may be created in.
- serviceId
const Str? serviceId := null
If 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
.