Interface IEzrDictionary
- Namespace
- EzrSquared.Runtime.Types.Collections
- Assembly
- ezrSquared-lib.dll
Interface for a keyed collection of ezrĀ² objects.
public interface IEzrDictionary : IEzrEnumerable, IEzrObject
- Inherited Members
Methods
At(IEzrObject, RuntimeResult)
Gets the object at the specified key.
IEzrObject At(IEzrObject key, RuntimeResult result)
Parameters
key
IEzrObjectThe key.
result
RuntimeResultRuntime result for operations on the
key
.
Returns
- IEzrObject
The object at the key.
TryAt(IEzrObject, RuntimeResult)
Tries to get the object at the specified key.
IEzrObject? TryAt(IEzrObject key, RuntimeResult result)
Parameters
key
IEzrObjectThe key.
result
RuntimeResultRuntime result for operations on the
key
.
Returns
- IEzrObject
The object at the key or null if not found or something went wrong.