Home UnevaluatedPropertiesIntent Class
UnevaluatedPropertiesIntent Class
Cancel

UnevaluatedPropertiesIntent Class

Namespace: Json.Schema.Generation.Intents

Inheritance: UnevaluatedPropertiesIntent 🡒 object

Implemented interfaces:

  • ISchemaKeywordIntent
  • IContextContainer

Provides intent to create an unevaluatedProperties keyword.

Properties

NameTypeSummary
ContextSchemaGenerationContextBaseThe context that represents the inner requirements.

Constructors

UnevaluatedPropertiesIntent(SchemaGenerationContextBase context)

Creates a new Json.Schema.Generation.Intents.UnevaluatedPropertiesIntent instance.

Declaration

1
public UnevaluatedPropertiesIntent(SchemaGenerationContextBase context)
ParameterTypeDescription
contextSchemaGenerationContextBaseThe context, or null to apply the false schema.

Methods

Apply(JsonSchemaBuilder builder)

Applies the keyword to the Json.Schema.JsonSchemaBuilder.

Declaration

1
public void Apply(JsonSchemaBuilder builder)
ParameterTypeDescription
builderJsonSchemaBuilderThe builder.

Replace(int hashCode, SchemaGenerationContextBase newContext)

Replaces one context with another.

Declaration

1
public void Replace(int hashCode, SchemaGenerationContextBase newContext)
ParameterTypeDescription
hashCodeintThe hashcode of the context to replace.
newContextSchemaGenerationContextBaseThe new context.
Contents