Struct World.NoAllocReadOnlyCollection<T>
Read only collection that doesn't generate garbage when used in a foreach.
Namespace: Unity.Entities
Assembly: solution.dll
Syntax
public struct World.NoAllocReadOnlyCollection<T>
  Type Parameters
| Name | Description | 
|---|---|
| T | The list element type  | 
      
Constructors
| Name | Description | 
|---|---|
| NoAllocReadOnlyCollection(List<T>) | Construct a new instance  | 
      
Properties
| Name | Description | 
|---|---|
| Count | The number of list elements  | 
      
| this[int] | Look up a list element by index  | 
      
Methods
| Name | Description | 
|---|---|
| Contains(T) | Check if the list contains a specific element  | 
      
| GetEnumerator() | Get an enumerator interface to the list  |