StaticProvider

Describes how the Injector should be configured in a static way (Without reflection).

type StaticProvider = ValueProvider | ExistingProvider | StaticClassProvider | ConstructorProvider | FactoryProvider | any[];

参见

说明

For more details, see the "Dependency Injection Guide".