ScriptOptions
Transport object for running scripts.
using AngleSharp.Browser;
using AngleSharp.Dom;
using AngleSharp.Html.Dom;
using System.Runtime.CompilerServices;
using System.Text;
namespace AngleSharp.Scripting
{
[System.Runtime.CompilerServices.NullableContext(2)]
[System.Runtime.CompilerServices.Nullable(0)]
public sealed class ScriptOptions
{
[System.Runtime.CompilerServices.Nullable(1)]
[field: System.Runtime.CompilerServices.Nullable(1)]
public IEventLoop EventLoop {
[System.Runtime.CompilerServices.NullableContext(1)]
get;
}
[System.Runtime.CompilerServices.Nullable(1)]
[field: System.Runtime.CompilerServices.Nullable(1)]
public IDocument Document {
[System.Runtime.CompilerServices.NullableContext(1)]
get;
}
public IHtmlScriptElement Element { get; set; }
public Encoding Encoding { get; set; }
[System.Runtime.CompilerServices.NullableContext(1)]
public ScriptOptions(IDocument document, IEventLoop loop)
{
Document = document;
EventLoop = loop;
}
}
}