1. IActionScriptContext

Interface IActionScriptContext

Version:
日本語翻訳に関する免責事項

このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。

Namespace: Stylelabs.M.Scripting.Types.V1_0.Action
Assembly: Stylelabs.M.Scripting.Types.dll
Syntax
public interface IActionScriptContext

Properties

ChangeTracker

Used in combination with entity targets.

Declaration
IChangeTracker ChangeTracker { get; }
Property Value
TypeDescription
IChangeTracker

Data

Arguments passed through the script. Should never be null.

Declaration
JToken Data { get; }
Property Value
TypeDescription
JToken

ExecutionEvent

Declaration
ExecutionEvent? ExecutionEvent { get; }
Property Value
TypeDescription
System.Nullable<ExecutionEvent>

ExecutionPhase

Declaration
ExecutionPhase? ExecutionPhase { get; }
Property Value
TypeDescription
System.Nullable<ExecutionPhase>

ExecutionSource

Declaration
ExecutionSource ExecutionSource { get; }
Property Value
TypeDescription
ExecutionSource

ExecutionType

The type of execution.

Declaration
ExecutionType ExecutionType { get; }
Property Value
TypeDescription
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
IPropertyBag PropertyBag { get; }
Property Value
TypeDescription
IPropertyBag
Remarks

Note that for ExecutionType equals to OutOfProcess the bag is read only.

Result

Output of the script, possibly null.

Declaration
JToken Result { get; set; }
Property Value
TypeDescription
JToken

StatusCode

Status code to return when executed through REST.

Declaration
HttpStatusCode? StatusCode { get; set; }
Property Value
TypeDescription
System.Nullable<HttpStatusCode>

Target

Declaration
object Target { get; }
Property Value
TypeDescription
System.Object

TargetId

Declaration
long? TargetId { get; }
Property Value
TypeDescription
System.Nullable<System.Int64>

TargetType

Declaration
TargetType? TargetType { get; }
Property Value
TypeDescription
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
long? TriggeringUserId { get; }
Property Value
TypeDescription
System.Nullable<System.Int64>

Methods

ToString()

Declaration
string ToString()
Returns
TypeDescription
System.String
この記事を改善するための提案がある場合は、 お知らせください!