BrightIdeasSoftware.ObjectListView.SubscribeNotifications C# (CSharp) Method

SubscribeNotifications() private method

private SubscribeNotifications ( IEnumerable models ) : void
models IEnumerable
return void
        private void SubscribeNotifications(IEnumerable models)
        {
            if (!this.UseNotifyPropertyChanged || models == null)
                return;
            foreach (object x in models) {
                INotifyPropertyChanged notifier = x as INotifyPropertyChanged;
                if (notifier != null && !subscribedModels.ContainsKey(notifier)) {
                    notifier.PropertyChanged += HandleModelOnPropertyChanged;
                    subscribedModels[notifier] = notifier;
                }
            }
        }
ObjectListView