1. Stylelabs.M.Scripting.Types.V1_0.Shared

Class SharedScriptScope

Defines scope for shared scripts.

Inheritance

object

SharedScriptScope

Implements

IScriptScope

Namespace: StylelabsStylelabs.MStylelabs.M.ScriptingStylelabs.M.Scripting.TypesStylelabs.M.Scripting.Types.V1_0Shared

Assembly: Stylelabs.M.Scripting.Types.dll

Syntax

public class SharedScriptScope : IScriptScope

Constructors

SharedScriptScope(IMClient)

Initializes a new instance of the SharedScriptScope class.

Declaration

public SharedScriptScope(IMClient client)

Parameters

TypeNameDescription
IMClientclientThe instance.

Properties

ContextObject

Gets the context.

Declaration

public object ContextObject { get; }

Property Value

TypeDescription
object

MClient

Gets the sdk client.

Declaration

public IMClient MClient { get; }

Property Value

TypeDescription
IMClient

Methods

GetAuditData()

Gets the audit data from the script. For performance reasons, if there is nothing to return, null can be returned.

Declaration

public AuditData GetAuditData()

Returns

TypeDescription
AuditDataThe AuditData.

GetTelemetryData()

Gets the telemetry data from the script.

Declaration

public TelemetryData GetTelemetryData()

Returns

TypeDescription
TelemetryDataThe TelemetryData.

Implements

IScriptScope

If you have suggestions for improving this article, let us know!