Interface IActionScriptContext
このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。
Namespace: Stylelabs.M.Scripting.Types.V1_0.Action
Assembly: Stylelabs.M.Scripting.Types.dll
Syntax
Properties
ChangeTracker
Used in combination with entity targets.
Declaration
Property Value
| Type | Description |
|---|---|
| IChangeTracker |
Data
Arguments passed through the script. Should never be null.
Declaration
Property Value
| Type | Description |
|---|---|
| JToken |
ExecutionEvent
Declaration
Property Value
| Type | Description |
|---|---|
| System.Nullable<ExecutionEvent> |
ExecutionPhase
Declaration
Property Value
| Type | Description |
|---|---|
| System.Nullable<ExecutionPhase> |
ExecutionSource
Declaration
Property Value
| Type | Description |
|---|---|
| ExecutionSource |
ExecutionType
The type of execution.
Declaration
Property Value
| Type | Description |
|---|---|
| ExecutionType |
PropertyBag
Useful collection of string keyed string properties for case when ExecutionSource is Trigger. Use to store and retrieve information between trigger phases and in or out-of-process actions. Should never be null.
Declaration
Property Value
| Type | Description |
|---|---|
| IPropertyBag |
Remarks
Note that for ExecutionType equals to OutOfProcess the bag is read only.
Result
Output of the script, possibly null.
Declaration
Property Value
| Type | Description |
|---|---|
| JToken |
StatusCode
Status code to return when executed through REST.
Declaration
Property Value
| Type | Description |
|---|---|
| System.Nullable<HttpStatusCode> |
Target
Declaration
Property Value
| Type | Description |
|---|---|
| System.Object |
TargetId
Declaration
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int64> |
TargetType
Declaration
Property Value
| Type | Description |
|---|---|
| System.Nullable<TargetType> |
TriggeringUserId
If applicable and available an id of the user who caused event leading to this action or id of the user explicitly requesting the action.
Declaration
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int64> |
Methods
ToString()
Declaration
Returns
| Type | Description |
|---|---|
| System.String |