NAnt.Core.DataTypeBaseDictionary.Inherit C# (CSharp) Method

Inherit() public method

Inherits Properties from an existing property dictionary Instance
public Inherit ( DataTypeBaseDictionary source ) : void
source DataTypeBaseDictionary DataType list to inherit
return void
        public virtual void Inherit(DataTypeBaseDictionary source)
        {
            foreach ( string key in source.Keys ){
                Add( key, source[key] );
                //this[key] = entry.Value;
            }
        }