Home DynamicScope Class
DynamicScope Class
Cancel

DynamicScope Class

Namespace: Json.Schema

Inheritance: DynamicScope 🡒 object

Implemented interfaces:

  • IEnumerable<Uri>
  • IEnumerable
  • IEquatable<DynamicScope>

Tracks the dynamic scope during schema evaluation.

Remarks

Dynamic scope is the collection of URIs (defined by $id) represented by the evaluation path.

Properties

NameTypeSummary
LocalScopeUriGets the local scope, or the most recent schema URI encountered.

Methods

Equals(DynamicScope other)

Indicates whether the current object is equal to another object of the same type.

Declaration

1
public bool Equals(DynamicScope other)
ParameterTypeDescription
otherDynamicScopeAn object to compare with this object.

Returns

true if the current object is equal to theother parameter; otherwise, false.

Equals(object obj)

Determines whether the specified object is equal to the current object.

Declaration

1
public override bool Equals(object obj)
ParameterTypeDescription
objobjectThe object to compare with the current object.

Returns

true if the specified object is equal to the current object; otherwise, false.

GetEnumerator()

Returns an enumerator that iterates through the collection.

Declaration

1
public IEnumerator<Uri> GetEnumerator()

Returns

An enumerator that can be used to iterate through the collection.

GetHashCode()

Serves as the default hash function.

Declaration

1
public override int GetHashCode()

Returns

A hash code for the current object.

Contents