private void BtnUpdateInfo_Click(object sender, EventArgs e) { UpdateInfo.Invoke(sender, e); }
private void ThreatEventRemoved([NotNull] IThreatEventsContainer container, [NotNull] IThreatEvent threatEvent) { threatEvent.ThreatEventMitigationAdded -= Update; threatEvent.ThreatEventMitigationRemoved -= Update; UpdateInfo?.Invoke(this.GetExtensionId(), CurrentStatus); }
private void Update([NotNull] IThreatEventsContainer container, [NotNull] IThreatEvent threatEvent) { // ReSharper disable once SuspiciousTypeConversion.Global ((INotifyPropertyChanged)threatEvent).PropertyChanged += OnPropertyChanged; UpdateInfo?.Invoke(this.GetExtensionId(), CurrentStatus); }
private void Update(IThreatTypeMitigationsContainer arg1, IThreatTypeMitigation arg2) { UpdateInfo?.Invoke(this.GetExtensionId(), CurrentStatus); }
private void Update(IThreatEventMitigationsContainer container, IThreatEventMitigation mitigation) { UpdateInfo?.Invoke(this.GetExtensionId(), CurrentStatus); }
private void Update([NotNull] IThreatEventsContainer container, [NotNull] IThreatEvent threatEvent) { UpdateInfo?.Invoke(this.GetExtensionId(), CurrentStatus); }