CmisSync.Lib.Queueing.SyncEventManager.Handle C# (CSharp) Méthode

Handle() public méthode

Handle the specified event.
public Handle ( ISyncEvent e ) : void
e ISyncEvent /// Event to handle. ///
Résultat void
        public void Handle(ISyncEvent e) {
            for (int i = this.handler.Count - 1; i >= 0; i--) {
                var h = this.handler[i];
                if (h.Handle(e)) {
                    if (!(e is IRemoveFromLoggingEvent)) {
                        Logger.Debug(string.Format("Event {0} was handled by {1}", e.ToString(), h.GetType()));
                    }

                    return;
                }
            }
        }