Gets an enumerator for the collection. An enumerator.
()
| 823 | /// <summary>Gets an enumerator for the collection.</summary> |
| 824 | /// <returns>An enumerator.</returns> |
| 825 | public IEnumerator<ModelNode> GetEnumerator() |
| 826 | { |
| 827 | int count = Count; |
| 828 | for (int i = 0; i < count; i++) |
| 829 | yield return new ModelNode(_model, NativeAPI.model_node_index(_model._inst, i)); |
| 830 | } |
| 831 | IEnumerator IEnumerable.GetEnumerator() => GetEnumerator(); |
| 832 | |
| 833 | /// <summary>This adds a root node to the `Model`'s node hierarchy! If |
nothing calls this directly
no test coverage detected