public void Handle(ISecurityEvent securityEvent) { if (securityEvent is ConfigurationEvent) FluentSecurityGlimpsePlugin.ConfigurationEvents.Add(securityEvent); else FluentSecurityGlimpsePlugin.RuntimeEvents.Enqueue(securityEvent); }
public void Handle(ISecurityEvent securityEvent) { try { EventListener.Invoke(securityEvent); } catch {} }
public void Handle(ISecurityEvent securityEvent) { try { EventListener.Invoke(securityEvent); } catch {} }
private static void AddRowForEvent(ISecurityEvent @event, TabSection section) { var milliseconds = @event.CompletedInMilliseconds.HasValue ? (@event.CompletedInMilliseconds.Value.ToString("0.00") + " ms").Replace(",", ".") : null; section.AddRow() .Column(@event.CorrelationId.ToString().Substring(0,15)) .Column(@event.Message) .Column(milliseconds) .WarnIf(@event.CompletedInMilliseconds > 10); }
public void Handle(ISecurityEvent securityEvent) { }
public void Handle(ISecurityEvent securityEvent) { }