@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
87 lines (43 loc) • 1.41 kB
Markdown
---
lang: en
title: 'API docs: context-explorer.contextbinding._constructor_'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/extensions/context-explorer
permalink: /doc/en/lb4/apidocs.context-explorer.contextbinding._constructor_.html
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/context-explorer](./context-explorer.md) > [ContextBinding](./context-explorer.contextbinding.md) > [(constructor)](./context-explorer.contextbinding._constructor_.md)
## ContextBinding.(constructor)
Constructs a new instance of the `ContextBinding` class
**Signature:**
```typescript
constructor(context: JSONObject, binding: JSONObject, level: number);
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td markdown="1">
context
</td><td markdown="1">
[JSONObject](./context.jsonobject.md)
</td><td markdown="1">
</td></tr>
<tr><td markdown="1">
binding
</td><td markdown="1">
[JSONObject](./context.jsonobject.md)
</td><td markdown="1">
</td></tr>
<tr><td markdown="1">
level
</td><td markdown="1">
number
</td><td markdown="1">
</td></tr>
</tbody></table>