inject
inject<T>(token: Type<T> | InjectionToken<T>, flags: InjectFlags = InjectFlags.Default): T | null
参数
token | Type | |
flags | InjectFlags | 可选. 默认值是 |
返回值
T | null
inject<T>(token: Type<T> | InjectionToken<T>, flags: InjectFlags = InjectFlags.Default): T | null
token | Type | |
flags | InjectFlags | 可选. 默认值是 |
T | null