Без опису
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

IResolveCallback.cs 981B

12345678910111213141516171819202122232425262728
  1. // Copyright © 2015 The CefSharp Authors. All rights reserved.
  2. //
  3. // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
  4. using System;
  5. using System.Collections.Generic;
  6. namespace CefSharp
  7. {
  8. /// <summary>
  9. /// Callback interface for <see cref="IRequestContext.ResolveHostAsync(Uri)"/>
  10. /// </summary>
  11. public interface IResolveCallback : IDisposable
  12. {
  13. /// <summary>
  14. /// Called after the ResolveHost request has completed.
  15. /// </summary>
  16. /// <param name="result">The result code</param>
  17. /// <param name="resolvedIpAddresses">will be the list of resolved IP addresses or
  18. /// empty if the resolution failed.</param>
  19. void OnResolveCompleted(CefErrorCode result, IList<string> resolvedIpAddresses);
  20. /// <summary>
  21. /// Gets a value indicating whether the callback has been disposed of.
  22. /// </summary>
  23. bool IsDisposed { get; }
  24. }
  25. }