Home SchemaOrPropertyList Class
SchemaOrPropertyList Class
Cancel

SchemaOrPropertyList Class

Namespace: Json.Schema

Inheritance: SchemaOrPropertyList 🡒 object

A holder for either a schema dependency or a requirements dependency.

Properties

NameTypeSummary
RequirementsList<string>The property dependency.
SchemaJsonSchemaThe schema dependency.

Constructors

SchemaOrPropertyList(JsonSchema schema)

Creates a schema dependency.

Declaration

1
public SchemaOrPropertyList(JsonSchema schema)
ParameterTypeDescription
schemaJsonSchemaThe schema dependency.

SchemaOrPropertyList(IEnumerable<string> requirements)

Creates a property dependency.

Declaration

1
public SchemaOrPropertyList(IEnumerable<string> requirements)
ParameterTypeDescription
requirementsIEnumerable<string>The property dependency.
Contents