ConstructorInjectionStatement
@aurorajs.dev/catalyst-cli / generator/domain/model / ConstructorInjectionStatement
Interface: ConstructorInjectionStatement
Sección titulada «Interface: ConstructorInjectionStatement»Defined in: generator/domain/model.ts:376
Declaration of a constructor parameter marked for DI (constructor(private readonly x: X)).
Consumed by the constructorInjection helper in code-gen.
Properties
Sección titulada «Properties»className
Sección titulada «className»className:
string
Defined in: generator/domain/model.ts:378
Type name / class used as the parameter type.
readonly?
Sección titulada «readonly?»
optionalreadonly?:boolean
Defined in: generator/domain/model.ts:379
scope:
"private"|"protected"|"public"
Defined in: generator/domain/model.ts:380
variableName
Sección titulada «variableName»variableName:
string
Defined in: generator/domain/model.ts:382
Identifier the parameter binds to.