Example #1
0
 public void Release(BaseEventArgs eventArgs)
 {
     // Clean up fields in event args instance, if needed.
     RefPoolService.GetOrAdd(eventArgs.GetType()).ReleaseObject(eventArgs);
 }
Example #2
0
 private void OnHearEvent2(object sender, BaseEventArgs eventArgs)
 {
     Log.Info(eventArgs.GetType().Name);
 }