Home FetchFunc Delegate
FetchFunc Delegate
Cancel

FetchFunc Delegate

FetchFunc Delegate

Namespace: Json.Schema.Api.OpenApi

Inheritance: FetchFunc 🡒 MulticastDelegate 🡒 Delegate 🡒 object

Implemented interfaces:

  • ICloneable
  • ISerializable

Retrieves the document identified by.

Declaration

1
public delegate Task<JsonElement?> FetchFunc(Uri uri)

Remarks

The fetched value is the entire external document. The $ref’s URI fragment is then evaluated against it as a JSON Pointer to locate the referenced component, which may be any component type.

ParameterTypeDescription
uriUriThe resource URI

Returns

The document content, or null if it could not be retrieved.

Contents