@loopback/docs
Version:
Documentation for LoopBack 4
35 lines (24 loc) • 1.19 kB
Markdown
---
lang: en
title: 'API docs: context.injection'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.context.injection.html
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/context](./context.md) > [Injection](./context.injection.md)
## Injection interface
Descriptor for an injection point
<b>Signature:</b>
```typescript
export interface Injection<ValueType = BoundValue>
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [bindingSelector](./context.injection.bindingselector.md) | <code>BindingSelector<ValueType></code> | |
| [member](./context.injection.member.md) | <code>string</code> | |
| [metadata](./context.injection.metadata.md) | <code>InjectionMetadata</code> | |
| [methodDescriptorOrParameterIndex](./context.injection.methoddescriptororparameterindex.md) | <code>TypedPropertyDescriptor<ValueType> | number</code> | |
| [resolve](./context.injection.resolve.md) | <code>ResolverFunction</code> | |
| [target](./context.injection.target.md) | <code>Object</code> | |