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