docs.unity.cn
    Show / Hide Table of Contents

    Struct World.NoAllocReadOnlyCollection<T>

    Read only collection that doesn't generate garbage when used in a foreach.

    Namespace: Unity.Entities
    Syntax
    public struct NoAllocReadOnlyCollection<T> : IEnumerable<T>, IEnumerable
    Type Parameters
    Name Description
    T

    Constructors

    Name Description
    NoAllocReadOnlyCollection(List<T>)

    Properties

    Name Description
    Count
    Item[Int32]

    Methods

    Name Description
    Contains(T)
    GetEnumerator()

    Extension Methods

    EnumerableHelpers.DistinctBy<TSource, TKey>(IEnumerable<TSource>, Func<TSource, TKey>)
    EnumerableHelpers.FindDuplicatesBy<TSource, TKey>(IEnumerable<TSource>, Func<TSource, TKey>)
    EnumerableHelpers.IsStructurallyEqualTo<T>(IEnumerable<T>, IEnumerable<T>)
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, July 6, 2022
    Terms of use