JSchemaPreloadedResolver Class |
Namespace: Newtonsoft.Json.Schema
public class JSchemaPreloadedResolver : JSchemaResolver
The JSchemaPreloadedResolver type exposes the following members.
| Name | Description | |
|---|---|---|
| JSchemaPreloadedResolver |
Initializes a new instance of the JSchemaPreloadedResolver class.
| |
| JSchemaPreloadedResolver(JSchemaResolver) |
Initializes a new instance of the JSchemaPreloadedResolver class with the specified fallback resolver.
|
| Name | Description | |
|---|---|---|
| Credentials |
Sets the credentials used to authenticate web requests.
(Inherited from JSchemaResolver.) | |
| PreloadedUris |
Gets a collection of preloaded URIs.
|
| Name | Description | |
|---|---|---|
| Add(Uri, Byte) |
Adds a byte array for a schema to the JSchemaPreloadedResolver store and maps it to a URI.
| |
| Add(Uri, Stream) |
Adds a Stream for a schema to the JSchemaPreloadedResolver store and maps it to a URI.
| |
| Add(Uri, String) |
Adds a String for a schema to the JSchemaPreloadedResolver store and maps it to a URI.
| |
| 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.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetSchemaResource |
Gets the schema resource for a given schema reference.
(Overrides JSchemaResolverGetSchemaResource(ResolveSchemaContext, SchemaReference).) | |
| GetSubschema |
Finds a subschema using the given schema reference.
(Inherited from JSchemaResolver.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ResolveSchemaReference |
Resolves the schema reference from the specified schema ID context.
(Inherited from JSchemaResolver.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |