Click or drag to resize
Json.NET Schema

JSchemaPreloadedResolverAdd Method (Uri, Stream)

 
Adds a Stream for a schema to the JSchemaPreloadedResolver store and maps it to a URI.

Namespace:  Newtonsoft.Json.Schema
Assembly:  Newtonsoft.Json.Schema (in Newtonsoft.Json.Schema.dll) Version: 3.0.6
Syntax
C#
public void Add(
	Uri uri,
	Stream value
)

Parameters

uri
Type: SystemUri
The URI of the schema that is being added to the JSchemaPreloadedResolver store.
value
Type: System.IOStream
The Stream for a schema that corresponds to the provided URI.
See Also