protected override void OnValidationEnded(ValidationContext context) { if (context != null) { if (context.Categories == ValidationCategories.Menu && context.CurrentViolations.Count == 0) { Logger.Write( string.Format(CultureInfo.CurrentCulture, Properties.Resources.ValidationEndedMessage, Logger.Messages[TraceEventType.Error], Logger.Messages[TraceEventType.Warning], Logger.Messages[TraceEventType.Information]), TraceEventType.Information); } Logger.ResumeRefresh(); ValidationEngine.Reset(); } status.Clear(); }