JEnumerable Struct

Namespace: Stimulsoft.Base.Json.Linq

Represents a collection of JToken objects.

Inheritance

Implements: IJEnumerable, IEquatable<[JEnumerable](/Stimulsoft.Reports.Class.Reference.NET/Stimulsoft_Base/Json/Linq/JEnumerable.html)>

Constructors

Constructor Description
JEnumerable(IEnumerable enumerable) Initializes a new instance of the JEnumerable{T} struct.

JEnumerable(enumerable: IEnumerable)

Initializes a new instance of the JEnumerable{T} struct.

Parameters

  • enumerable (IEnumerable) — The enumerable.

Methods

Method Returns Description
Equals (+1 overloads) bool Determines whether the specified JEnumerable{T} is equal to this instance.
GetEnumerator IEnumerator Returns an enumerator that iterates through the collection.
GetHashCode int Returns a hash code for this instance.

Method Details

Equals

Equals(other: JEnumerable): bool

Determines whether the specified JEnumerable{T} is equal to this instance.

Parameters

  • other (JEnumerable) — The JEnumerable{T} to compare with this instance.

Returns bool — true if the specified JEnumerable{T} is equal to this instance; otherwise, false.


Equals(obj: object): bool

Determines whether the specified Object is equal to this instance.

Parameters

  • obj (object) — The Object to compare with this instance.

Returns bool — true if the specified Object is equal to this instance; otherwise, false.


GetEnumerator

GetEnumerator(): IEnumerator

Returns an enumerator that iterates through the collection.

Returns IEnumerator — A IEnumerator`1 that can be used to iterate through the collection.


GetHashCode

GetHashCode(): int

Returns a hash code for this instance.

Returns int — A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

Fields

Field Type Description
Empty JEnumerable An empty collection of JToken objects.