示例#1
0
 /// <summary>
 /// Event für alle Ereignisse (Löschen, Ändern und Neu)
 /// </summary>
 /// <param name="type">Ein Element der <seealso cref="ItemNotificationType"/> Auflistung.</param>
 /// <param name="pArchiveSource">Das betroffene David Archiv.</param>
 /// <param name="pItems">Die betroffenen MessageItem2 Instanzen.</param>
 void DoItemNotificationEvent(ItemNotificationType type, Archive pArchiveSource, IArchiveNotifyItems pItems)
 {
     if (ItemNotificationEvent != null)
     {
         ItemNotificationEvent.Invoke(this, new ItemNotificationEventArgs(type, pItems, pArchiveSource));
     }
 }
示例#2
0
 /// <summary>
 /// Erzeugt eine neue Instanz der <seealso cref="ItemNotificationEventArgs"/> Klasse.
 /// </summary>
 /// <param name="itemNotificationType">Benachrichtigungstyp.</param>
 /// <param name="msgItems2"></param>
 /// <param name="archive"></param>
 public ItemNotificationEventArgs(ItemNotificationType itemNotificationType, IArchiveNotifyItems msgItems2, Archive archive)
 {
     NotificationType = itemNotificationType;
     MsgItems2        = msgItems2;
     SourceArchive    = archive;
 }