[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]//U¿ywane przez AttachNotifications //Used via reflection // ReSharper disable UnusedMember.Local private void HandleSimpleNotification(object sender, NotificationEventArgs args) // ReSharper restore UnusedMember.Local { if (sender == null) { throw new ArgumentNullException("sender"); } if (args == null) { throw new ArgumentNullException("args"); } Notification notification = args.CreateNotification(_notifType, sender); _support.SendNotification(notification); }