Terraria v1.4.4.9
Terraria source code documentation
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros

◆ OnReport()

virtual void System.Progress< T >.OnReport ( T value)
inlineprotectedvirtual

Definition at line 27 of file Progress.cs.

28 {
29 Action<T> handler = _handler;
30 EventHandler<T> progressChanged = this.ProgressChanged;
31 if (handler != null || progressChanged != null)
32 {
34 }
35 }
readonly SynchronizationContext _synchronizationContext
Definition Progress.cs:7
readonly Action< T > _handler
Definition Progress.cs:9
EventHandler< T >? ProgressChanged
Definition Progress.cs:13
readonly SendOrPostCallback _invokeHandlers
Definition Progress.cs:11
virtual void Post(SendOrPostCallback d, object? state)

References System.Progress< T >._handler, System.Progress< T >._invokeHandlers, System.Progress< T >._synchronizationContext, System.Threading.SynchronizationContext.Post(), System.Progress< T >.ProgressChanged, and System.value.

Referenced by System.Progress< T >.Report().