ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript
DefaultDocumentLoader Class
DefaultDocumentLoader Constructor
DefaultDocumentLoader Properties
DefaultDocumentLoader Methods

# DefaultDocumentLoader Class

Provides a default DocumentLoader implementation.
Inheritance Hierarchy
SystemObject
Microsoft.ClearScriptDocumentLoader
Microsoft.ClearScriptDefaultDocumentLoader
Namespace: Microsoft.ClearScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    public class DefaultDocumentLoader : DocumentLoader

    Public Class DefaultDocumentLoader
    	Inherits DocumentLoader

    public ref class DefaultDocumentLoader : public DocumentLoader

    type DefaultDocumentLoader =
        class
            inherit DocumentLoader
        end

The DefaultDocumentLoader type exposes the following members.

Constructors

| Name | Description
--- | --- | ---
| DefaultDocumentLoader | Initializes a new DefaultDocumentLoader instance.

Top
Properties

| Name | Description
--- | --- | ---
| MaxCacheSize | Gets or sets the maximum size of the document loader's cache. (Overrides DocumentLoaderMaxCacheSize)

Top
Methods

| Name | Description
--- | --- | ---
| CacheDocument | Stores a document in the cache. (Overrides DocumentLoaderCacheDocument(Document, Boolean))
| DiscardCachedDocuments | Discards all cached documents. (Overrides DocumentLoaderDiscardCachedDocuments)
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object)
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object)
| GetCachedDocument | Searches for a cached document by URI. (Overrides DocumentLoaderGetCachedDocument(Uri))
| GetHashCode | Serves as the default hash function. (Inherited from Object)
| GetType | Gets the Type of the current instance. (Inherited from Object)
| LoadDocument | Loads a document. (Inherited from DocumentLoader)
| LoadDocumentAsync | Loads a document asynchronously. (Overrides DocumentLoaderLoadDocumentAsync(DocumentSettings, NullableDocumentInfo, String, DocumentCategory, DocumentContextCallback))
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object)
| ToString | Returns a string that represents the current object. (Inherited from Object)

Top
See Also

#### Reference

Microsoft.ClearScript Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft