Page Contents
Home > @loopback/context-explorer > ContextBinding
ContextBinding class
A wrapper class for context, binding, and its level in the chain
Signature:
export declare class ContextBinding
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
| [(constructor)(context, binding, level)](/doc/en/lb4/apidocs.context-explorer.contextbinding._constructor_.html) | Constructs a new instance of the `ContextBinding` class |
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| [binding](/doc/en/lb4/apidocs.context-explorer.contextbinding.binding.html) | `readonly` | [JSONObject](/doc/en/lb4/apidocs.context.jsonobject.html) | |
| [context](/doc/en/lb4/apidocs.context-explorer.contextbinding.context.html) | `readonly` | [JSONObject](/doc/en/lb4/apidocs.context.jsonobject.html) | |
| [id](/doc/en/lb4/apidocs.context-explorer.contextbinding.id.html) | `readonly` | string | |
| [level](/doc/en/lb4/apidocs.context-explorer.contextbinding.level.html) | `readonly` | number |