MCPcopy Index your code
hub / github.com/angular/angular / Module

Class Module

packages/core/test/di/r3_injector_spec.ts:199–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197 class AbstractServiceImpl extends AbstractService {}
198
199 class Module {
200 static ɵinj = ɵɵdefineInjector({
201 imports: [IntermediateModule],
202 providers: [
203 ChildService,
204 ServiceWithDep,
205 ServiceWithOptionalDep,
206 ServiceWithMultiDep,
207 {provide: LOCALE, multi: true, useValue: 'en'},
208 {provide: LOCALE, multi: true, useValue: 'es'},
209 {provide: PRIMITIVE_VALUE, useValue: 'foo'},
210 {provide: UNDEFINED_VALUE, useValue: undefined},
211 Service,
212 {provide: SERVICE_TOKEN, useExisting: Service},
213 CircularA,
214 CircularB,
215 {provide: STATIC_TOKEN, useClass: StaticService, deps: [Service]},
216 InjectorWithDep,
217 AbstractService,
218 ],
219 });
220 }
221
222 const ABSTRACT_SERVICE_TOKEN_WITH_FACTORY = new InjectionToken<AbstractService>(
223 'ABSTRACT_SERVICE_TOKEN',

Callers

nothing calls this directly

Calls 1

ɵɵdefineInjectorFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…