Table of Contents

Interface IEzrEnumerable

Namespace
EzrSquared.Runtime.Types.Collections
Assembly
ezrSquared-lib.dll

A read-only collection of IEzrObjects.

public interface IEzrEnumerable : IEzrObject
Inherited Members

Methods

GetEnumerator(RuntimeResult)

Similar to System.Collections.Generic.IEnumerable<T>.GetEnumerator().

IEnumerator<IEzrObject> GetEnumerator(RuntimeResult result)

Parameters

result RuntimeResult

Runtime result for carrying errors.

Returns

IEnumerator<IEzrObject>

The System.Collections.Generic.IEnumerator<T>.

Remarks

Use this when exposing the enumerator to the ezrĀ² runtime. For example, this is used by EzrDictionary to copy read-only keys so that they can't be edited at runtime.