IBrowsingContext
Represents the browsing context interface.
using AngleSharp.Browser;
using AngleSharp.Browser.Dom;
using AngleSharp.Dom;
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace AngleSharp
{
[System.Runtime.CompilerServices.NullableContext(2)]
public interface IBrowsingContext : IEventTarget, IDisposable
{
IWindow Current { get; }
IDocument Active { get; set; }
IHistory SessionHistory { get; }
Sandboxes Security { get; }
IBrowsingContext Parent { get; }
IDocument Creator { get; }
[System.Runtime.CompilerServices.Nullable(1)]
IEnumerable<object> OriginalServices {
[System.Runtime.CompilerServices.NullableContext(1)]
get;
}
[System.Runtime.CompilerServices.NullableContext(1)]
[return: System.Runtime.CompilerServices.Nullable(2)]
T GetService<T>() where T : class;
[System.Runtime.CompilerServices.NullableContext(1)]
IEnumerable<T> GetServices<T>() where T : class;
[System.Runtime.CompilerServices.NullableContext(1)]
IBrowsingContext CreateChild([System.Runtime.CompilerServices.Nullable(2)] string name, Sandboxes security);
[System.Runtime.CompilerServices.NullableContext(1)]
[return: System.Runtime.CompilerServices.Nullable(2)]
IBrowsingContext FindChild(string name);
}
}