System.Configuration.ConfigurationLockCollection.ConfigurationLockCollection C# (CSharp) Method

ConfigurationLockCollection() private method

private ConfigurationLockCollection ( ConfigurationElement thisElement, ConfigurationLockCollectionType lockType, string ignoreName, ConfigurationLockCollection parentCollection ) : System
thisElement ConfigurationElement
lockType ConfigurationLockCollectionType
ignoreName string
parentCollection ConfigurationLockCollection
return System
        internal ConfigurationLockCollection(ConfigurationElement thisElement, ConfigurationLockCollectionType lockType,
                    string ignoreName, ConfigurationLockCollection parentCollection) {
            _thisElement = thisElement;
            _lockType = lockType;
            internalDictionary = new HybridDictionary();
            internalArraylist = new ArrayList();
            _bModified = false;

            _bExceptionList = _lockType == ConfigurationLockCollectionType.LockedExceptionList ||
                              _lockType == ConfigurationLockCollectionType.LockedElementsExceptionList;
            _ignoreName = ignoreName;

            if (parentCollection != null) {
                foreach (string key in parentCollection) // seed the new collection
                {
                    Add(key, ConfigurationValueFlags.Inherited);  // add the local copy
                    if (_bExceptionList) {
                        if (SeedList.Length != 0)
                            SeedList += ",";
                        SeedList += key;
                    }
                }
            }

        }

Same methods

ConfigurationLockCollection::ConfigurationLockCollection ( ConfigurationElement thisElement ) : System
ConfigurationLockCollection::ConfigurationLockCollection ( ConfigurationElement thisElement, ConfigurationLockCollectionType lockType ) : System
ConfigurationLockCollection::ConfigurationLockCollection ( ConfigurationElement thisElement, ConfigurationLockCollectionType lockType, string ignoreName ) : System