Exemple #1
0
        public void CopyCustomMetadataTo(BuildItem destinationItem)
        {
            if (destinationItem == null)
            {
                throw new ArgumentNullException("destinationItem");
            }

            foreach (DictionaryEntry de in unevaluatedMetadata)
            {
                destinationItem.AddMetadata((string)de.Key, (string)de.Value);
            }
        }
Exemple #2
0
		public void CopyCustomMetadataTo (BuildItem destinationItem)
		{
			if (destinationItem == null)
				throw new ArgumentNullException ("destinationItem");

			foreach (DictionaryEntry de in unevaluatedMetadata)
				destinationItem.AddMetadata ((string) de.Key, (string) de.Value);
		}