Movatterモバイル変換


[0]ホーム

URL:


CefSharp API Doc
CefSharp API Doc
Namespaces
CefSharp.SchemeHandler
FolderSchemeHandlerFactory Class
FolderSchemeHandlerFactory Constructor
FolderSchemeHandlerFactory Methods
FolderSchemeHandlerFactory Fields
Click or drag to resizeClick or drag to resize

FolderSchemeHandlerFactory Class

Version 118.6.80
FolderSchemeHandlerFactory is a very simple scheme handler that allows you to map requests for urls to a folder on your file system. For example creating a setting the rootFolder to c:\projects\CefSharp\CefSharp.Example\Resources registering the scheme handler
Inheritance Hierarchy
SystemObject
  CefSharp.SchemeHandlerFolderSchemeHandlerFactory

Namespace:  CefSharp.SchemeHandler
Assembly:  CefSharp (in CefSharp.dll) Version: 118.6.80.0 (118.6.80.0)
Syntax
publicclassFolderSchemeHandlerFactory :ISchemeHandlerFactory
publicref classFolderSchemeHandlerFactory :ISchemeHandlerFactory

TheFolderSchemeHandlerFactory type exposes the following members.

Constructors
 NameDescription
Public methodFolderSchemeHandlerFactory
Initialize a new instance of FolderSchemeHandlerFactory
Top
Methods
 NameDescription
Protected methodCreate
If the file requested is within the rootFolder then a IResourceHandler reference to the file requested will be returned otherwise a 404 ResourceHandler will be returned.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited fromObject.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited fromObject.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited fromObject.)
Public methodGetType
Gets theType of the current instance.
(Inherited fromObject.)
Protected methodMemberwiseClone
Creates a shallow copy of the currentObject.
(Inherited fromObject.)
Public methodToString
Returns a string that represents the current object.
(Inherited fromObject.)
Top
Fields
 NameDescription
Public fieldStatic memberGetMimeTypeDelegate
GetMimeType(String) is being deprecated in favour of using Chromiums native mimeType lookup which is accessible using Cef.GetMimeType, this method is however not directly available as it exists in CefSharp.Core, to get around this we set this static delegate with a reference to Cef.GetMimeType when Cef.Initialize is called.
Top
See Also

Reference

CefSharp.SchemeHandler Namespace

https://raw.githubusercontent.com/cefsharp/CefSharp/master/LICENSE


[8]ページ先頭

©2009-2025 Movatter.jp