Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Application

Handles bootstrapping the application.

Hierarchy

  • Application

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

Optional Readonly runtime

runtime: Runtime

Accessors

args

  • get args(): string[]

injector

  • get injector(): Injector

options

Methods

inject

  • inject<T>(ctor: { constructor: any }, notFoundValue?: T): T
  • Type parameters

    • T

    Parameters

    • ctor: { constructor: any }
      • constructor: function
        • new __type(...args: any[]): T
    • Optional notFoundValue: T

    Returns T

start

  • start(): void

stop

  • stop(): void

Static bootstrap

Generated using TypeDoc