Skip to content

@istock/iswork / Exports / ApplicationContext

Class: ApplicationContext

iswork的上下文对象

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new ApplicationContext(app, message, options?): ApplicationContext

Parameters

NameType
appApplication
messageTCmdpMessage
optionsTApplicationContextOptions

Returns

ApplicationContext

Defined in

src/packages/iswork/src/application/context.ts:22

Properties

#app

Private Readonly #app: Application

Defined in

src/packages/iswork/src/application/context.ts:9


#options

Private Readonly #options: TApplicationContextOptions

Defined in

src/packages/iswork/src/application/context.ts:10


cmdp

cmdp: Cmdp

Defined in

src/packages/iswork/src/application/context.ts:11


message

message: TCmdpMessage

Defined in

src/packages/iswork/src/application/context.ts:12

Accessors

app

get app(): Application

Returns

Application

Defined in

src/packages/iswork/src/application/context.ts:18


options

get options(): TApplicationContextOptions

Returns

TApplicationContextOptions

Defined in

src/packages/iswork/src/application/context.ts:14

Methods

create

create(app, message, options?): ApplicationContext

Parameters

NameType
appApplication
messageTCmdpMessage
optionsTApplicationContextOptions

Returns

ApplicationContext

Defined in

src/packages/iswork/src/application/context.ts:31

免责声明:本站所有信息、数据、软件仅供学习研究,都不构成投资建议,本站不承担由此导致的任何责任。