Пример #1
0
 internal virtual void RaiseOnNotify(SvnNotifyEventArgs e)
 {
     switch (e.Action)
     {
     case SvnNotifyAction.LockFailedLock:
     case SvnNotifyAction.LockFailedUnlock:
     case SvnNotifyAction.PropertyDeletedNonExistent:
     case SvnNotifyAction.ExternalFailed:
         if (e.Error != null)
         {
             _warnings = SvnBase.ExtendArray(_warnings, e.Error);
         }
         break;
     }
     OnNotify(e);
 }
Пример #2
0
 internal virtual void HandleClientNotify(SvnNotifyEventArgs e)
 {
     CurrentCommandArgs?.RaiseOnNotify(e);
 }
Пример #3
0
 /// <summary>Raises the <see cref="Notify" /> event</summary>
 protected virtual void OnNotify(SvnNotifyEventArgs e)
 {
     Notify?.Invoke(this, e);
 }
Пример #4
0
        internal override sealed void HandleClientNotify(SvnNotifyEventArgs e)
        {
            base.HandleClientNotify(e);

            OnNotify(e);
        }