Click or drag to resize
Json.NET Schema

JSchemaUrlResolverGetSchemaResource Method

 
Gets the schema resource for a given schema reference.

Namespace:  Newtonsoft.Json.Schema
Assembly:  Newtonsoft.Json.Schema (in Newtonsoft.Json.Schema.dll) Version: 3.0.6
Syntax
C#
public override Stream GetSchemaResource(
	ResolveSchemaContext context,
	SchemaReference reference
)

Parameters

context
Type: Newtonsoft.Json.SchemaResolveSchemaContext
The schema ID context.
reference
Type: Newtonsoft.Json.SchemaSchemaReference
The schema reference.

Return Value

Type: Stream
The schema resource for a given schema reference.
See Also