internal Enumerator(TList list, ListElementProperty <TList, TElement> property) { m_List = list; m_Property = property; m_Previous = property.m_Index; m_Position = -1; }
/// <inheritdoc/> public bool TryGetProperty(ref TList container, int index, out IProperty <TList> property) { if ((uint)index >= (uint)container.Count) { property = null; return(false); } property = new ListElementProperty <TList, TElement> { m_Index = index, m_IsReadOnly = false }; return(true); }
public PropertyCollection(TList list, ListElementProperty <TList, TElement> property) { m_List = list; m_Property = property; }
public Enumerable(TList list, ListElementProperty property) { m_List = list; m_Property = property; }