internal PropertiesI(PropertiesI p) : this() { foreach (KeyValuePair <string, PropertyValue> entry in p._properties) { _properties[entry.Key] = new PropertyValue(entry.Value); } }
internal PropertiesI(PropertiesI p) { _properties = new Hashtable(); foreach(DictionaryEntry entry in p._properties) { _properties[entry.Key] = new PropertyValue((PropertyValue)entry.Value); } }
internal PropertiesI(PropertiesI p) { // // NOTE: we can't just do a shallow copy of the map as the map values // would otherwise be shared between the two PropertiesI object. // //_properties = new Dictionary<string, PropertyValue>(p._properties); _properties = new Dictionary <string, PropertyValue>(); foreach (KeyValuePair <string, PropertyValue> entry in p._properties) { _properties[entry.Key] = new PropertyValue(entry.Value); } }
internal PropertiesI(PropertiesI p) { // // NOTE: we can't just do a shallow copy of the map as the map values // would otherwise be shared between the two PropertiesI object. // //_properties = new Dictionary<string, PropertyValue>(p._properties); _properties = new Dictionary<string, PropertyValue>(); foreach(KeyValuePair<string, PropertyValue> entry in p._properties) { _properties[entry.Key] = new PropertyValue(entry.Value); } }