ScriptLocation Struct
A location in the source of a running script (see ScriptEngine.GetCurrentScriptLocation): the source file, line number and column number of the violations of the content security policies (https://w3c.github.io/webappsec-csp/#create-violation-for-global, step 2).
public readonly struct ScriptLocation : IEquatable<ScriptLocation>- Implements
Constructors
| Name | Description |
|---|---|
| ScriptLocation(string, int, int) | A location in the source of a running script (see ScriptEngine.GetCurrentScriptLocation): the source file, line number and column number of the violations of the content security policies (https://w3c.github.io/webappsec-csp/#create-violation-for-global, step 2). |
ScriptLocation(string, int, int)
A location in the source of a running script (see ScriptEngine.GetCurrentScriptLocation): the source file, line number and column number of the violations of the content security policies (https://w3c.github.io/webappsec-csp/#create-violation-for-global, step 2).
Properties
| Name | Description |
|---|---|
| ColumnNumber | The column (1-based). |
| LineNumber | The line (1-based). |
| Url | The URL of the script (the URL of the document for an inline script or an event handler), as requested by the page (before the redirects). |
ColumnNumber
ScriptLocation.csLineNumber
ScriptLocation.csMethods
| Name | Description |
|---|---|
| Deconstruct(string, int, int) | |
| Equals(ScriptLocation) | |
| Equals(object) | |
| GetHashCode() | |
| ToString() |
Deconstruct(string, int, int)
Equals overloads
Equals(ScriptLocation)
public bool Equals(ScriptLocation other)No documentation is available.
Equals(object)
GetHashCode()
ToString()
Operators
| Name | Description |
|---|---|
| operator ==(ScriptLocation, ScriptLocation) | |
| operator !=(ScriptLocation, ScriptLocation) |
operator ==(ScriptLocation, ScriptLocation)
public static bool operator ==(ScriptLocation left, ScriptLocation right)No documentation is available.
operator !=(ScriptLocation, ScriptLocation)
public static bool operator !=(ScriptLocation left, ScriptLocation right)No documentation is available.