Click or drag to resize
Json.NET Schema

JSchemaPreloadedResolver Class

 
Resolves external JSON Schemas named by a Uniform Resource Identifier (URI) using cached schemas.
Inheritance Hierarchy
SystemObject
  Newtonsoft.Json.SchemaJSchemaResolver
    Newtonsoft.Json.SchemaJSchemaPreloadedResolver

Namespace:  Newtonsoft.Json.Schema
Assembly:  Newtonsoft.Json.Schema (in Newtonsoft.Json.Schema.dll) Version: 3.0.6
Syntax
C#
public class JSchemaPreloadedResolver : JSchemaResolver

The JSchemaPreloadedResolver type exposes the following members.

Constructors
  NameDescription
Public methodJSchemaPreloadedResolver
Initializes a new instance of the JSchemaPreloadedResolver class.
Public methodJSchemaPreloadedResolver(JSchemaResolver)
Initializes a new instance of the JSchemaPreloadedResolver class with the specified fallback resolver.
Top
Properties
  NameDescription
Public propertyCredentials
Sets the credentials used to authenticate web requests.
(Inherited from JSchemaResolver.)
Public propertyPreloadedUris
Gets a collection of preloaded URIs.
Top
Methods
  NameDescription
Public methodAdd(Uri, Byte)
Adds a byte array for a schema to the JSchemaPreloadedResolver store and maps it to a URI.
Public methodAdd(Uri, Stream)
Adds a Stream for a schema to the JSchemaPreloadedResolver store and maps it to a URI.
Public methodAdd(Uri, String)
Adds a String for a schema to the JSchemaPreloadedResolver store and maps it to a URI.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetSchemaResource
Gets the schema resource for a given schema reference.
(Overrides JSchemaResolverGetSchemaResource(ResolveSchemaContext, SchemaReference).)
Public methodGetSubschema
Finds a subschema using the given schema reference.
(Inherited from JSchemaResolver.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodResolveSchemaReference
Resolves the schema reference from the specified schema ID context.
(Inherited from JSchemaResolver.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also