Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    EntityProcessorCollection Class

    Namespace: Stride.Engine
    Assembly: Stride.Engine.dll

    Ordered collection of EntityProcessor based on the Order property.

    System.Object → OrderedCollection<EntityProcessor> → EntityProcessorCollection
    Derived from EntityProcessorCollection:

    public class EntityProcessorCollection : OrderedCollection<EntityProcessor>, ICollection<EntityProcessor>, IEnumerable<EntityProcessor>, IEnumerable
    Name Description
    Constructors
    EntityProcessorCollection()

    Initializes a new instance of the EntityProcessorCollection class.

    EntityProcessorCollection(Int32)

    Initializes a new instance of the EntityProcessorCollection class.

    Methods
    Get<T>()

    Gets the first processor of the type T.

    | Improve this Doc View Source

    Constructors


    EntityProcessorCollection()

    Initializes a new instance of the EntityProcessorCollection class.

    public EntityProcessorCollection()

    EntityProcessorCollection(Int32)

    Initializes a new instance of the EntityProcessorCollection class.

    public EntityProcessorCollection(int capacity)
    Parameters
    Type Name Description
    System.Int32 capacity

    The capacity.

    | Improve this Doc View Source

    Methods


    Get<T>()

    Gets the first processor of the type T.

    public T Get<T>()
        where T : EntityProcessor
    Returns
    Type Description
    T

    The first processor of type T or null if not found.

    Type Parameters
    Name Description
    T

    Type of the processor


    Inherited Members

    OrderedCollection<EntityProcessor>.Capacity
    OrderedCollection<EntityProcessor>.Count
    OrderedCollection<EntityProcessor>.Item[Int32]
    OrderedCollection<EntityProcessor>.Add(EntityProcessor)
    OrderedCollection<EntityProcessor>.Clear()
    OrderedCollection<EntityProcessor>.Contains(EntityProcessor)
    OrderedCollection<EntityProcessor>.CopyTo(EntityProcessor[], Int32)
    OrderedCollection<EntityProcessor>.IndexOf(EntityProcessor)
    OrderedCollection<EntityProcessor>.Remove(EntityProcessor)
    OrderedCollection<EntityProcessor>.RemoveAt(Int32)
    OrderedCollection<EntityProcessor>.ClearItems()
    OrderedCollection<EntityProcessor>.AddItem(EntityProcessor)
    OrderedCollection<EntityProcessor>.RemoteItem(Int32)
    OrderedCollection<EntityProcessor>.IEnumerable<EntityProcessor>.GetEnumerator()
    OrderedCollection<EntityProcessor>.IEnumerable.GetEnumerator()
    OrderedCollection<EntityProcessor>.AddRange<TE>(TE)
    OrderedCollection<EntityProcessor>.GetEnumerator()
    OrderedCollection<EntityProcessor>.ICollection<EntityProcessor>.IsReadOnly
    OrderedCollection<EntityProcessor>.EnsureCapacity(Int32)

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    ArrayExtensions.ComputeHash<T>(ICollection<T>, IEqualityComparer<T>)
    EnumerableExtensions.IsNullOrEmpty(IEnumerable)
    EnumerableExtensions.ForEach<T>(IEnumerable, Action<T>)
    EnumerableExtensions.ForEach<T>(IEnumerable<T>, Action<T>)
    EnumerableExtensions.IndexOf<T>(IEnumerable<T>, Func<T, Boolean>)
    EnumerableExtensions.LastIndexOf<T>(IEnumerable<T>, Func<T, Boolean>)
    EnumerableExtensions.NotNull<T>(IEnumerable<T>)
    EnumerableExtensions.ToHashCode<T>(IEnumerable<T>)

    See Also

    OrderedCollection<T>
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation