Interface IProvideService

Index

Methods

Methods

public constant(name: string, value: any)

Parameters

  • name: string
  • value: any

public decorator(name: string, decorator: Function)

Parameters

  • name: string
  • decorator: Function

public decorator(name: string, decoratorInline: Array<any>)

Parameters

  • name: string
  • decoratorInline: Array<any>

public factory(name: string, serviceFactoryFunction: Function): IServiceProvider

Parameters

  • name: string
  • serviceFactoryFunction: Function

Returns

IServiceProvider

public factory(name: string, inlineAnnotatedFunction: Array<any>): IServiceProvider

Parameters

  • name: string
  • inlineAnnotatedFunction: Array<any>

Returns

IServiceProvider

public provider(name: string, provider: IServiceProvider): IServiceProvider

Parameters

Returns

IServiceProvider

public provider(name: string, serviceProviderConstructor: Function): IServiceProvider

Parameters

  • name: string
  • serviceProviderConstructor: Function

Returns

IServiceProvider

public service(name: string, constructor: Function): IServiceProvider

Parameters

  • name: string
  • constructor: Function

Returns

IServiceProvider

public value(name: string, value: any): IServiceProvider

Parameters

  • name: string
  • value: any

Returns

IServiceProvider