Skip to content

Commit 20aba5c

Browse files
committed
IResourceRequestHandlerFactory - Clarify HasHandlers documentation
Follow up to #3998
1 parent 0fb3c50 commit 20aba5c

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

CefSharp/IResourceRequestHandlerFactory.cs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,12 @@ namespace CefSharp
1414
public interface IResourceRequestHandlerFactory
1515
{
1616
/// <summary>
17-
/// Are there any <see cref="ResourceHandler"/>'s registered?
17+
/// Return <see langword="true"/> to have <see cref="GetResourceRequestHandler(IWebBrowser, IBrowser, IFrame, IRequest, bool, bool, string, ref bool)"/>
18+
/// called for every resource request. Otherwise return <see langword="false"/>.
1819
/// </summary>
1920
/// <remarks>
20-
/// <para>
21-
/// Implementors must return <see langword="true"/> from this method if the factory is to be used.
22-
/// The <see cref="GetResourceRequestHandler"/> method will not be executed if this property returns
23-
/// <see langword="false"/>, presumably as an optimisation.
24-
/// </para>
21+
/// If you return <see langword="false"/> then <see cref="GetResourceRequestHandler(IWebBrowser, IBrowser, IFrame, IRequest, bool, bool, string, ref bool)"/>
22+
/// will not be called.
2523
/// </remarks>
2624
bool HasHandlers { get; }
2725

0 commit comments

Comments
 (0)