typeioc

Home > typeioc > IDecorator

IDecorator interface

Represents a decorator style fluent cascading API services registration / resolution interface

Signature:

export interface IDecorator 

Methods

Method Description
build() Creates an instance of IContainer interface
by(service) Specifies entry point into decorator fluent cascading API for service resolution
import(builder) Imports registrations from non decorator container builder
provide(service) Registers a service using fluent API
provideSelf() Sets registration to be marked as self registration
register(service) Provides non decorator compatible registration interface
resolveValue(value) Specifies a value to be used for parameter resolution. It is used as is and no resolution computation is preformed