Search Results for

    Show / Hide Table of Contents

    Class EntityManager.EntityTagCollection

    This class represents a collection of entities of this EntityManager that have the specified tag.

    Inheritance
    object
    DisposableObject
    EntityManager.EntityTagCollection
    Inherited Members
    DisposableObject.Disposed
    DisposableObject.Dispose()
    DisposableObject.Dispose(bool)
    Namespace: Evergine.Framework.Managers
    Assembly: Evergine.Framework.dll
    Syntax
    public class EntityManager.EntityTagCollection : DisposableObject

    Constructors

    EntityTagCollection(string)

    Initializes a new instance of the EntityManager.EntityTagCollection class.

    Declaration
    public EntityTagCollection(string tag)
    Parameters
    Type Name Description
    string tag

    The tag used for filtering.

    Fields

    Tag

    The filtered tag.

    Declaration
    public readonly string Tag
    Field Value
    Type Description
    string

    Properties

    Entities

    Gets all entities filtered by tag.

    Declaration
    public IEnumerable<Entity> Entities { get; }
    Property Value
    Type Description
    IEnumerable<Entity>

    Methods

    Destroy()

    Destroys all resources of this instance.

    Declaration
    protected override void Destroy()
    Overrides
    DisposableObject.Destroy()

    Events

    OnEntityAdded

    Event fires when an entity is added to this collection.

    Declaration
    public event EventHandler<Entity> OnEntityAdded
    Event Type
    Type Description
    EventHandler<Entity>

    OnEntityRemoved

    Event that is fired when an entity has been removed from this collection.

    Declaration
    public event EventHandler<Entity> OnEntityRemoved
    Event Type
    Type Description
    EventHandler<Entity>

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX