private void SendRoleFSMStateNotifications(ref INotificationSender target, ref NotificationInfo[] list) { Notice notice = Pooling <Notice> .From(); int max = list.Length; for (int i = 0; i < max; i++) { target.Dispatch(list[i].noticeName, notice); } notice.ToPool(); }