Class BaseScriptScope<TContext>
Defines the base scope for scripts.
Inheritance
object
BaseScriptScope<TContext>
Implements
Namespace: StylelabsStylelabs.MStylelabs.M.ScriptingStylelabs.M.Scripting.TypesStylelabs.M.Scripting.Types.V1_0Base
Assembly: Stylelabs.M.Scripting.Types.dll
Syntax
Type Parameters
| Name | Description |
|---|---|
| TContext |
The content type. |
Constructors
BaseScriptScope(TContext, IMClient)
Initializes a new instance of the BaseScriptScope<TContext> class.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| TContext | context |
The script context. |
| IMClient | client |
The sdk client. |
Properties
Context
Gets the script context.
Declaration
Property Value
| Type | Description |
|---|---|
| TContext |
ContextObject
Gets the context.
Declaration
Property Value
| Type | Description |
|---|---|
| object |
MClient
Gets the sdk client.
Declaration
Property Value
| Type | Description |
|---|---|
| IMClient |
Methods
GetAuditData()
Gets the audit data from the script. For performance reasons, if there is nothing to return, null can be returned.
Declaration
Returns
GetTelemetryData()
Gets the telemetry data from the script.
Declaration
Returns
| Type | Description |
|---|---|
| TelemetryData |
The TelemetryData. |