Options
All
  • Public
  • Public/Protected
  • All
Menu

Used to register special 'handler' which will be executed on a service class during its initialization. It can be used to create custom decorators and set/replace service class properties and constructor parameters.

Hierarchy

  • Handler

Index

Properties

Optional index

index: number

Parameter index to set/replace value of. Used if handler is applied on a constructor parameter.

object

object: Object

Service object used to apply handler to.

Optional propertyName

propertyName: string

Class property name to set/replace value of. Used if handler is applied on a class property.

value

value: function

Factory function that produces value that will be set to class property or constructor parameter. Accepts container instance which requested the value.

Type declaration

Generated using TypeDoc