MCPcopy
hub / github.com/midwayjs/midway / constructor

Method constructor

packages/core/test/context/midwayContainer.test.ts:355–358  ·  view source on GitHub ↗
(
        @Inject() protected dependency: Dependency,
        holder,
        @Inject() protected dependency1: Dependency1)

Source from the content-addressed store, hash-verified

353 class MainService {
354
355 constructor(
356 @Inject() protected dependency: Dependency,
357 holder,
358 @Inject() protected dependency1: Dependency1) {}
359
360 getDependencyValue() {
361 return this.dependency.getValue() + '-' + this.dependency1.getValue();

Callers

nothing calls this directly

Calls 1

InjectFunction · 0.90

Tested by

no test coverage detected