public void RemoveOutputIoDescription(IoDescription desc) { if (desc == null || !this.outputIoDescriptions.Contains(desc)) { return; } this.outputIoDescriptions.Remove(desc); this.PerformPropertyChanged("OutputIoDescription"); }
public void AddInputIoDescription(IoDescription desc) { try { if (desc == null || this.inputIoDescriptions.Contains(desc)) { return; } this.inputIoDescriptions.Add(desc); this.PerformPropertyChanged("InputIoDescription"); } catch (Exception exp) { throw; } }