Пример #1
0
        private void CreateCollection()
        {
            Contract.Ensures(_items != null);
            Contract.Ensures(_changeTracker != null);

            if (_items != null)
            {
                return;
            }

            _items         = new ObservableCollection <CodeReferenceConfigurationItem>();
            _changeTracker = new ObservablePropertyChangeTracker <CodeReferenceConfigurationItem>(_items);
        }
        private void CreateCollection()
        {
            Contract.Ensures(_items != null);
            Contract.Ensures(_changeTracker != null);

            if (_items != null)
            {
                return;
            }

            _items         = new ObservableCollection <SourceFileExclusionFilterConfigurationItem>();
            _changeTracker = new ObservablePropertyChangeTracker <SourceFileExclusionFilterConfigurationItem>(_items);
        }