void ActionOnExecuted(object sender, ActionBaseEventArgs actionBaseEventArgs) {
     if (View != null && View.ObjectTypeInfo.Type != typeof(ValidationResults)) {
         ValidationTargetObjectSelector deleteSelector = new ActionExecuteContextTargetObjectSelector();
         SubscribeSelectorEvents(deleteSelector);
         var selectedObjects = ((SimpleActionExecuteEventArgs)actionBaseEventArgs).SelectedObjects;
         var context = actionBaseEventArgs.Action.Id;
         var contextValidatingEventArgs = new ContextValidatingEventArgs(context, new ArrayList(selectedObjects));
         OnContextValidating(contextValidatingEventArgs);
         if (View.ObjectTypeInfo.IsPersistent && CanAccessDeletedObjects(context)&&!_otherValidationContextFailed)
             Validator.RuleSet.ValidateAll(ObjectSpace, contextValidatingEventArgs.TargetObjects, context, CustomizeDeleteValidationException);
         _otherValidationContextFailed = false;
     }
 }
 void ActionOnExecuted(object sender, ActionBaseEventArgs actionBaseEventArgs)
 {
     if (View != null && View.ObjectTypeInfo.Type != typeof(ValidationResults))
     {
         ValidationTargetObjectSelector deleteSelector = new ActionExecuteContextTargetObjectSelector();
         SubscribeSelectorEvents(deleteSelector);
         var selectedObjects            = ((SimpleActionExecuteEventArgs)actionBaseEventArgs).SelectedObjects;
         var context                    = actionBaseEventArgs.Action.Id;
         var contextValidatingEventArgs = new ContextValidatingEventArgs(context, new ArrayList(selectedObjects));
         OnContextValidating(contextValidatingEventArgs);
         if (View.ObjectTypeInfo.IsPersistent && CanAccessDeletedObjects(context) && !_otherValidationContextFailed)
         {
             Validator.RuleSet.ValidateAll(ObjectSpace, contextValidatingEventArgs.TargetObjects, context, CustomizeDeleteValidationException);
         }
         _otherValidationContextFailed = false;
     }
 }