Пример #1
0
        public void RemoveOutputIoDescription(IoDescription desc)
        {
            if (desc == null || !this.outputIoDescriptions.Contains(desc))
            {
                return;
            }

            this.outputIoDescriptions.Remove(desc);
            this.PerformPropertyChanged("OutputIoDescription");
        }
Пример #2
0
        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;
            }
        }