FastenUp
Search Results for

    Show / Hide Table of Contents

    Class BaseBindableEvent<T>

    Base class for bindable events that provides the ability to subscribe to the event in the bind Unity components.

    Inheritance
    Object
    BaseBindableEvent<T>
    BindableEvent
    BindableEvent<T>
    Implements
    IBindableEvent<T>
    IBindable
    IDisposable
    Namespace: FastenUp.Runtime.Bindables
    Assembly: cs.temp.dll.dll
    Syntax
    public abstract class BaseBindableEvent<T> : IBindableEvent<T>, IBindable
    Type Parameters
    Name Description
    T

    Type of the delegate to subscribe that is used in the bind Unity components.

    Methods

    AddListener(T)

    Subscribes the listener to the event.

    Declaration
    public void AddListener(T action)
    Parameters
    Type Name Description
    T action

    The action to subscribe to the event.

    Dispose()

    Declaration
    public void Dispose()

    HasListeners(T)

    Checks if the event has any listeners.

    Declaration
    public bool HasListeners(T action)
    Parameters
    Type Name Description
    T action

    The action to check for listeners.

    Returns
    Type Description
    Boolean

    True if the listener was subscribed to the event. False otherwise.

    RemoveListener(T)

    Unsubscribes the listener from the event.

    Declaration
    public void RemoveListener(T action)
    Parameters
    Type Name Description
    T action

    The action to unsubscribe from the event.

    Implements

    IBindableEvent<T>
    IBindable
    IDisposable
    In This Article
    Back to top Generated by DocFX