Class CompileScriptCommandSettings
Compiles expression.
public sealed class CompileScriptCommandSettings : ICommand
- Inheritance
-
CompileScriptCommandSettings
- Implements
- Inherited Members
Properties
CommandName
Gets the name of the command.
[JsonIgnore]
public string CommandName { get; }
Property Value
ExecutionContextId
Specifies in which execution context to perform script run. If the parameter is omitted the evaluation will be performed in the context of the inspected page.
[JsonPropertyName("executionContextId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? ExecutionContextId { get; set; }
Property Value
- long?
Expression
Expression to compile.
[JsonPropertyName("expression")]
public string Expression { get; set; }
Property Value
PersistScript
Specifies whether the compiled script should be persisted.
[JsonPropertyName("persistScript")]
public bool PersistScript { get; set; }
Property Value
SourceURL
Source url to be set for the script.
[JsonPropertyName("sourceURL")]
public string SourceURL { get; set; }