internal void SetConfigurationManager(ConfigurationManager c) { Debug.Assert(c != _owner); _owner = c; NotifyPropertyChanged(); }
internal ConfigurationLayerCollection( ConfigurationManager parent ) { _parent = parent; _layers = new CKObservableSortedArrayKeyList<ConfigurationLayer, string>( e => e.LayerName, ( x, y ) => StringComparer.Ordinal.Compare( x, y ), allowDuplicates: true ); _layers.PropertyChanged += RetrievePropertyEvent; _layers.CollectionChanged += RetrieveCollectionEvent; }
internal ConfigurationLayer(ConfigurationManager owner, string layerName) { _owner = owner; _layerName = String.IsNullOrWhiteSpace(layerName) ? String.Empty : layerName; _configurationItemCollection = new ConfigurationItemCollection(this); }