(key: string)
| 8 | export class Context implements IContext { |
| 9 | private readonly _values = new Map<string, any>(); |
| 10 | getValue(key: string): any { |
| 11 | if (this._values.has(key)) { |
| 12 | return this._values.get(key); |
| 13 | } |
| 14 | } |
| 15 | setValue(key: string, value: any) { |
| 16 | this._values.set(key, value); |
| 17 | } |