Core - Add IRequestContext.IsDisposed

This commit is contained in:
Alex Maitland
2021-04-06 16:38:48 +10:00
parent a7c51d0e29
commit fdea682b3f
2 changed files with 10 additions and 0 deletions
+6
View File
@@ -75,6 +75,12 @@ namespace CefSharp
get { return requestContext.CachePath; }
}
/// <inheritdoc/>
public bool IsDisposed
{
get { return requestContext.IsDisposed; }
}
/// <inheritdoc/>
public bool IsSame(IRequestContext context)
{
+4
View File
@@ -21,6 +21,10 @@ namespace CefSharp
/// </summary>
public interface IRequestContext : IDisposable
{
/// <summary>
/// Gets a value indicating whether the RequestContext has been disposed of.
/// </summary>
bool IsDisposed { get; }
/// <summary>
/// Returns true if this object is pointing to the same context object.
/// </summary>