The enumerator for the collection's KeyValuePairs. Each consecutive pair in the collection.
()
| 797 | /// <summary>The enumerator for the collection's KeyValuePairs.</summary> |
| 798 | /// <returns>Each consecutive pair in the collection.</returns> |
| 799 | public IEnumerator<KeyValuePair<string, string>> GetEnumerator() |
| 800 | { |
| 801 | int iterator = 0; |
| 802 | while (NativeAPI.model_node_info_iterate(_model, _nodeId, ref iterator, out IntPtr key, out IntPtr val)) |
| 803 | yield return new KeyValuePair<string, string>(NativeHelper.FromUtf8(key), NativeHelper.FromUtf8(val)); |
| 804 | } |
| 805 | |
| 806 | IEnumerator IEnumerable.GetEnumerator() => GetEnumerator(); |
| 807 | } |
nothing calls this directly
no test coverage detected