private void InitializeCollection(IDictionary propertyCollection) {
			foreach(string key in propertyCollection.Keys) {
				var values = (IEnumerable)propertyCollection[key];
				var attributeValueCollection = new AttributeValueCollection(values);
				attributeCollection.Add(key, attributeValueCollection);
			}
		}
Example #2
0
 private void InitializeCollection(IDictionary propertyCollection)
 {
     foreach (string key in propertyCollection.Keys)
     {
         var values = (IEnumerable)propertyCollection[key];
         var attributeValueCollection = new AttributeValueCollection(values);
         attributeCollection.Add(key, attributeValueCollection);
     }
 }