共用方式為


EntityAssignment class

使用 EntityAssignment 對象的靜態方法。

建構函式

EntityAssignment(Partial<EntityAssignmentConfiguration>)

初始化 EntityAssignment 類別的新實例。

屬性

alternative

替代指派。

alternatives

取得替代實體指派。

event

要呈現的事件名稱

expectedProperties

指派時的預期屬性。

isExpected

值,指出此實體是否在 DialogPath.ExpectedProperties中。

operation

將實體指派給 屬性的作業。

property

要指派的屬性名稱。

raisedCount

事件已引發的次數。

value

辨識的實體值。

方法

addAlternatives(EntityAssignment[])

將替代專案新增至單一指派。

toString()

將工作分派列印為字串。

建構函式詳細資料

EntityAssignment(Partial<EntityAssignmentConfiguration>)

初始化 EntityAssignment 類別的新實例。

new EntityAssignment(assignment: Partial<EntityAssignmentConfiguration>)

參數

assignment

Partial<EntityAssignmentConfiguration>

要為此實例設定的實體指派屬性。

屬性詳細資料

alternative

替代指派。

alternative: EntityAssignment

屬性值

alternatives

取得替代實體指派。

EntityAssignment[] alternatives

屬性值

替代實體分批。

event

要呈現的事件名稱

event: string

屬性值

string

expectedProperties

指派時的預期屬性。

expectedProperties: string[]

屬性值

string[]

isExpected

值,指出此實體是否在 DialogPath.ExpectedProperties中。

isExpected: boolean

屬性值

boolean

operation

將實體指派給 屬性的作業。

operation: string

屬性值

string

property

要指派的屬性名稱。

property: string

屬性值

string

raisedCount

事件已引發的次數。

raisedCount: number

屬性值

number

value

辨識的實體值。

value: Partial<EntityInfo>

屬性值

Partial<EntityInfo>

方法詳細資料

addAlternatives(EntityAssignment[])

將替代專案新增至單一指派。

function addAlternatives(alternatives: EntityAssignment[])

參數

alternatives

EntityAssignment[]

要新增的替代專案。

toString()

將工作分派列印為字串。

function toString(): string

傳回

string

表示目前物件的字串。