Click or drag to resize

JsonLdProcessorOptionsDocumentLoader Property

The callback of the loader to be used to retrieve remote documents and contexts.

Namespace:  VDS.RDF.JsonLd
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public Func<Uri, JsonLdLoaderOptions, RemoteDocument> DocumentLoader { get; set; }

Property Value

Type: FuncUri, JsonLdLoaderOptions, RemoteDocument
Remarks

If specified, the DocumentLoader is used to retrieve remote documents and contexts; otherwise, if not specified, the processor's built-in loader is used.

If the function returns null or throws an exception, it will be assumed that dereferencing the IRI has failed.

See Also