Namespace: | Sirenix.OdinInspector.Editor.Internal |
Assembly: | Sirenix.OdinInspector.Editor |
public sealed class WeakReferenceEventListener<TListener>
where TListener : class
public WeakReferenceEventListener(Action<TListener, object[]> invokeEventOnListener)
System.Action<TListener, System.Object[]> | invokeEventOnListener |
public Action<TListener, object[]> InvokeEventOnListener
public List<WeakReference<TListener>> Listeners
public void DesubscribeListener(TListener listener)
TListener | listener |
public void InvokeEvent(object[] args)
System.Object[] | args |
public void SubscribeListener(TListener listener)
TListener | listener |