Skip to content

IJsonSchemaResultsCollector.EvaluatedKeywordForProperty Method

Definition

Namespace: Corvus.Text.Json
Assembly: Corvus.Text.Json.dll

Overloads

Method Description
EvaluatedKeywordForProperty(bool, JsonSchemaMessageProvider, ReadOnlySpan<byte>, ReadOnlySpan<byte>) Updates the match state for the given keyword evaluated against the given property.
EvaluatedKeywordForProperty(bool, TProviderContext, JsonSchemaMessageProvider<TProviderContext>, ReadOnlySpan<byte>, ReadOnlySpan<byte>) Updates the match state for the given keyword evaluated against the given property.

EvaluatedKeywordForProperty(bool, JsonSchemaMessageProvider, ReadOnlySpan<byte>, ReadOnlySpan<byte>)

Source: IJsonSchemaResultsCollector.cs

Updates the match state for the given keyword evaluated against the given property.

public abstract void EvaluatedKeywordForProperty(bool isMatch, JsonSchemaMessageProvider messageProvider, ReadOnlySpan<byte> propertyName, ReadOnlySpan<byte> encodedKeyword)

Parameters

Name Type Description
isMatch bool If true then this indicates that the current context produced a successful match.
messageProvider JsonSchemaMessageProvider The (optional) provider for a JSON schema evaluation message.
propertyName ReadOnlySpan<byte> The name of the property for which to begin a child context.
encodedKeyword ReadOnlySpan<byte> The keyword that was evaluated.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

EvaluatedKeywordForProperty(bool, TProviderContext, JsonSchemaMessageProvider<TProviderContext>, ReadOnlySpan<byte>, ReadOnlySpan<byte>)

Source: IJsonSchemaResultsCollector.cs

Updates the match state for the given keyword evaluated against the given property.

public abstract void EvaluatedKeywordForProperty<TProviderContext>(bool isMatch, TProviderContext providerContext, JsonSchemaMessageProvider<TProviderContext> messageProvider, ReadOnlySpan<byte> propertyName, ReadOnlySpan<byte> encodedKeyword)

Parameters

Name Type Description
isMatch bool If true then this indicates that the current context produced a successful match.
providerContext TProviderContext The context to provide to the providers.
messageProvider JsonSchemaMessageProvider<TProviderContext> The (optional) provider for a JSON schema evaluation message.
propertyName ReadOnlySpan<byte> The name of the property for which to begin a child context.
encodedKeyword ReadOnlySpan<byte> The keyword that was evaluated.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests.

Open an issue