Exemple #1
0
 private void AddAddEvent(SystemEntity obj)
 {
     if (Added.All(info => info.ObjectBase != obj))
     {
         EventInfo eventInfo = obj.GetEventInfo();
         Added.Add(eventInfo);
         eventInfo.PreTransactionHandled = true;
         eventInfo.Publish(this, typeof(IOnAdding <>),
                           (info, ses, t) => info.GetTypedInfo(t).ToAddingArgs(ses, t));
     }
 }