构造函数
constructor
-
方法
register
-
返回 this
resolve
-
resolve<T>(token: symbol): T
返回 T
has
-
has(token: symbol): boolean
返回 boolean
override
-
override<T>(token: symbol, instance: T): this
参数
- token: symbol
- instance: T
返回 this
updateRef
-
updateRef<T>(token: symbol, value: T): this
返回 this
reset
-
返回 void
createChild
-