Нет описания
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

ISchemeRegistrar.cs 1.1KB

12345678910111213141516171819202122232425262728
  1. // Copyright © 2018 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 CefSharp.Enums;
  5. namespace CefSharp
  6. {
  7. /// <summary>
  8. /// Manages custom scheme registrations.
  9. /// </summary>
  10. public interface ISchemeRegistrar
  11. {
  12. /// <summary>
  13. /// Register a custom scheme. This method should not be called for the built-in
  14. /// HTTP, HTTPS, FILE, FTP, ABOUT and DATA schemes.
  15. ///
  16. /// See <see cref="SchemeOptions"/> for possible values for <paramref name="schemeOptions"/>
  17. ///
  18. /// This function may be called on any thread. It should only be called once
  19. /// per unique <paramref name="schemeName"/> value.
  20. /// </summary>
  21. /// <param name="schemeName">scheme name</param>
  22. /// <param name="schemeOptions">scheme options</param>
  23. /// <returns>If <paramref name="schemeName"/> is already registered or if an error occurs this method will return false.</returns>
  24. bool AddCustomScheme(string schemeName, SchemeOptions schemeOptions);
  25. }
  26. }