Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    EventKeyBase<T> Class

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

    Creates a new EventKey used to broadcast T type events.

    System.Object → EventKeyBase<T>
    Derived from EventKeyBase<T>: EventKey EventKey<T>

    public class EventKeyBase<T> : IDisposable
    Type Parameters
    Name Description
    T

    The data type of the event you wish to send

    Name Description
    Methods
    Dispose()
    Finalize()
    InternalBroadcast(T)
    | Improve this Doc View Source

    Methods


    Dispose()

    public void Dispose()

    Finalize()

    protected void Finalize()

    InternalBroadcast(T)

    protected void InternalBroadcast(T data)
    Parameters
    Type Name Description
    T data

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

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