Class SharedScriptScope
Defines scope for shared scripts.
Inheritance
object
SharedScriptScope
Implements
Namespace: StylelabsStylelabs.MStylelabs.M.ScriptingStylelabs.M.Scripting.TypesStylelabs.M.Scripting.Types.V1_0Shared
Assembly: Stylelabs.M.Scripting.Types.dll
Syntax
RequestResponse
public class SharedScriptScope : IScriptScopeConstructors
SharedScriptScope(IMClient)
Initializes a new instance of the SharedScriptScope class.
Declaration
RequestResponse
public SharedScriptScope(IMClient client)Parameters
| Type | Name | Description |
|---|---|---|
| IMClient | client |
The instance. |
Properties
ContextObject
Gets the context.
Declaration
RequestResponse
public object ContextObject { get; }Property Value
| Type | Description |
|---|---|
| object |
MClient
Gets the sdk client.
Declaration
RequestResponse
public IMClient MClient { get; }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
RequestResponse
public AuditData GetAuditData()Returns
GetTelemetryData()
Gets the telemetry data from the script.
Declaration
RequestResponse
public TelemetryData GetTelemetryData()Returns
| Type | Description |
|---|---|
| TelemetryData |
The TelemetryData. |