JUtils
A unity utilities library
JUtils.EventChannelExtensions Class Reference

Useful extensions for dealing with BaseEventChannel<T>> More...

Static Public Member Functions

static void Invoke< T > ([CanBeNull] this BaseEventChannel< T > eventChannel, T argument)
 Raise an event on an BaseEventChannel<T>. More...
 
static void Invoke ([CanBeNull] this EventChannel eventChannel)
 Raise an event on an EventChannel>. More...
 

Detailed Description

Useful extensions for dealing with BaseEventChannel<T>>

Member Function Documentation

◆ Invoke()

static void JUtils.EventChannelExtensions.Invoke ( [CanBeNull] this EventChannel  eventChannel)
inlinestatic

Raise an event on an EventChannel>.

This automatically checks if the channel is null

◆ Invoke< T >()

static void JUtils.EventChannelExtensions.Invoke< T > ( [CanBeNull] this BaseEventChannel< T >  eventChannel,
argument 
)
inlinestatic

Raise an event on an BaseEventChannel<T>.

This automatically checks if the channel is null


The documentation for this class was generated from the following file: