Click or drag to resize
Json.NET Schema

JSchemaUrlResolver Class

 
Resolves external JSON Schemas named by a Uniform Resource Identifier (URI).
Inheritance Hierarchy

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

The JSchemaUrlResolver type exposes the following members.

Constructors
  NameDescription
Public methodJSchemaUrlResolver
Initializes a new instance of the JSchemaResolver class.
Top
Properties
  NameDescription
Public propertyByteLimit
Gets or sets a value, in bytes, that determines the maximum download size allowed before failing.
Public propertyCredentials
Sets the credentials used to authenticate web requests.
(Overrides JSchemaResolverCredentials.)
Public propertyTimeout
Gets or sets a value, in milliseconds, that determines how long the download will attempt to download before timing out.
Top
Methods
  NameDescription
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